Microsoft SharePoint Under Attack: Critical JWT Authentication Flaw Exploited After Rapid7 Releases Public PoC

Listen to this Post

Featured ImageA Dangerous SharePoint Vulnerability Has Crossed a Critical Line

Microsoft SharePoint administrators are facing another serious cybersecurity warning after a critical authentication-bypass vulnerability moved rapidly from public disclosure to observed exploitation. The flaw, tracked as CVE-2026-55040, affects the way SharePoint validates JSON Web Tokens (JWTs) and can allow an unauthenticated attacker to impersonate legitimate SharePoint users—including administrators.

The timing is particularly concerning. Rapid7 published a detailed technical analysis and proof-of-concept exploit for the vulnerability, and threat intelligence monitoring subsequently reported that the public exploit was being used against SharePoint honeypots. The incident demonstrates once again how quickly the gap between vulnerability disclosure and real-world exploitation can disappear.

The vulnerability carries a CVSS score of 9.1, with Microsoft describing it as a critical weakness that can be exploited remotely without authentication. NIST’s vulnerability record confirms that the flaw can allow an unauthorized attacker to bypass a SharePoint security mechanism over the network.

NVD

The Moment a Research Tool Becomes an

Security researchers frequently publish proof-of-concept code to help defenders understand vulnerabilities and verify whether their systems are protected. But there is an uncomfortable reality in modern cybersecurity: the same code created for defenders can often be repurposed by attackers within hours.

That appears to be what happened with CVE-2026-55040.

Rapid7 researcher Stephen Fewer published technical details explaining the SharePoint JWT authentication problem along with proof-of-concept code. Rapid7 itself described the research as part of an investigation into SharePoint vulnerabilities that could ultimately be chained into unauthenticated remote code execution.

LinkedIn

The publication immediately increased the urgency for organizations that had not yet installed Microsoft’s July security updates.

What Exactly Is CVE-2026-55040?

CVE-2026-55040 is an authentication-bypass vulnerability in Microsoft

JWTs are commonly used to represent authentication information between applications and services. When implemented correctly, a server must carefully validate the token’s structure, signature, claims, identity information, and other security properties before trusting it.

A weakness in that validation process can become extremely dangerous.

In this case, Microsoft rates the vulnerability as critical, with a CVSS 3.1 score of 9.1. The vulnerability is network-accessible, requires no privileges, requires no user interaction, and can affect confidentiality and integrity. Availability is not directly affected according to the published scoring information.

NVD

Attackers Can Impersonate SharePoint Users

The most important characteristic of CVE-2026-55040 is that an attacker does not simply crash SharePoint or cause a temporary denial of service.

The flaw can allow the attacker to bypass authentication and operate as an impersonated SharePoint user.

That distinction matters enormously.

If an attacker can impersonate an ordinary user, they may gain access to documents, internal collaboration data, or other information that account is authorized to access.

If the attacker can impersonate a privileged account, the consequences can become considerably more severe.

Why SharePoint Administrators Should Be Worried

SharePoint is not simply a document repository.

In many enterprise environments, it sits at the center of collaboration, document management, workflows, business processes, Microsoft 365 integrations, and sensitive corporate information.

A compromised SharePoint environment can therefore provide attackers with much more than a collection of files.

Documents may contain credentials, configuration information, financial records, customer information, internal communications, intellectual property, scripts, deployment instructions, and other material that can assist subsequent attacks.

This makes authentication bypass vulnerabilities particularly attractive to threat actors.

More Than 8,500 SharePoint Servers Are Exposed

Internet exposure makes the situation even more uncomfortable.

Threat monitoring by Shadowserver has identified more than 8,500 Microsoft SharePoint servers exposed online, according to the original reporting.

That figure does not mean that every exposed system is vulnerable.

Some servers may already be patched, some may belong to honeypots, and others may have additional security controls protecting them.

But the number demonstrates the size of the potential attack surface.

An attacker does not need to compromise thousands of organizations to cause major damage. Finding a handful of vulnerable, poorly protected enterprise environments can already be highly profitable.

Rapid7’s PoC Changed the Threat Equation

Before public exploit code becomes available, attackers often need to reverse-engineer patches, analyze vulnerable functions, develop an exploit, and determine how to reliably reproduce the vulnerability.

Once researchers publish a working PoC, much of that work becomes dramatically easier.

This creates what security teams often describe as a weaponization window.

The vulnerability may have existed for months, but the practical difficulty of exploiting it can change overnight.

That is why organizations should not treat a newly published PoC as merely a research event.

For defenders, it can represent the beginning of a much more dangerous phase.

Honeypots Showed Early Signs of Weaponization

Threat intelligence company Defused reported that

That is a significant development because honeypots are specifically designed to attract or observe malicious activity.

The observation does not automatically prove that every SharePoint attack in the wild is using the same exploit, nor does it mean that every exposed server has been compromised.

However, it is an important warning that public exploit code is already being tested by hostile infrastructure.

Microsoft Had Already Warned About the Risk

Microsoft had patched CVE-2026-55040 through its July 2026 security updates and warned customers running affected SharePoint versions to install the fixes.

NIST’s record lists affected versions of SharePoint Enterprise Server 2016, SharePoint Server 2019, and SharePoint Server Subscription Edition, with specific vulnerable build ranges documented in the advisory.

NVD

The lesson is straightforward: organizations that delayed July SharePoint patching are now facing a substantially different threat environment than they were immediately after the original advisory.

CISA Has Also Raised the Alarm

The U.S. Cybersecurity and Infrastructure Security Agency has urged organizations to patch and harden vulnerable SharePoint systems.

CISA’s guidance includes reducing unnecessary Internet exposure, protecting SharePoint administrative interfaces, restricting communications between SharePoint farms and databases to required systems, and placing Internet-facing servers behind application-layer security controls where external access is necessary.

GovDelivery

CISA has also recommended ensuring that Antimalware Scan Interface (AMSI) integration is enabled and properly configured for SharePoint web applications, providing an additional defensive layer against malicious requests.

GovDelivery

Internet-Facing SharePoint Is a High-Priority Asset

One of the most important defensive questions is simple:

Does SharePoint really need to be directly reachable from the public Internet?

If the answer is no, removing that exposure can dramatically reduce the attack surface.

Internet exposure turns a vulnerability into a remotely accessible opportunity.

A vulnerable internal server may still be dangerous, but an attacker first needs a path into the environment.

A vulnerable public-facing server removes one of those barriers.

Central Administration Should Never Be Casually Exposed

SharePoint Central Administration deserves particular attention.

Administrative interfaces should not normally be treated like ordinary public web services.

Organizations should restrict access to trusted management networks, VPNs, privileged administration workstations, or other controlled locations.

Reducing the number of systems capable of reaching administrative interfaces can limit opportunities for attackers even when another layer of security fails.

The Bigger Problem Is Authentication Trust

CVE-2026-55040 illustrates a fundamental cybersecurity problem: authentication is the gatekeeper for everything that comes afterward.

When an application incorrectly decides who a user is, every permission check that follows can potentially be built on a false identity.

That makes authentication vulnerabilities fundamentally different from many ordinary application bugs.

A memory corruption flaw may affect one process.

An authentication bypass can undermine the

SharePoint Becomes More Dangerous When Identity Is Compromised

Modern enterprise applications increasingly depend on identity.

Users authenticate once and then interact with dozens of services.

Permissions are assigned based on identity.

Documents are protected based on identity.

Administrative actions are authorized based on identity.

Audit records are generated based on identity.

If an attacker can manipulate that identity layer, they may be able to bypass controls that would otherwise appear to be working correctly.

That is why CVE-2026-55040 deserves more attention than its technical description might initially suggest.

The Related SharePoint Vulnerability Is Also Serious

CVE-2026-55040 is not the only SharePoint vulnerability organizations should be watching.

Another SharePoint vulnerability, CVE-2026-45659, involves deserialization of untrusted data and can allow a low-privileged authenticated attacker to execute code remotely.

NIST records the vulnerability as CVSS 8.8 and confirms that it has been added to CISA’s Known Exploited Vulnerabilities catalog.

NVD

Canadian cybersecurity authorities have also confirmed active exploitation of CVE-2026-45659.

Canadian Centre for Cyber Security

Why CVE-2026-45659 Matters to This Story

The two vulnerabilities demonstrate a broader trend around SharePoint security.

Attackers are not necessarily looking for a single magical vulnerability.

They can combine authentication weaknesses, privilege escalation, deserialization bugs, exposed services, stolen credentials, and post-exploitation techniques.

A vulnerability that appears to provide only unauthorized access can become much more dangerous when combined with another weakness.

That is precisely why SharePoint defenders should approach security as an attack chain rather than as isolated CVE numbers.

Deep Analysis

Understanding the JWT Authentication Layer

JWT-based authentication normally follows a relatively straightforward concept.

A client presents a token.

The server validates the token.

The server determines the identity represented by the token.

The server checks permissions.

The application then performs the requested operation.

The security of the entire process depends on the validation stage.

If validation can be bypassed, manipulated, or incorrectly interpreted, the application can end up trusting an identity that was never legitimately authenticated.

Simplified JWT Inspection

Security teams can inspect JWT structures during authorized incident response or application testing.

A JWT commonly contains three components:

header.payload.signature

The header describes the token type and signing mechanism.

The payload contains claims.

The signature is intended to protect the token against unauthorized modification.

A decoded token can be inspected with tools such as:

echo '<JWT_TOKEN>' | cut -d '.' -f2 | base64 -d

For safer handling of URL-safe Base64 data, Python can be used:

python3 - <<'PY'
import base64
import json
token = "<JWT_TOKEN>"
payload = token.split(".")[1]
payload += "=" (-len(payload) % 4)

print(json.dumps(

json.loads(base64.urlsafe_b64decode(payload)),

indent=2
))
PY

These commands are intended for authorized defensive analysis of tokens from systems you own or are permitted to investigate.

Checking SharePoint Build Versions

Administrators should verify the installed SharePoint build against Microsoft’s security guidance rather than assuming that a server is patched simply because Windows Update or another management platform reports successful updates.

For Windows-based environments, administrators can begin with:

Get-HotFix | Sort-Object InstalledOn -Descending |

Select-Object -First 20

For SharePoint-specific verification, use

The critical point is to verify the actual SharePoint build, not merely whether a generic operating-system update was installed.

Inspecting Running SharePoint Services

Administrators can also examine SharePoint-related services and processes:

Get-Service | Where-Object {
$_.Name -match "SP|SharePoint"
} | Select-Object Name, Status, StartType

This does not determine whether a system is vulnerable by itself.

It is simply one component of a broader asset-validation process.

Searching Logs for Suspicious Activity

Security teams should investigate authentication anomalies, unexpected administrative activity, unusual requests, unexpected account behavior, and unexplained modifications to SharePoint content.

A basic Windows event-log search can begin with:

Get-WinEvent -LogName Security |
Where-Object {$_.Id -in 4624,4625,4672} |
Select-Object -First 100 TimeCreated, Id, Message

Organizations should correlate these events with SharePoint logs, web-proxy telemetry, firewall records, EDR alerts, and identity-provider logs.

Do Not Depend on a Single IOC

One of the most important lessons from authentication-bypass vulnerabilities is that traditional indicator-based detection can be insufficient.

Attackers may not need a known malicious executable.

They may not need a previously observed IP address.

They may not need a distinctive malware hash.

They can potentially abuse legitimate application functionality after bypassing authentication.

Therefore, defenders should monitor behavior, not merely known indicators.

Look for Identity Anomalies

Potential warning signs include:

Unexpected administrator activity.

Sudden permission changes.

Unusual SharePoint API requests.

Authentication events from unfamiliar infrastructure.

Unexpected access to sensitive document libraries.

New accounts or groups appearing without change records.

Abnormal modifications to SharePoint configuration.

Suspicious access outside normal business hours.

Large-scale document downloads.

Unexpected administrative actions.

None of these events individually proves exploitation.

Together, however, they can form a meaningful detection signal.

Use Network Segmentation as a Second Line of Defense

Patching is the primary response.

Network segmentation is the backup.

If an attacker manages to compromise a SharePoint server, segmentation can limit what that server can communicate with.

Database servers should not be reachable from everywhere.

Administrative interfaces should not be universally accessible.

Management systems should be isolated.

Outbound connectivity should be carefully controlled.

The objective is simple: make compromise less useful.

Protect SharePoint Behind Application-Layer Controls

For SharePoint systems that genuinely require Internet exposure, organizations should consider reverse proxies, WAFs, access gateways, and other application-layer security controls.

CISA specifically recommends placing Internet-exposed SharePoint servers behind a Layer 7 reverse proxy or similar application-layer security control where exposure is necessary.

GovDelivery

Such controls should not be treated as replacements for patching.

They are additional barriers.

Enable AMSI Protection

AMSI integration provides another defensive layer for SharePoint environments.

CISA’s current guidance specifically recommends verifying AMSI integration and, where feasible, using Full Mode request-body scanning.

GovDelivery

This is particularly important because modern exploitation can involve malicious request content that traditional network controls may not fully understand.

Assume Exposure Before Assuming Safety

If an Internet-facing SharePoint server was vulnerable during the period when exploitation was being observed, organizations should not automatically assume that installing the patch means the system was never touched.

Patching stops future exploitation.

It does not erase evidence of previous exploitation.

That distinction is critical during incident response.

Investigate Before Deleting Evidence

If compromise is suspected, administrators should resist the temptation to immediately wipe logs, rebuild servers, or make large unexplained configuration changes.

Preserve relevant evidence first.

Collect SharePoint logs.

Collect Windows event logs.

Collect EDR telemetry.

Record currently running processes.

Capture network connections where appropriate.

Document accounts and permission changes.

Then proceed according to the

The Attack Chain Is the Real Threat

The most dangerous scenario is not necessarily CVE-2026-55040 alone.

The bigger concern is a chain:

Internet exposure

Authentication bypass

User impersonation

Unauthorized SharePoint access

Privilege escalation / additional exploit

Data theft or persistence

Lateral movement

Potential ransomware or broader compromise

This is why vulnerability management must be connected to identity security, endpoint detection, network segmentation, and incident response.

What Undercode Say:

1. The PoC Changes Everything

A vulnerability becomes considerably more dangerous when reliable public exploitation code appears.

2. SharePoint Is a High-Value Target

Attackers know that enterprise SharePoint deployments frequently contain valuable business information.

3. Authentication Bypass Is Especially Serious

An attacker who defeats authentication can potentially bypass security controls designed to protect the application.

4. Public Exposure Multiplies Risk

An Internet-facing vulnerable server can be discovered and attacked without requiring an initial foothold inside the organization.

5. Patching Is No Longer Optional

Once exploitation begins, delaying a critical security update becomes increasingly difficult to justify.

  1. A Successful Patch Does Not Prove No Attack Occurred

Organizations should investigate potentially exposed systems rather than treating patch installation as proof of safety.

7. Administrators Should Review SharePoint Architecture

The vulnerability is also an opportunity to question whether every SharePoint endpoint really needs Internet access.

8. Central Administration Requires Strong Isolation

Administrative interfaces should be accessible only from trusted management locations wherever possible.

9. Identity Is Becoming the Primary Battlefield

Modern attacks increasingly focus on authentication, session management, tokens, credentials, and permissions.

10. JWT Security Must Be Treated Seriously

A token should never be trusted merely because it looks structurally correct.

11. Defense in Depth Matters

Patching, segmentation, WAFs, EDR, logging, identity monitoring, and least privilege should work together.

12. SharePoint Attacks Can Become Enterprise Attacks

A compromised collaboration platform can provide information that helps attackers move deeper into an organization.

13. Data Theft May Come Before Ransomware

Attackers may first collect sensitive documents before deploying disruptive malware.

14. Privileged Impersonation Is Particularly Dangerous

If administrative identities can be impersonated, the attacker may gain access to highly sensitive operations.

15. Public PoCs Reduce Attacker Development Costs

Threat actors can reuse research instead of independently discovering every technical detail.

16. Honeypot Activity Is an Early Warning

Attack traffic against deliberately exposed systems can reveal that attackers are testing the newly available exploit.

17. Security Teams Should Increase Monitoring

Critical vulnerabilities with public PoCs deserve enhanced telemetry and investigation.

18. Vulnerability Scanners Are Not Enough

A scanner can tell you that a build is vulnerable, but it cannot always tell you whether an attacker already used the weakness.

19. Incident Response Must Follow Patch Management

These two processes cannot remain isolated.

20. Exposure Time Matters

Every additional hour a vulnerable public server remains reachable can increase the opportunity for exploitation.

  1. SharePoint Should Be Treated as Critical Infrastructure Inside the Enterprise

Even when it is not legally classified as critical infrastructure, the data stored inside it may be business-critical.

22. Least Privilege Remains Important

Limiting permissions reduces the potential damage caused by compromised identities.

23. Segmentation Can Contain the Blast Radius

A compromised application server should not automatically provide unrestricted access to databases and internal systems.

24. Outbound Traffic Deserves Attention

Attackers frequently need outbound connectivity for command-and-control, data theft, or downloading additional tools.

25. Logs Should Be Centralized

If attackers compromise the SharePoint server itself, locally stored evidence may be altered or deleted.

  1. Identity Logs Can Become More Valuable Than Malware Hashes

An attacker abusing legitimate SharePoint functionality may not leave behind conventional malware indicators.

27. Behavioral Detection Is Becoming Essential

Defenders need to identify abnormal actions, not simply known malicious files.

28. Security Teams Should Review Old Accounts

Unused privileged accounts can make identity-based exploitation substantially more damaging.

29. Service Accounts Need Special Attention

Poorly protected service identities can become valuable targets after initial compromise.

  1. SharePoint Should Not Be Forgotten After Patch Tuesday

Administrators sometimes prioritize endpoint updates while overlooking specialized enterprise servers.

  1. CVE Numbers Alone Do Not Explain Risk

A vulnerability’s real-world impact depends on exposure, exploitability, privileges, data sensitivity, and attack chaining.

32. CVE-2026-55040 Demonstrates This Perfectly

Its technical description is relatively short, but its practical implications are much larger.

33. CVE-2026-45659 Shows the Same Pattern

Another SharePoint vulnerability has already reached

NVD

+1

34. Attackers Are Watching Security Research

Every major public disclosure can become a new source of offensive capability.

  1. Defenders Must Move at the Same Speed

A patch that is available but not deployed provides little protection.

36. Security Teams Need Asset Visibility

You cannot patch a SharePoint server you do not know exists.

37. Shadow IT Creates Additional Risk

Old or forgotten SharePoint installations may remain exposed long after administrators assume they have been retired.

38. Backups Still Matter

Even when authentication bypass is the initial attack vector, resilient backups can reduce the consequences of destructive follow-on activity.

  1. The Real Goal Is Not Perfect Prevention

The objective is to make exploitation difficult, detect it quickly, contain it, and recover reliably.

  1. SharePoint Administrators Should Act Before the Next Exploit Arrives

CVE-2026-55040 is a warning that the window between disclosure and exploitation can be extremely short.

✅ CVE-2026-55040 Is a Critical SharePoint Vulnerability

Confirmed. NIST records CVE-2026-55040 with

NVD

✅ The Vulnerability Involves Authentication

Confirmed. The vulnerability is associated with weak authentication in Microsoft SharePoint, and reporting around the disclosure identifies weaknesses in JWT token validation.

NVD

+1

✅ Public Exploit Research Was Released

Confirmed. Rapid7 publicly disclosed CVE-2026-55040 and published research concerning the SharePoint vulnerability. Rapid7 also described the broader research as involving vulnerabilities that could be chained toward unauthenticated remote code execution.

LinkedIn

✅ SharePoint Is Facing Multiple Actively Exploited Vulnerabilities

Confirmed. CVE-2026-45659 is documented by NIST and has been added to CISA’s Known Exploited Vulnerabilities catalog. Canadian cybersecurity authorities also reported active exploitation.

NVD

+1

⚠️ Exploitation Claims Require Careful Interpretation

The observation of exploit activity against honeypots is a strong warning sign, but honeypot exploitation should not automatically be interpreted as evidence that every vulnerable SharePoint deployment has been compromised.

Organizations should therefore combine threat-intelligence reports with their own logs, endpoint telemetry, network data, and incident-response investigations.

Prediction

(+1) SharePoint Security Will Become an Even Bigger Enterprise Priority

The most likely positive development is that organizations will respond to this incident by reducing unnecessary SharePoint exposure, accelerating patch deployment, strengthening administrative access controls, and improving monitoring around authentication events.

CVE-2026-55040 could ultimately push enterprises toward a more mature security model in which Internet-facing collaboration servers are treated as high-value assets rather than ordinary business applications.

(+1) Identity-Based Detection Will Become More Important

Security teams are likely to place greater emphasis on abnormal identity behavior, token usage, privilege changes, and suspicious access patterns.

This is an important evolution because attackers increasingly attempt to operate through legitimate application functionality instead of relying exclusively on conventional malware.

(-1) Unpatched SharePoint Servers Will Remain Attractive Targets

The negative prediction is that vulnerable and Internet-facing SharePoint servers will continue to attract scanning and exploitation attempts as long as public exploit information remains available.

Organizations that postpone remediation could face increasing pressure from automated attacks, opportunistic threat actors, and potentially more sophisticated campaigns.

(-1) Exploit Chaining Could Increase the Damage

The biggest long-term concern is not necessarily CVE-2026-55040 by itself.

If attackers combine authentication bypass with additional SharePoint vulnerabilities, stolen credentials, privilege escalation, or post-exploitation techniques, an initially limited compromise could develop into a much larger enterprise intrusion.

The Final Warning

CVE-2026-55040 is another reminder that cybersecurity timelines have changed.

A vulnerability can be disclosed, analyzed, patched, weaponized, and attacked in an extraordinarily short period.

For SharePoint administrators, the correct response is not to wait for a dramatic breach report.

It is to verify the affected versions, install Microsoft’s security updates, reduce unnecessary Internet exposure, protect administrative interfaces, enable the recommended security controls, review logs for suspicious activity, and investigate potentially exposed systems.

The most dangerous SharePoint server is not necessarily the one that is vulnerable today.

It is the one that the organization

🕵️‍📝Let’s dive deep and fact‑check.

🎓 Live Courses & Certifications:

Join Undercode Academy for Verified Certifications

🚀 Request a Custom Project:

Secure, high-velocity infrastructure and disruptive technological engineering. Contact our engineering team for high-tier development and proprietary systems:
[email protected]
💎 Smart Architecture | 🛡️ Secure by Design | ⭐ Trusted by Thousands

References:

Reported By: www.bleepingcomputer.com
Extra Source Hub (Possible Sources for article):
https://www.reddit.com/r/AskReddit
Wikipedia
OpenAi & Undercode AI

Image Source:

Unsplash
Undercode AI DI v2

🔐JOIN OUR CYBER WORLD [ CVE News • HackMonitor • UndercodeNews ]

💬 Whatsapp | 💬 Telegram

📢 Follow UndercodeNews & Stay Tuned:

𝕏 formerly Twitter 🐦 | @ Threads | 🔗 Linkedin | 🦋BlueSky | 🐘Mastodon | 📺Youtube