CVE details
CVE-2026-85394
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.
Matched ports (1)
| Port | Package | Version | Status | Maintainer |
|---|---|---|---|---|
| security/py-python-jose | py312-python-jose | 3.5.0 | unaddressed | sunpoet@FreeBSD.org |
Template for a VuXML entry
Range taken from the CVE record, check it before committing. make newentry in security/vuxml creates the vid.
<vuln vid="FIXME (make newentry)">
<topic>FIXME -- FIXME</topic>
<affects>
<package>
<name>py312-python-jose</name>
<range><lt>FIXME</lt></range>
</package>
</affects>
<description>
<body xmlns="http://www.w3.org/1999/xhtml">
<p>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.</p>
</body>
</description>
<references>
<cvename>CVE-2026-85394</cvename>
<url>https://nvd.nist.gov/vuln/detail/CVE-2026-85394</url>
</references>
<dates>
<discovery>2026-09-03</discovery>
<entry>2026-10-26</entry>
</dates>
</vuln>