ABAP Command Injection in CNVCF_JSTAT_UP RFC function call (S4CORE)

July 30, 2026

ABAP Command Injection in CNVCF_JSTAT_UP RFC function call (S4CORE)


Impact on Business

Successful exploitation of this vulnerability enables authenticated attackers to run arbitrary OS commands, resulting in full system compromise. This has a critical impact on the confidentiality, integrity, and availability of the system and its business applications.


Vulnerability Details

A remote-enabled function module named CNVCF_JSTAT_UP allows an authenticated user to arbitrarily modify the source code of existing programs. The function module performs a programmatic authorization check, but it only verifies that the user has privileges to display data, which does not adequately protect against code modification. An attacker with the required authorizations could exploit this to inject malicious code into existing programs, which could directly lead to OS command execution and full system compromise.


Solution

SAP has released SAP Note 3694242 which provides patched versions of the affected components.

The patches can be downloaded from https://me.sap.com/notes/3694242.

Onapsis strongly recommends SAP customers to download the related security fixes and apply them to the affected components in order to reduce business risks.


Report Timeline

  • 12/09/2025: Onapsis reports vulnerability to SAP
  • 01/13/2026: SAP issues the patch

References


Advisory Information

  • Public Release Date: 07/30/2026
  • Security Advisory ID: ONAPSIS-2026-0009
  • Researcher(s): Pablo Artuso, Fabian Hagg

Vulnerability Information

  • Vendor: SAP
  • Affected Components: SAP S/4HANA (S4CORE) (Check SAP Note 3694242 for detailed information on affected releases)
  • Vulnerability Class: CWE-94: Improper Control of Generation of Code (‘Code Injection’)
  • CVSS v3 score: 9.1 (CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H)
  • Risk Level: Critical
  • Assigned CVE: CVE-2026-0498
  • Vendor patch Information: SAP Security NOTE 3694242

Affected Components Description

  • S4CORE Release 108

About our Research Labs

Onapsis Research Labs provides the industry analysis of key security issues that impact mission-critical systems and applications. Delivering frequent and timely security and compliance advisories with associated risk levels, Onapsis Research Labs combine in-depth knowledge and experience to deliver technical and business-context with sound security judgment to the broader information security community.

Find all reported vulnerabilities at: https://github.com/Onapsis/vulnerability_advisories

This advisory is licensed under a Creative Commons 4.0 BY-ND International License