Skip to main content
← All vulnerabilities
CVE-2025-49125GHSA-WC4R-XQ3C-5CF3BIT-TOMCAT-2025-49125

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 11.0.8, 10.1.42, 9.0.106
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • Apache Software Foundation 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; From 8.5.0 · through 8.5.100

  • org.apache.tomcat:tomcat-catalinaMaven

    From 11.0.0-M1 · fixed in 11.0.8

  • org.apache.tomcat:tomcat-catalinaMaven

    From 10.1.0-M1 · fixed in 10.1.42

  • org.apache.tomcat:tomcat-catalinaMaven

    From 9.0.0.M1 · fixed in 9.0.106

  • org.apache.tomcat.embed:tomcat-embed-coreMaven

    From 11.0.0-M1 · fixed in 11.0.8

  • org.apache.tomcat.embed:tomcat-embed-coreMaven

    From 10.1.0-M1 · fixed in 10.1.42

  • org.apache.tomcat.embed:tomcat-embed-coreMaven

    From 9.0.0.M1 · fixed in 9.0.106

  • org.apache.tomcat:tomcat-catalinaMaven

    From 8.5.0 · through 8.5.100

  • org.apache.tomcat.embed:tomcat-embed-coreMaven

    From 8.5.0 · through 8.5.100

References 2

lists.apache.org

GitHub · gregk4sec/CVE-2025-49125