{"id":"CVE-2025-42957","published":"2025-08-12T02:09:53Z","modified":"2026-02-26T17:49:43Z","title":"Code Injection vulnerability in SAP S/4HANA (Private Cloud or On-Premise)","vendor":"SAP_SE","product":"SAP S/4HANA (Private Cloud or On-Premise)","tier":"core","eol":null,"affectedVersions":[{"vendor":"SAP_SE","product":"SAP S/4HANA (Private Cloud or On-Premise)","versions":["S4CORE 102","103","104","105","106","107","108"]}],"description":{"text":"SAP S/4HANA allows an attacker with user privileges to exploit a vulnerability in the function module exposed via RFC. This flaw enables the injection of arbitrary ABAP code into the system, bypassing essential authorization checks. This vulnerability effectively functions as a backdoor, creating the risk of full system compromise, undermining the confidentiality, integrity and availability of the system.","provenance":"source","from":"CVE.org"},"summary":{"text":"A code injection flaw in the function module exposed via RFC in SAP S/4HANA (Private Cloud or On-Premise) allows arbitrary ABAP code to be injected into the system. An attacker with low-privilege user access over the network, requiring no user interaction and no special configuration, can bypass essential authorization checks and fully compromise the system's confidentiality, integrity and availability.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-01T01:04:21Z"},"cvss":{"score":9.9,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01645,"percentile":0.76457,"date":"2026-10-31","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2025-09-04","exploitedFirstSeen":"2025-09-04","ransomware":false,"evidence":[{"url":"https://securitybridge.com/blog/critical-sap-s-4hana-code-injection-vulnerability-cve-2025-42957/","date":"2025-09-04"},{"url":"https://pathlock.com/blog/security-alerts/cve-2025-42957-critical-sap-s-4hana-code-injection-vulnerability/","date":"2025-09-05"},{"url":"https://www.rapid7.com/cdn/assets/bltbd2f1cd70f9e3e7f/691360b9c91291146f1a5308/threat-landscape-report-q3-2025.pdf","date":"2025-11-12"},{"url":"https://www.loginsoft.com/reports/annually/vulnerability-intelligence-report-2025","date":"2026-01-20"}],"evidenceTotal":4,"provenance":"source"},"exploited":true,"otx":null,"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://me.sap.com/notes/3627998","tags":[]},{"url":"https://url.sap/sapsecuritypatchday","tags":[]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2025-24203","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-24203","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2025-09-10","earliestUrl":"https://github.com/mrk336/CVE-2025-42957-SAP-S-4HANA-Under-Siege","repos":[{"name":"mrk336/CVE-2025-42957-SAP-S-4HANA-Under-Siege","url":"https://github.com/mrk336/CVE-2025-42957-SAP-S-4HANA-Under-Siege","stars":4,"created":"2025-09-10"}]},"first":{"date":"2025-09-10","source":"PoC-in-GitHub","url":"https://github.com/mrk336/CVE-2025-42957-SAP-S-4HANA-Under-Siege"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2025-08-12","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2025-42957","provenance":"source"},{"date":"2025-09-04","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://securitybridge.com/blog/critical-sap-s-4hana-code-injection-vulnerability-cve-2025-42957/","provenance":"source"},{"date":"2025-09-10","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub","url":"https://github.com/mrk336/CVE-2025-42957-SAP-S-4HANA-Under-Siege","provenance":"source"}],"speed":{"daysToPublicExploit":29,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":62.2,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 423 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":15.29,"detail":"percentile 0.7646"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 PoC-in-GitHub repo"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":6.93,"detail":"base score 9.9"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}