CVE-2025-6731 Details
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.
A critical path traversal vulnerability has been identified in yzcheng90 X-SpringBoot versions prior to 5.0. The issue resides in the APK file upload API at '/sys/oss/upload/apk', specifically within the 'uploadApk' function of the 'APK File Handler' component. The vulnerability arises because the function creates a temporary file using a filename derived from external input, without proper validation of the file path. This flaw allows an attacker to craft a file path that traverses directories, potentially deleting any '.apk' file on the system. Notably, this API endpoint does not require any authentication or permission verification, enabling remote exploitation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 26, 2025CISA-ADP
Assessed Jun 27, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/ShenxiuSec/cve-proofs/blob/main/POC-20250616-03.md | CISA-ADP | ExploitTechnical Description |
| https://github.com/ShenxiuSec/cve-proofs/blob/main/POC-20250616-03.md#steps-to-reproduce | CISA-ADP | |
| https://github.com/ShenxiuSec/cve-proofs/blob/main/POC-20250616-03.md | [email protected] | ExploitTechnical Description |
| https://github.com/ShenxiuSec/cve-proofs/blob/main/POC-20250616-03.md#steps-to-reproduce | [email protected] | |
| https://vuldb.com/?ctiid.314006 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/?id.314006 | [email protected] | AdvisoryExploitTechnical Description |
| https://vuldb.com/?submit.597524 | [email protected] | ExploitTechnical Description |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| yzcheng90 X-SpringBoot | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Jun 27, 2025 | CVE Modified | CISA-ADP |
| Jun 26, 2025 | New CVE Received | [email protected] |
Volerion