Security mailing lists by PureSourceCode

CVE-2026-101918

HIGH 7.5CVSS 3.1

PyJWT: Unauthenticated RecursionError DoS in pre-verification payload parse (PyJWKClient.get_signing_key_from_jwt / verify_signature=False)

PyJWT is a Python implementation of JSON Web Token standards. From 2.0.0a1 until 2.15.0, PyJWT PyJWKClient.get_signing_key_from_jwt is affected because payload parser catches ValueError but not RecursionError. This occurs when an attacker-controlled recursively nested payload reaches json.loads. As a result, documented PyJWT exception handling does not contain the failure. Consequently, an unauthenticated request can raise an exception that may produce an HTTP 500 response. The advisory-defined affected implementation also includes jwt/api_jwt.py, verify_signature=False. This issue is fixed in version 2.15.0.

Published
28 Sep 2026
Last modified
7 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-248
Also known as
GHSA-42vr-xj54-vc7vPYSEC-2026-4141
Sources
NVDJSONOSV GHSA-42vr-xj54-vc7vJSONOSV PYSEC-2026-4141JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
OSV PyPA CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD pyjwt_project pyjwt
cpe:2.3:a:pyjwt_project:pyjwt:*:*:*:*:*:*:*:*
>= 2.0.0, < 2.15.0 2.15.0
OSV PyPI pyjwt >= 2.0.0a1, < 2.15.0 2.15.0

References

History

  • 25 Nov 2026 21:21 UTC · NVD: first stored (published 28 Sep 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 1 Oct 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 30 Sep 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.