CVE-2025-42970 Directory Traversal vulnerability in SAPCAR

Medium 5.8 Published Updated

An attacker can overwrite arbitrary files by tricking a privileged user into extracting a malicious SAPCAR archive, compromising system integrity and availability.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-42970?

CVE-2025-42970 is a medium-severity path traversal vulnerability in SAP_SE SAPCAR, published on 8 Jul 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

SAPCAR improperly sanitizes the file paths while extracting SAPCAR archives. Due to this, an attacker could craft a malicious SAPCAR archive containing directory traversal sequences. When a high privileged victim extracts this malicious archive, it is then processed by SAPCAR on their system, causing files to be extracted outside the intended directory and overwriting files in arbitrary locations. This vulnerability has a high impact on the integrity and availability of the application with no impact on confidentiality.

Weakness: CWE-22

Which versions are affected by CVE-2025-42970?

How do I fix CVE-2025-42970?

No fix has been published for CVE-2025-42970 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-42970 being exploited?

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

Sources

Also known as GHSA-3ccj-82gj-65cg.

Is CVE-2025-42970 in your software?

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

Check your SBOMs for free