← All CVEs NewScan detects
high

CVE-2026-102268

PyJWT before 2.14.0: is_pem_format does not recognise every PEM representation, so an asymmetric public key reaches HMACAlgorithm.prepare_key as an ordinary secret - anyone holding the published public key can forge a token the library then verifies

Severity
high
Affected product
PyJWT
Affected versions
PyJWT < 2.14.0
Fixed in
PyJWT 2.14.0
Detection basis
Component version range
Shipped rule
PyJWT: PyJWT before 2.14.0: is_pem_format does not recognise every PEM representation, so an asymmetric public key reaches HMACAlgorithm.prepare_key as an ordinary secret - anyone holding the published public key can forge a token the library then verifies
Added to NewScan
2026-09-29
Detected by
NewScan — free, self-hosted

How NewScan reports it

COMPONENT VERSION RANGE

NewScan fingerprints PyJWT from its response and reports this CVE when the detected version falls inside the affected range below.

The same shipped rule and upgrade also cover these identifiers:

References

Scan for this yourself — local, in-band scanning is free.

Get NewScan (FREE) →

Review the measured benchmark, then use the verified remediation process.