Untrusted Search Path Affecting org.apache.tomcat.embed:tomcat-embed-core package, versions [9.0.23,9.0.106)[10.1.0,10.1.42)[11.0.0-M1,11.0.8)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.03% (9th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGAPACHETOMCATEMBED-13746602
  • published29 Oct 2025
  • disclosed16 Jun 2025
  • creditT. Doğa Gelişli

Introduced: 16 Jun 2025

CVE-2025-49124  (opens in a new tab)
CWE-426  (opens in a new tab)

How to fix?

Upgrade org.apache.tomcat.embed:tomcat-embed-core to version 9.0.106, 10.1.42, 11.0.8 or higher.

Overview

org.apache.tomcat.embed:tomcat-embed-core is a Core Tomcat implementation.

Affected versions of this package are vulnerable to Untrusted Search Path via the icacls.exe call during Windows installation, when a full path is not specified. An attacker can execute arbitrary code with elevated privileges by placing a malicious executable in a directory that is searched before the intended system directory.

CVSS Base Scores

version 4.0
version 3.1