CVE-2025-31331 Authorization Bypass vulnerability in SAP NetWeaver

Medium 4.3 Published Updated

An attacker with ABAP access can bypass authorization checks to view sensitive system code, compromising confidentiality.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-31331?

CVE-2025-31331 is a medium-severity missing authorization vulnerability in SAP_SE SAP NetWeaver, published on 8 Apr 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

SAP NetWeaver allows an attacker to bypass authorization checks, enabling them to view portions of ABAP code that would normally require additional validation. Once logged into the ABAP system, the attacker can run a specific transaction that exposes sensitive system code without proper authorization. This vulnerability compromises the confidentiality.

Weakness: CWE-863

Which versions are affected by CVE-2025-31331?

How do I fix CVE-2025-31331?

No fix has been published for CVE-2025-31331 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2025-31331 being exploited?

There is no known exploitation of CVE-2025-31331 in the wild and no public exploit code.

Sources

Also known as GHSA-jc4p-p49m-8p2p.

Is CVE-2025-31331 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free