CVE-2025-49704Microsoft SharePoint Remote Code Execution Vulnerability
- 8.8HighCVSS base score
- 100.0%Exploitation in 30 daysEPSS · top 0.1% of all CVEs
- YesKnown exploitedin CISA's KEV since 22 Jul 2025
- 1Public exploitsMetasploit, Nuclei and Exploit-DB
Description
Improper control of generation of code ('code injection') in Microsoft Office SharePoint allows an authorized attacker to execute code over a network.
Exploited in the wild
CISA lists this vulnerability in its Known Exploited Vulnerabilities catalog as Microsoft SharePoint Code Injection Vulnerability.
- Added
- 22 Jul 2025
- Fix due (US federal)
- 23 Jul 2025
- Used by ransomware
- Known
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.
ENISA's EU Vulnerability Database lists it as exploited, from CISA's KEV, since 22 Jul 2025.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module for it. CISA's SSVC rates its exploitation: it is being exploited.
Show the exploits1
Metasploit modules1 module
- Microsoft SharePoint Server ToolPane Unauthenticated Remote Code Execution (aka ToolShell) (Metasploit module) (opens in a new tab)
exploit/windows/http/sharepoint_toolpane_rceRank excellentdisclosed 8 Jul 2025
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By microsoft
- 29 days later
· 29 days later
Published
- 14 days later
· 14 days later
Added to CISA KEV
Known exploited, also by ransomware
- 7 months later
· 7 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| microsoftCNA (assigner) | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C |
| NVDNVD · Analyzed | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 100.0% · top 0.1% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: active · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.8.
Affected products
Microsoft · Microsoft SharePoint Enterprise Server 2016
- affected 16.0.0 – < 16.0.5508.1000
Microsoft · Microsoft SharePoint Server 2019
- affected 16.0.0 – < 16.0.10417.20027
References
References3
- Microsoft SharePoint Remote Code Execution Vulnerability (opens in a new tab)vendor-advisorypatch
- https://www.microsoft.com/en-us/security/blog/2025/07/22/disrupting-active-exploitation-of-on-premises-sharepoint-vulnerabilities/ (opens in a new tab)vendor-advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-49704 (opens in a new tab)government-resource
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- CISA KEV catalog (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-20554 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-49704)Record last updated .