Skip to content

chore(deps): bump pyjwt >= 2.12.0 to fix CVE-2026-32597#6250

Closed
patelchaitany wants to merge 1 commit intofeast-dev:masterfrom
patelchaitany:fix/CVE-2026-32597-pyjwt
Closed

chore(deps): bump pyjwt >= 2.12.0 to fix CVE-2026-32597#6250
patelchaitany wants to merge 1 commit intofeast-dev:masterfrom
patelchaitany:fix/CVE-2026-32597-pyjwt

Conversation

@patelchaitany
Copy link
Copy Markdown
Contributor

@patelchaitany patelchaitany commented Apr 9, 2026

Fix CVE-2026-32597 by adding a hard lower bound pyjwt>=2.12.0 in pyproject.toml.
PyJWT < 2.12.0 does not validate the crit (Critical) Header Parameter defined in RFC 7515 §4.1.11. Tokens with unknown crit extensions are accepted instead of rejected.
The lock files already resolved to 2.12.1, but the constraint in pyproject.toml was unpinned ("pyjwt"), meaning a bare pip install feast could theoretically resolve to a vulnerable version. This adds the floor to prevent that.
Regenerated all 15 lock files via make lock-python-dependencies-all.


Open with Devin

Signed-off-by: Chaitany patel <patelchaitany93@gmail.com>
@patelchaitany patelchaitany requested a review from a team as a code owner April 9, 2026 05:56
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@ntkathole
Copy link
Copy Markdown
Member

@patelchaitany pyjwt is already pinned at 2.12.1, so I think this CVE is already fixed ? https://github.com/feast-dev/feast/blob/master/sdk/python/requirements/py3.12-requirements.txt#L986

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants