robo-code/robocode · Security
Robocode vulnerable to Directory Traversal in recursivelyDelete Method
- GHSA ID
- GHSA-j8r2-47rx-qhw4
- CVE ID
- CVE-2025-14306
- Severity
- critical
- Published
- Updated
- CVSS v4
- 10 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/AU:Y/R:U/V:D/RE:M/U:Red
Description
A directory traversal vulnerability exists in the CacheCleaner component of Robocode version 1.9.3.6. The recursivelyDelete method fails to properly sanitize file paths, allowing attackers to traverse directories and delete arbitrary files on the system. This vulnerability can be exploited by submitting specially crafted inputs that manipulate the file path, leading to potential unauthorized file deletions.
CWEs
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')