RCE in SAP Se S/4hana (Private Cloud Or On-Premise)
CVE-2025-42957
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.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.017, 77.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- SAP Se S/4hana (Private Cloud Or On-Premise) — versions S4CORE 102, 103, 104
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- mrk336/CVE-2025-42957-SAP-S-4HANA-Under-Siege (4 stars, last pushed 2025-09-10): CVE‑2025‑42957 exposes an RFC‑enabled SAP S/4HANA module that lets low‑privileged users inject ABAP code to create admin accounts and gain full control. The article explains the vulnerability, threat…
- callinston/CVE-2025-42957
Also mentioned in 6 other repositories (0xAtef/0xAtef, ARPSyndicate/cve-scores, frlc/frlc, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
This CVE has public exploit evidence. See the latest CVEs with public exploits.