Cryptographic issues in Python oic
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-347.
Summary
Python oic is a Python OpenID Connect implementation. In Python oic before version 1.2.1, there are several related cryptographic issues affecting client implementations that use the library. The issues are: 1) The IdToken signature algorithm was not checked automatically, but only if the expected algorithm was passed in as a kwarg. 2) JWA `none` algorithm was allowed in all flows. 3) oic.consumer.Consumer.parse_authz returns an unverified IdToken. The verification of the token was left to the discretion of the implementator. 4) iat claim was not checked for sanity (i.e. it could be in the future). These issues are patched in version 1.2.1.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| OpenIDC | pyoidc | before 1.2.1 | 1.2.1 | Patch available | CNA |
| — | oic (PyPI) | before 1.2.1 | 1.2.1 | Patch available | GHSA-4fjv-pmhg-3rfg |
- pyoidc VendorOpenIDC Affected before 1.2.1 Fixed in 1.2.1 Patch available CNA
- oic (PyPI) Vendor— Affected before 1.2.1 Fixed in 1.2.1 Patch available GHSA-4fjv-pmhg-3rfg
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:python_openid_connect_project:python_openid_connect:*:*:*:*:*:*:*:* | before 1.2.1 | Vulnerable | Python Openid Connect Project |
- cpe:2.3:a:python_openid_connect_project:python_openid_connect:*:*:*:*:*:*:*:* Versions before 1.2.1 Vulnerable ·Python Openid Connect Project
Remediation
- Fix · CNA pyoidc (OpenIDC) Fixed in 1.2.1
- Fix · GHSA-4fjv-pmhg-3rfg oic (PyPI) Fixed in 1.2.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2020-26244
- 2026-10-03 Alias added: GHSA-4fjv-pmhg-3rfg
References
Advisory 4
More OpenIDC vulnerabilities
- TI-2026-38908 OpenIDC/cjose uses all-zero Content Encryption Key for AES-CBC-HMAC JWE encryption CVSS 3.1CRITICAL 9.1
- TI-2024-16331 Denial of service when manipulating mod_auth_openidc_session_chunks cookie in mod_auth_openidc CVSS 3.1HIGH 7.5
- TI-2023-19073 Incorrect Authentication Tag length usage in AES GCM decryption in OpenIDC/cjose CVSS 3.1HIGH 8.6
- TI-2017-04220 The "OpenID Connect Relying Party and OAuth 2.0 Resource Server" (aka mod_auth_openidc)… CVSS 3.0HIGH 8.6
- TI-2017-03971 The "OpenID Connect Relying Party and OAuth 2.0 Resource Server" (aka mod_auth_openidc)… CVSS 3.0HIGH 8.6
- TI-2025-22673 mod_auth_openidc allows OIDCProviderAuthRequestMethod POSTs to leak protected data CVSS 4.0HIGH 8.2
Sources
- CVE-2020-26244 · CVE Program
- CVE-2020-26244 · NVD
- FIRST EPSS
- GHSA-4fjv-pmhg-3rfg · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences