CVE-2025-14306: Robocode vulnerable to Directory Traversal in recursivelyDelete Method
CVE-2025-14306 · Severity: critical · CVSS 9.1 · Published 2025-12-09
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. https://robo-code.blogspot.com/
Yes. net.sf.robocode:robocode.core (Maven): upgrade to 1.9.5.6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-14306?
Check whether you run net.sf.robocode:robocode.core (Maven) or Robocode at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
net.sf.robocode:robocode.core (Maven): upgrade to 1.9.5.6 or later
# set net.sf.robocode:robocode.core to 1.9.5.6 in your pom.xml or build.gradle