CVE-2025-42977 Directory Traversal vulnerability in SAP NetWeaver Visual Composer

High 7.6 Published Updated

A high-privileged user can exploit insufficient path validation to read or modify arbitrary files in SAP NetWeaver Visual Composer.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-42977?

CVE-2025-42977 is a high-severity path traversal vulnerability in SAP_SE SAP NetWeaver Visual Composer, published on 10 Jun 2025. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

SAP NetWeaver Visual Composer contains a Directory Traversal vulnerability caused by insufficient validation of input paths provided by a high-privileged user. This allows an attacker to read or modify arbitrary files, resulting in a high impact on confidentiality and a low impact on integrity.

Weakness: CWE-22

Which versions are affected by CVE-2025-42977?

How do I fix CVE-2025-42977?

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

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2025-42977 being exploited?

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

Sources

Also known as GHSA-gr6j-93jw-jrj6.

Is CVE-2025-42977 in your software?

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

Check your SBOMs for free