ABAP Code Injection in SAP S/4HANA RFC Function Module
CVE-2025-27429 is a critical code injection vulnerability in SAP S/4HANA affecting Private Cloud and on-premise deployments. The flaw exists in a function module exposed through RFC and allows an authenticated attacker with user-level privileges to inject arbitrary ABAP code into the SAP environment. The vulnerable processing path fails to enforce essential authorization checks, enabling attacker-supplied input to be executed as ABAP code. Because the issue effectively creates a backdoor-like execution path inside the application layer, successful exploitation can lead to complete compromise of the affected SAP system.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation enables arbitrary ABAP code execution within SAP S/4HANA, bypassing normal authorization controls. An attacker can gain full control of the affected system, compromise confidentiality, integrity, and availability, manipulate business data and processes, establish persistence, and potentially use the SAP environment as a platform for broader compromise.
If you can’t patch tonight, do this now.
If immediate patching is not possible, reduce exposure of RFC-accessible function modules to only required users and systems, restrict network reachability to SAP RFC interfaces, review and minimize user privileges, and increase monitoring for suspicious RFC activity and unauthorized ABAP code changes. Because patching does not remediate prior compromise, affected environments should also be assessed for persistence and unauthorized modifications.
Patch, then assume compromise.
Apply the SAP security update that remediates CVE-2025-27429 for all affected SAP S/4HANA deployments. The available information indicates SAP issued a vendor fix as part of its April 2025 security updates, and later references describe the issue as updated in subsequent patching. Organizations should identify affected S/4HANA systems and upgrade to the vendor-specified fixed versions without delay.
No public exploits tracked yet. Mallory keeps watching.
9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.