OESA-2026-4387

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2026-4387
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2026-4387.json
JSON Data
https://api.osv.dev/v1/vulns/OESA-2026-4387
Upstream
CVE (3)
Published
2026-10-16T12:00:03Z
Modified
2026-10-16T12:15:14Z
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
Summary
python-jwt security update
Details

setup.py test %endif

Security Fix(es):

PyJWT is a Python implementation of JSON Web Token standards. Prior to 2.14.0, PyJWT PyJWKClient is affected because redirect destinations are not revalidated against the JWKS trust boundary. This occurs when a configured trusted JWKS endpoint returns an attacker-influenced redirect. As a result, PyJWKClient follows the redirect and consumes the redirected response as key material. Consequently, forwarded credentials may be disclosed or verification keys may be substituted. This issue is fixed in version 2.14.0.(CVE-2026-102267)

PyJWT is a Python implementation of JSON Web Token standards. Prior to 2.14.0, is_pem_format in jwt/utils.py is affected because is_pem_format does not recognize every PEM representation accepted by the cryptography loader. This occurs when an application mixes HMAC and asymmetric algorithms and supplies a mutated public-key PEM as raw key bytes. As a result, HMACAlgorithm.prepare_key treats the unrecognized asymmetric public key as an HMAC secret. Consequently, an attacker who knows the public key can forge authenticated HMAC tokens. This issue is fixed in version 2.14.0.(CVE-2026-102268)

PyJWT is a Python implementation of JSON Web Token standards. From 2.4.0 until 2.14.0, PyJWT HMACAlgorithm.prepare_key is affected because asymmetric-key guard relies on textual markers that are absent from DER encoding. This occurs when an application mixes HMAC and asymmetric algorithms and supplies a DER public key as the shared verification key. As a result, PyJWT uses public DER bytes as an HMAC secret. Consequently, an attacker who knows the public key can forge authenticated HMAC tokens. This issue is fixed in version 2.14.0.(CVE-2026-102271)

Database specific
{
    "severity":  "Critical"
}
References

Affected packages

openEuler:24.03-LTS-SP1 / python-jwt

Package

Name
python-jwt
Purl
pkg:rpm/openEuler/python-jwt&distro=openEuler-24.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.8.0-6.oe2403sp1

Ecosystem specific

{
    "noarch":  [
        "python-jwt-help-2.8.0-6.oe2403sp1.noarch.rpm",
        "python3-jwt-2.8.0-6.oe2403sp1.noarch.rpm"
    ],
    "src":  [
        "python-jwt-2.8.0-6.oe2403sp1.src.rpm"
    ]
}

Database specific

source
"https://repo.openeuler.org/security/data/osv/OESA-2026-4387.json"