NIXPKGS-2026-1799
GitHub issue
published on
Permalink
CVE-2026-48526
7.4 HIGH
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): High (H)
- Privileges Required (PR): None (N)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): High (H)
- Integrity (I): High (H)
- Availability (A): None (N)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): High (H)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): High (H)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): High (H)
- Modified Availability (MA): None (N)
by @LeSuisse Activity log
- Created suggestion
- @LeSuisse accepted
- @LeSuisse published on GitHub
PyJWT: Public-key JWK accepted as HMAC secret enables forged HS256 tokens when mixed families are allowed
PyJWT is a JSON Web Token implementation in Python. Prior to 2.13.0, when the verifier is decoding JSON Web Tokens, while supporting both asymmetric and HMAC algorithms, the library does not validate use of JSON Web Keys in HMAC algorithm, allowing attacker to use the issuer public key as the secret key for HMAC algorithm. This vulnerability is fixed in 2.13.0.
References
-
https://github.com/jpadilla/pyjwt/security/advisories/GHSA-xgmm-8j9v-c9wx x_refsource_CONFIRM
Affected products
pyjwt
- ==< 2.13.0
Matching in nixpkgs
pkgs.python312Packages.pyjwt
JSON Web Token implementation in Python
pkgs.python313Packages.pyjwt
JSON Web Token implementation in Python
pkgs.python314Packages.pyjwt
JSON Web Token implementation in Python
Package maintainers
-
@prikhi Pavan Rikhi <pavan.rikhi@gmail.com>