{
"article": {
"title": "CVE‑2026‑55040: SharePoint JWT Bypass Exploited in the Wild",
"body_markdown": "🚨 Summary: The newly disclosed CVE-2026-55040 flaw in Microsoft SharePoint allows unauthenticated attackers to bypass authentication and perform arbitrary operations on any affected site. 🚀\n\n## Threat Overview\n🔍 The vulnerability, scoring a CVSS base of 9.1, is already being actively exploited across multiple regions.\n\n## Technical Background\n🛠️ The root cause lies in the JWT token validation chain used for service‑to‑service communication within SharePoint. 🧩 Two internal handler classes incorrectly parse the outer header of a JWT, enabling attackers to omit signature verification under certain conditions.\n\n## Exploit Chain Step‑by‑Step\n1️⃣ The attacker crafts a JWT with alg=none in its outer header, effectively removing the requirement for an outer token signature. 2️⃣ An inner actor token is embedded that includes SharePoint’s own STS certificate thumbprint. 🔒 This trick forces SharePoint to resolve a signing key without performing proper verification. 3️⃣ The resolved certificate is not listed in TrustedSecurityTokenServices, allowing the issuer claim to be accepted unquestioned. 4️⃣ The actor token’s signature, which can simply be a non‑empty placeholder like AAAA, is never actually validated, leaving the chain open for injection.\n\n## Proof of Concept\n🧪 A fully functional Python PoC was released by Rapid7 earlier this week. 🐍 It demonstrates how to forge the JWT chain, query a target domain controller, enumerate user SIDs, and automatically identify site administrators. The source code is available at hxxps://githubcom/sfewer-r7/CVE-2026-55040.\n\n
python\nimport jwt\n\n# Simplified example of forging a token with alg=none\npayload = {\"iss\": \"https://sharepoint.example.com\", \"aud\": \"...\"}\ntoken = jwt.encode(payload, key=None, algorithm=\"none\")\nprint(token)\n
\n\n## Active Exploitation Landscape\n📈 Telemetry from KEVIntel shows twelve distinct exploitation attempts logged since the July 2026 Patch Tuesday release. 📅 Eight of those occurred on August 12 and 13, directly following the PoC’s public availability.\n\n### Geographic Distribution Simplified\n- 🌍 HK – Approx. 30% of attempts\n- 🇯🇵 JP – Approx. 20%\n- 🇳🇱 NL – Approx. 15%\n- 🇹🇼 TW – Approx. 10%\n- 🇺🇸 US – Approx. 25%\n\n## Potential Impact\n🗂️ The authentication bypass grants attackers full read/write capabilities across all SharePoint sites on a compromised server, enabling data exfiltration, modification of critical documents, injection of malicious code, and potential pivot to other internal assets.\n\n## Why This Matters\n⚠️ Although the flaw does not affect system availability, its stealthy nature makes detection challenging. ⚡ Developers must understand how legacy JWT handling can leave their services open to bypass attacks.\n\n## Mitigation Steps\n1️⃣ Patch Immediately: Apply the July 2026 security update that Microsoft released for SharePoint. This patch removes the flawed JWT parsing logic and restores proper signature validation. 2️⃣ Isolate Affected Services: If immediate patching is infeasible, place vulnerable instances behind a tighter perimeter by restricting inbound S2S traffic to known IP ranges or enforcing network segmentation. 3️⃣ Disable Legacy Token Support: Where possible, disable legacy JWT support in SharePoint configuration settings to eliminate the attack surface.\n\n## Detection & Monitoring\n🛡️ Security teams should enable detailed flow logs for all SharePoint endpoints. Look specifically for anomalous JWT traffic patterns such as alg=none headers or actor tokens with placeholder signatures.\n- 🔔 Set up alerts for any S2S authentication requests that do not include a valid signature.\n- 🔗 Correlate authentication logs with directory services activity to spot suspicious user enumeration attempts.\n\n## Incident Response Guidance\n1️⃣ Contain: Immediately isolate affected SharePoint servers from the network to prevent lateral movement. 2️⃣ Forensic Analysis: Review JWT logs, identify forged tokens, and verify whether any data was altered or exfiltrated. Check for changes in permission sets or new admin accounts created during the exploitation window.\n\nOnce confirmed, reset all compromised user credentials, revoke any newly issued tokens, and restore systems from trusted backups before re‑integrating them into production.\n\n## Long‑Term Security Posture\n🔒 The CVE-2026
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)