Approved changes feed: RSS · Atom

cpe:2.3:a:jpadilla:pyjwt:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorJpadilla (31ec8102-6979-50e9-9f84-a70a2fc592af)
ProductPyjwt (9080ecc9-ab50-5a14-b8d6-5270a74f3864)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*

Notes

Imported from gcve-enriched-dumps CVE data

PURL mappings

PURLSourceLast updated
No PURL mappings for this CPE yet.

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-48526 vulnerable 2026-06-08 08:05:12.287980 PyJWT: Public-key JWK accepted as HMAC secret enables forged HS256 tokens when mixed families are allowed
HIGH (7.4)
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.
Published: 2026-05-28T15:09:09.258Z
Updated: 2026-09-10T12:04:52.909Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-48525 vulnerable 2026-06-08 08:05:12.287861 PyJWT: Unauthenticated DoS via unbounded Base64URL decoding of unused payload segment in b64=false detached JWS
MEDIUM (5.3)
PyJWT is a JSON Web Token implementation in Python. From 2.8.0 to 2.12.1, when verifying detached JWS tokens using the unencoded-payload option ("b64": false, RFC 7797), PyJWT performs Base64URL decoding of the compact-serialization payload segment before enforcing the detached-payload rules. For b64=false, PyJWT later discards that decoded payload and replaces it with the caller-provided detached_payload. In practice, this turns the middle segment into an attacker-controlled “work amplifier”: a remote client can supply an arbitrarily large Base64URL payload segment that forces CPU work + memory allocations even if the signature is invalid. This creates an unauthenticated DoS vector against any endpoint that verifies detached JWS using PyJWT. This vulnerability is fixed in 2.13.0.
Published: 2026-05-28T15:11:12.483Z
Updated: 2026-06-23T15:54:09.003Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-48524 vulnerable 2026-06-08 08:05:12.287640 PyJWT: PyJWKClient unbounded JWKS endpoint requests via attacker-controlled kid values (DoS)
LOW (3.7)
PyJWT is a JSON Web Token implementation in Python. Prior to 2.13.0, PyJWKClient.get_signing_key() forces a fresh HTTP request to the JWKS endpoint for every JWT with an unknown kid value, with no rate limiting. Since kid comes from the unverified token header, an attacker can trigger unlimited outbound requests. The vulnerability surfaces only when a JWKS fetch fails; an attacker can attempt to provoke that with sustained unknown-kid traffic, but the outcome depends on upstream JWKS-endpoint behavior (rate limiting, transient errors) which is beyond the attacker's control. This vulnerability is fixed in 2.13.0.
Published: 2026-05-28T15:07:35.162Z
Updated: 2026-05-28T19:17:11.798Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-48523 vulnerable 2026-06-08 08:05:12.287400 PyJWT: Algorithm allow-list bypass when decoding with `PyJWK` / `PyJWKClient` keys
MEDIUM (5.4)
PyJWT is a JSON Web Token implementation in Python. From 2.9.0 to 2.12.1, there is a verifier-side algorithm allow-list bypass when jwt.decode() or jwt.decode_complete() are called with a PyJWK key. The token header alg is checked against the caller-supplied algorithms allow-list, but signature verification is performed with the algorithm bound to the PyJWK object instead of the header algorithm. An attacker who controls a registered JWK/JWKS private key can sign with a disallowed algorithm, advertise an allowed algorithm in the JWT header, and still be accepted. The issue affects the documented PyJWKClient.get_signing_key_from_jwt(...) flow. This vulnerability is fixed in 2.13.0.
Published: 2026-05-28T15:10:19.141Z
Updated: 2026-05-28T15:27:49.780Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-48522 vulnerable 2026-06-08 08:05:12.287200 PyJWKClient: missing scheme allowlist enables SSRF + token forgery via file://, ftp://, data: schemes
MEDIUM (4.2)
PyJWT is a JSON Web Token implementation in Python. Prior to 2.13.0, PyJWKClient passes its uri argument directly to urllib.request.urlopen() which uses Python stdlib's default OpenerDirector registering HTTPHandler, HTTPSHandler, FTPHandler, FileHandler, and DataHandler. There is currently no documented option to restrict which schemes PyJWKClient will fetch. If an application's jku URL ingestion path accepts attacker-influenced URLs (e.g., from JWT header, configuration file, OAuth flow parameter), the attacker can cause PyJWKClient to read arbitrary local files via file:// (SSRF on local filesystem), cause PyJWKClient to attempt FTP / data-URI fetches (broader SSRF surface), or forge tokens that PyJWT verifies as valid. The library does not directly return non-HTTP(S) URI contents to the attacker; the chained "plant a JWKS to forge tokens" scenario described in the original report requires additional application-layer flaws (attacker write access to a filesystem path, untrusted jku derivation) that this fix does not address. This vulnerability is fixed in 2.13.0.
Published: 2026-05-28T15:00:30.186Z
Updated: 2026-06-02T15:47:49.649Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-32597 vulnerable 2026-06-08 07:57:17.731963 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-53861 vulnerable 2026-06-08 06:54:15.643419 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-29217 vulnerable 2026-06-08 05:42:47.357989 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.