-
Notifications
You must be signed in to change notification settings - Fork 26
fix(deps): update dependency pyjwt to v2.12.0 [security] #589
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,7 +12,7 @@ dependencies = [ | |
| "httpx~=0.28.1", | ||
| "pydantic>=2.10.4", | ||
| "pyjwt>=2.10.0 ; python_full_version >= '3.9'", | ||
| "pyjwt>=2.9.0,<2.10 ; python_full_version == '3.8.*'", | ||
| "pyjwt>=2.12,<2.13; python_full_version == '3.8.*'", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. PyJWT 2.12 does not support Python 3.8 The original Running Since the CVE fix is only available in 2.12.x which requires Python 3.9+, the project must choose between:
Comment on lines
14
to
+15
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The
Both versions are vulnerable to CVE-2026-32597. Anyone running The The lock file must be regenerated ( |
||
| ] | ||
|
|
||
| [project.urls] | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Python 3.9+ lower bound still allows vulnerable versions
The Python 3.9+ specifier
>=2.10.0was not tightened to>=2.12.0. While a fresh lock file regeneration would likely resolve to 2.12.0, the loose lower bound means a user performing an unconstrained install (e.g., without the lock file, or in a mixed environment) could still receive PyJWT 2.10.x or 2.11.x — both of which are vulnerable to CVE-2026-32597.Consider tightening this to
>=2.12.0to close this gap: