← Vulnerability feed

Vulnerability record · CVE-2025-49704 · published 8 July 2025

CVE-2025-49704: Microsoft SharePoint Server code injection enables remote code execution

Microsoft · Sharepoint Server

Microsoft SharePoint Server contains a code injection flaw (CWE-94) that lets an authorized attacker execute code over the network. It is listed in CISA KEV with a one-day remediation deadline and is tied to known ransomware use, so it is a high-urgency target for defenders.

8.8 CVSS 3.1 High CISA KEV since 22 Jul 2025 Known ransomware use EPSS 100% · top 0.1% CWE-94 · Code injection
8.8CVSS 3.1 base score
100%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
1Affected product versions listed by NVD
3References
17 Jun 2026Last modified by NVD

Description

Improper control of generation of code ('code injection') in Microsoft Office SharePoint allows an authorized attacker to execute code over a network.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 16 September 2026. Confidence: high.

critical priorityIt is in CISA KEV with known ransomware use, a near-maximum EPSS score, and a one-day federal remediation deadline.

What it is

Microsoft SharePoint Server contains a code injection flaw (CWE-94) that lets an authorized attacker execute code over the network. It is listed in CISA KEV with a one-day remediation deadline and is tied to known ransomware use, so it is a high-urgency target for defenders.

Impact

An authenticated attacker can run arbitrary code on the SharePoint server, gaining high confidentiality, integrity and availability impact. This can lead to full server compromise and use as a foothold for ransomware or lateral movement.

Attack surface

Reachable over the network via the SharePoint web interface (AV:N) with low attack complexity and no user interaction. The attacker must be authorized (PR:L), so valid credentials or an authenticated session are required.

Exploitation

CISA KEV lists it as actively exploited with known ransomware campaign use, and EPSS is near 1.0 (0.99995, 99.988th percentile). Microsoft published a security blog on disrupting active exploitation of on-premises SharePoint vulnerabilities.

What to do

  • Apply the Microsoft security update for SharePoint Server immediately; prioritize internet-facing instances.
  • For unsupported or EOL/EOS versions (SharePoint Server 2013 and earlier), disconnect them from public-facing exposure as directed by CISA.
  • Follow CISA and Microsoft mitigation guidance for supported versions that cannot be patched immediately.
  • Restrict and monitor authenticated access to SharePoint, and review accounts with elevated privileges.
  • Adhere to BOD 22-01 guidance for cloud services or discontinue use if mitigations are unavailable.

Detection

  • Hunt for unexpected w3wp.exe or SharePoint worker process spawning of cmd.exe, powershell.exe or other child processes.
  • Monitor SharePoint logs and IIS logs for anomalous authenticated requests or code-injection patterns.
  • Alert on new or modified files in SharePoint web directories and on suspicious outbound connections from SharePoint servers.
  • Correlate authentication events with process creation on SharePoint hosts to spot post-exploitation activity.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2025-49704 to the Known Exploited Vulnerabilities catalog on 22 July 2025 as "Microsoft SharePoint Code Injection Vulnerability". CISA reports known use in ransomware campaigns. Required action: Disconnect public-facing versions of SharePoint Server that have reached their end-of-life (EOL) or end-of-service (EOS) to include SharePoint Server 2013 and earlier versions. For supported versions, please follow the mitigations according to CISA (URL listed below in Notes) and vendor instructions (URL listed below in Notes). Adhere to the applicable BOD 22-01 guidance for cloud services or discontinue use of the product if mitigations are not available. Federal deadline 23 July 2025.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2025-49704 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2026-58644Microsoft SharePoint deserialization flaw allows remote code executionMicrosoft SharePoint Server deserializes untrusted data, letting an unauthenticated network attacker execute code. The flaw is rated CVSS 9.8 critica…KEVEPSS 16%analysed9.8CVE-2026-56164Microsoft SharePoint Server missing authentication allows privilege elevationMicrosoft Office SharePoint Server contains a missing authentication flaw in a critical function (CWE-306), letting an unauthenticated attacker reach…KEVEPSS 1.0%analysed9.8CVE-2026-50522Microsoft SharePoint deserialization flaw allows remote code executionMicrosoft SharePoint Server deserializes untrusted data, letting an unauthorized attacker run code over the network. The flaw is remotely reachable w…KEVEPSS 3.0%analysed9.8CVE-2026-20963Microsoft SharePoint deserialization flaw allows remote code executionMicrosoft SharePoint Server deserializes untrusted data, letting an unauthorized attacker run code over the network. The flaw is remotely reachable w…KEVEPSS 30%analysed9.8CVE-2025-53770Microsoft SharePoint Server deserialization RCE under active exploitationOn-premises Microsoft SharePoint Server deserializes untrusted data, letting an unauthenticated network attacker run code on the server. Microsoft st…KEVEPSS 100%analysed9.8CVE-2023-29357Microsoft SharePoint Server elevation of privilege via authentication bypassCVE-2023-29357 is a critical elevation of privilege flaw in Microsoft SharePoint Server. The CVSS vector shows it is network reachable with no privil…KEVEPSS 100%analysed9.8CVE-2019-0604Microsoft SharePoint application package markup validation RCEMicrosoft SharePoint fails to validate the source markup of an application package, allowing crafted packages to execute code on the server. This is …KEVEPSS 100%analysed9.1CVE-2026-55040Microsoft SharePoint weak authentication allows network security feature bypassMicrosoft SharePoint Server contains a weak authentication flaw (CWE-1390) that lets an unauthorized attacker bypass a security feature over the netw…KEVEPSS 18%analysed

Source: NIST National Vulnerability Database (record CVE-2025-49704), CISA KEV, FIRST EPSS (scores of 2026-09-16). This page is refreshed as NVD updates the record.