Local code execution via unqualified icacls invocation
Published Jun 16, 2025 · Updated Oct 29, 2025
Untrusted search path in the Apache Tomcat Windows installer allows local users to execute code during installation. The NSIS script invokes icacls.exe three times by name when setting installation permissions, allowing path resolution to select an attacker-controlled executable instead of the system utility. Affected releases span 11.0.0-M1 through 11.0.7, 10.1.0 through 10.1.41, 9.0.23 through 9.0.105, 8.5.0 through 8.5.100, and 7.0.95 through 7.0.109; exploitation requires local placement of the substitute before the installer runs, and the payload receives the installer's privileges.
Summary
What happened
Untrusted search path in the Apache Tomcat Windows installer allows local users to execute code during installation. The NSIS script invokes icacls.exe three times by name when setting installation permissions, allowing path resolution to select an attacker-controlled executable instead of the system utility. Affected releases span 11.0.0-M1 through 11.0.7, 10.1.0 through 10.1.41, 9.0.23 through 9.0.105, 8.5.0 through 8.5.100, and 7.0.95 through 7.0.109; exploitation requires local placement of the substitute before the installer runs, and the payload receives the installer's privileges.
The record
- CVE
- CVE-2025-49124
- Published
- Jun 16, 2025
- Updated
- Oct 29, 2025
- Vendor
- The Apache Software Foundation
- Product
- Apache Tomcat
- Classifications
- CWE-426, T1574.007
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 16, 2025CVE publishedPublication date reported by the CVE source.
- Oct 29, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=10.1.0 <=10.1.41
- Affected versionversion=11.0.0-M1 <=11.0.7
- Affected versionversion=7.0.95 <=7.0.109
- Affected versionversion=8.5.44 <=8.5.100
- Affected versionversion=9.0.23 <=9.0.105
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo