Improper Neutralization of Escape, Meta, or Control Sequences vulnerability in Apache Tomcat. Tomcat did not escape ANSI escape sequences in log messages. If Tomcat was running in a console on a Windows operating system, and the console supported ANSI escape sequences, it was possible for an attacker to use a specially crafted URL to inject ANSI escape sequences to manipulate the console and the clipboard and attempt to trick an administrator into running an attacker controlled command. While no attack vector was found, it may have been possible to mount this attack on other operating systems. This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.10, from 10.1.0-M1 through 10.1.44, from 9.0.40 through 9.0.108. The following versions were EOL at the time the CVE was created but are known to be affected: 8.5.60 though 8.5.100. Other, older, EOL versions may also be affected. Users are recommended to upgrade to version 11.0.11 or later, 10.1.45 or later or 9.0.109 or later, which fix the issue.
An attacker sends a specially crafted URL containing ANSI control sequences, which Tomcat writes to logs without proper neutralization. If Tomcat runs in a Windows system console that supports ANSI sequences (e.g., Windows Terminal), these sequences are interpreted by the terminal, allowing manipulation of console content and system clipboard. As a result, an attacker can display false messages or modify clipboard contents to trick the administrator into executing a malicious command. A similar attack may have been possible on other operating systems, although no specific attack vector was identified.
An attacker can manipulate the administrator console interface and the contents of the system clipboard to trick the administrator into executing an attacker-controlled command, which may lead to system compromise.
Apache Tomcat should be updated to version 11.0.11 or later, 10.1.45 or later, or 9.0.109 or later. Versions from the 8.5.x branch are marked as EOL and will not receive a patch — migration to a supported branch is recommended.
Apache Tomcat in versions: 11.0.0-M1 to 11.0.10, 10.1.0-M1 to 10.1.44, 9.0.40 to 9.0.108. EOL versions 8.5.60–8.5.100 are also vulnerable. Older EOL versions may also be affected.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HApache Tomcat
APPApache8.5.60 – 8.5.1009.0.40 – 9.0.109 (excl.)10.0.0 – 10.0.27 (excl.)10.1.0 – 10.1.45 (excl.)11.0.0 – 11.0.11 (excl.)
Related vulnerabilities
Apache Tomcat: Path Equivalence prowadzący do RCE i ujawnienia danych
Apache Tomcat AJP Connector — odczyt plików i RCE (Ghostcat)
Apache Tomcat RCE przez JmxRemoteLifecycleListener (JMX)
Improper Access Control, Incorrect Authorization vulnerability in Apache Tomcat leads to security constraint b...
Improper Input Validation vulnerability in Apache Tomcat due to incomplete fix for CVE-2026-32990. This iss...