Bug 2546041

Summary: CVE-2026-85394 python-joserfc: python-jose through 3.5.0 Algorithm Confusion via DER-encoded Public Key as HMAC Secret [fedora-all]
Product: [Fedora] Fedora Reporter: aedmond
Component: python-joserfcAssignee: Chih-Tao Lee <chihlee>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: chihlee
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["4d56151c-5976-4fe2-942e-1febb3a26c51"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-10-08 19:34:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2528187    

Description aedmond 2026-10-05 18:32:07 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

python-jose through 3.5.0 fails to properly validate asymmetric keys in HMAC initialization, accepting DER-encoded public keys that lack PEM armor or SSH prefixes. Attackers holding the service's public key can forge HS256 tokens that pass verification when algorithms are not explicitly restricted. This is an incomplete fix for CVE-2024-33663.

Comment 1 Chih-Tao Lee 2026-10-08 19:34:19 UTC
Closing as NOTABUG. CVE-2024-33664 applies specifically to the legacy python-jose library. python-joserfc is a completely separate codebase developed under the Authlib organization and does not share any code or architecture with python-jose.