Robocode vulnerable to Directory Traversal in recursivelyDelete Method
Critical severity
GitHub Reviewed
Published
Dec 9, 2025
to the GitHub Advisory Database
•
Updated Dec 9, 2025
Description
Published by the National Vulnerability Database
Dec 9, 2025
Published to the GitHub Advisory Database
Dec 9, 2025
Reviewed
Dec 9, 2025
Last updated
Dec 9, 2025
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.
References