python-jose
Stale since May 2025, no PS256, EdDSA or ML-DSA, and pinned away from pycryptodome’s PQ code; replace it.
- PyPI
python-jose- Version cited
- 3.5.0(28 May 2025); no release since
- Downloads
- 30.6M/mo
Key exchange and encryption
Unknown
JWE not assessed
Signatures and identity
No path yet
No PQ path; stale since 2025
What to do
Remove it. Move to PyJWT ≥2.15.1, joserfc ≥1.8.0 if you need JWE, or jwcrypto ≥1.6.3 for ML-DSA today.
Since 1 Dec 2026 Nothing found as of 3 Dec 2026.
Details
Treat the advisory as a reason to leave python-jose.
- Algorithms. RS, ES and HS only. ES384 and RSA-3072 are possible as a stopgap; there is no PS256, EdDSA or ML-DSA.
- Dependencies. Hard dependencies are
ecdsaandrsa;cryptographyis optional, andpycryptodome<4.0.0comes via an extra (PyPI python-jose 3.5.0, PyPI python-jose). The pin blocks it from pycryptodome 4.x’s ML-DSA, ML-KEM, X-Wing HPKE and SLH-DSA (pycryptodome Changelog, PyPI python-jose 3.5.0). - Pure-Python ECDSA. The default backend is python-ecdsa, which warns it “should not be used in production” and “does not protect against side-channel attacks” (python-ecdsa); the AGY report calls it timing-unsafe.
- Mixed JWKS. The AGY report rates its handling of
AKPkeys “No / Brittle”. - Maintenance. No release since 28 May 2025; the AGY report calls it stalled for 18+ months with no PQC roadmap. Still 30,563,452 downloads in 30 days.
- CVE. The AGY report lists an unpatched CVE-2026-85394 (CVSS 9.1–9.3, DER key to HMAC confusion) AGY.
Unverified. CVE-2026-85394 appears only in the AGY report; the Claude report describes python-jose as stale without mentioning a CVE.
FastAPI’s tutorial used python-jose between PR #1610 and PR #11589, which moved it back to PyJWT. Replacements, per the AGY report: PyJWT (PyJWT >= 2.15.1), joserfc (joserfc >= 1.8.0, for JWE) or jwcrypto (jwcrypto >= 1.6.3, for ML-DSA today).
Full discussion: FastAPI and auth
Sources cited on this page 5
- PyPI python-jose 3.5.0 pypi.org
- PyPI python-jose pypi.org
- pycryptodome Changelog github.com
- PyPI python-jose 3.5.0 pypi.org
- python-ecdsa github.com