PoC Monitor
← All CVEs
CVE-2025-49125published 16 Jun 2025 14:18 UTCData: JSON · API

Apache Software Foundation Apache Tomcat

Apache Tomcat: Security constraint bypass for pre/post-resources

Authentication Bypass Using an Alternate Path or Channel vulnerability in Apache Tomcat.  When using PreResources or PostResources mounted other than at the root of the web application, it was possible to access those resources via an unexpected path. That path was likely not to be protected by the same security constraints as the expected path, allowing those security constraints to be bypassed. This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.7, from 10.1.0-M1 through 10.1.41, from 9.0.0.M1 through 9.0.105. The following versions were EOL at the time the CVE was created but are known to be affected: 8.5.0 through 8.5.100. Other, older, EOL versions may also be affected. Users are recommended to upgrade to version 11.0.8, 10.1.42 or 9.0.106, which fix the issue.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CISA ADP · CWE-288
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record, GitHub Security Advisories and the vendor's references.

Affected

Apache Software Foundation Apache Tomcat
  • >= 11.0.0-M1, <= 11.0.7
  • >= 10.1.0-M1, <= 10.1.41
  • >= 9.0.0.M1, <= 9.0.105
  • >= 8.5.0, <= 8.5.100
org.apache.tomcat:tomcat-catalina (Maven)
  • >= 11.0.0-M1, < 11.0.8

Fixed in 11.0.8

from GitHub Security Advisory GHSA-wc4r-xq3c-5cf3

org.apache.tomcat:tomcat-catalina (Maven)
  • >= 10.1.0-M1, < 10.1.42

Fixed in 10.1.42

from GitHub Security Advisory GHSA-wc4r-xq3c-5cf3

org.apache.tomcat:tomcat-catalina (Maven)
  • >= 9.0.0.M1, < 9.0.106

Fixed in 9.0.106

from GitHub Security Advisory GHSA-wc4r-xq3c-5cf3

org.apache.tomcat.embed:tomcat-embed-core (Maven)
  • >= 11.0.0-M1, < 11.0.8

Fixed in 11.0.8

from GitHub Security Advisory GHSA-wc4r-xq3c-5cf3

org.apache.tomcat.embed:tomcat-embed-core (Maven)
  • >= 10.1.0-M1, < 10.1.42

Fixed in 10.1.42

from GitHub Security Advisory GHSA-wc4r-xq3c-5cf3

org.apache.tomcat.embed:tomcat-embed-core (Maven)
  • >= 9.0.0.M1, < 9.0.106

Fixed in 9.0.106

from GitHub Security Advisory GHSA-wc4r-xq3c-5cf3

org.apache.tomcat:tomcat-catalina (Maven)
  • >= 8.5.0, <= 8.5.100

from GitHub Security Advisory GHSA-wc4r-xq3c-5cf3

org.apache.tomcat.embed:tomcat-embed-core (Maven)
  • >= 8.5.0, <= 8.5.100

from GitHub Security Advisory GHSA-wc4r-xq3c-5cf3

Mitigation

Upgrade org.apache.tomcat:tomcat-catalina to 11.0.8 or later.

Upgrade org.apache.tomcat:tomcat-catalina to 10.1.42 or later.

Upgrade org.apache.tomcat:tomcat-catalina to 9.0.106 or later.

Upgrade org.apache.tomcat.embed:tomcat-embed-core to 11.0.8 or later.

Upgrade org.apache.tomcat.embed:tomcat-embed-core to 10.1.42 or later.

Upgrade org.apache.tomcat.embed:tomcat-embed-core to 9.0.106 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published16 Jun 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

1 informational

Informational 1
RepositoryCreatedStarsAssessment
gregk4sec/CVE-2025-49125 3 Jun 2025 −13 d 0 Informational · write-up

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.