RevocationEndpoint · Oauthlib : Unsafe JSONP callback injection
Affects ggshieldSource GCVE Database
Not known to be exploited · CVSS 6.1 Medium : upgrade to 1.57.0 when convenient.
Data as of 26 Nov 2026, 21:22 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 8% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.57.0, 4.0.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 30 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.
What to do
Upgrade ggshield to 1.57.0; oauthlib to 4.0.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewggshieldpkg:brew/ggshieldOther threats | Affected
| Fixed in
|
PyPIoauthlibpkg:pypi/oauthlibOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in oauthlib version 1.57.0 that fixes this vulnerability. Users should upgrade to version 1.57.0 or later. If upgrading is not immediately possible, disabling JSONP support by not setting enable_jsonp or setting it to False will mitigate the issue. Avoid using the JSONP revocation feature unless necessary, and ensure that any callback parameters are validated to be safe JavaScript identifiers before use.
Description
Oauthlib's RevocationEndpoint has a vulnerability when JSONP support is enabled via enable_jsonp=True. The endpoint reflects the user-supplied callback parameter directly into JavaScript responses without validating it as a safe JSONP callback name. This allows attackers who can influence the callback parameter to inject arbitrary JavaScript code into the response, leading to potential script injection in client applications that consume the endpoint as JSONP. The vulnerability affects oauthlib versions from 1.19.1 up to but not including 1.57.0. A fix is available in version 1.57.0.
References
- github.com/oauthlib/oauthlib/security/advisories/GHSA-hj66-6f7g-4r5v (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-49264 (opens in a new tab)
- github.com/oauthlib/oauthlib/pull/951 (opens in a new tab)
- github.com/oauthlib/oauthlib/commit/c888359f3c42bec235b2c5caab2069c9ed62457c (opens in a new tab)
- github.com/oauthlib/oauthlib (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/oauthlib/PYSEC-2026-4113.yaml (opens in a new tab)