GHSA-3qf3-8w2g-rqmx

Suggest an improvement
Source
https://github.com/advisories/GHSA-3qf3-8w2g-rqmx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-3qf3-8w2g-rqmx/GHSA-3qf3-8w2g-rqmx.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-3qf3-8w2g-rqmx
Aliases
Published
2026-09-03T21:31:15Z
Modified
2026-10-05T23:25:45Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
  • 9.3 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
python-jose algorithm confusion guard bypassed by DER-encoded public keys
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-347"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-10-05T22:55:01Z",
    "nvd_published_at":  "2026-09-03T19:17:31Z",
    "severity":  "CRITICAL"
}
References

Affected packages

PyPI / python-jose

Package

Name
python-jose
View open source insights on deps.dev
Purl
pkg:pypi/python-jose

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
3.5.0

Affected versions

0.*
0.1.0
0.1.1
0.1.2
0.1.3
0.1.4
0.1.5
0.1.6
0.1.7
0.1.8
0.2.0
0.3.0
0.4.0
0.5.0
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.6.1
0.6.2
0.7.0
1.*
1.0.0
1.1.0
1.2.0
1.3.0
1.3.1
1.3.2
1.4.0
2.*
2.0.0
2.0.1
2.0.2
3.*
3.0.0
3.0.1
3.1.0
3.2.0
3.3.0
3.4.0
3.5.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-3qf3-8w2g-rqmx/GHSA-3qf3-8w2g-rqmx.json"