CVE-2025-6731 yzcheng90 X-SpringBoot APK File apk uploadApk path traversal

Medium 5.3 Published Updated

Attackers can exploit a path traversal vulnerability in the APK upload function to read or modify arbitrary files on the server.

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-6731?

CVE-2025-6731 is a medium-severity path traversal vulnerability in yzcheng90 X-SpringBoot, published on 26 Jun 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was found in yzcheng90 X-SpringBoot up to 5.0 and classified as critical. Affected by this issue is the function uploadApk of the file /sys/oss/upload/apk of the component APK File Handler. The manipulation of the argument File leads to path traversal. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

Weakness: CWE-22

Which versions are affected by CVE-2025-6731?

How do I fix CVE-2025-6731?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-6731 exists.

Sources

Also known as GHSA-92c9-98gg-94f4.

Is CVE-2025-6731 in your software?

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

Check your SBOMs for free