{"id":"CVE-2025-49125","published":"2025-06-16T14:18:09Z","modified":"2025-11-03T20:05:06Z","title":"Apache Tomcat: Security constraint bypass for pre/post-resources","vendor":"Apache","product":"Apache Tomcat","tier":"tail","description":{"text":"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.\n\nThis 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.\nThe following versions were EOL at the time the CVE was created but are \nknown to be affected: 8.5.0 through 8.5.100. Other, older, EOL versions \nmay also be affected.\n\n\nUsers are recommended to upgrade to version 11.0.8, 10.1.42 or 9.0.106, which fix the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.01716,"percentile":0.7785,"provenance":"source"},"cwes":[{"id":"CWE-288","name":"Authentication Bypass Using an Alternate Path or Channel"}],"references":[{"url":"https://lists.apache.org/thread/m66cytbfrty9k7dc4cg6tl1czhsnbywk","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2025/06/16/2","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/07/msg00009.html","tags":[]}],"priority":{"score":25.8,"factors":[{"name":"EPSS percentile","points":15.57},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.25}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2025-06-03","earliestUrl":"https://github.com/gregk4sec/CVE-2025-49125","repos":[{"name":"gregk4sec/CVE-2025-49125","url":"https://github.com/gregk4sec/CVE-2025-49125","stars":0,"created":"2025-06-03"}]},"first":{"date":"2025-06-03","source":"PoC-in-GitHub","url":"https://github.com/gregk4sec/CVE-2025-49125"},"provenance":"source"},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Tomcat","versions":[">= 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"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-06-17T14:06:30.854034Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.apache.tomcat:tomcat-catalina","vulnerableRanges":[">=11.0.0-M1, <11.0.8",">=10.1.0-M1, <10.1.42",">=9.0.0.M1, <9.0.106",">=8.5.0, <=8.5.100"],"patched":["11.0.8","10.1.42","9.0.106"],"from":["GHSA-wc4r-xq3c-5cf3"],"provenance":"source"},{"ecosystem":"Maven","package":"org.apache.tomcat.embed:tomcat-embed-core","vulnerableRanges":[">=11.0.0-M1, <11.0.8",">=10.1.0-M1, <10.1.42",">=9.0.0.M1, <9.0.106",">=8.5.0, <=8.5.100"],"patched":["11.0.8","10.1.42","9.0.106"],"from":["GHSA-wc4r-xq3c-5cf3"],"provenance":"source"}],"summary":{"text":"Apache Tomcat's handling of PreResources and PostResources mounted somewhere other than the web application root can expose those resources under an unexpected URL path. Because that alternate path may not carry the same security constraints as the intended path, an attacker with network access can reach protected content without authentication or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:40:36Z"},"euvd":{"id":"EUVD-2025-18406","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-apache-tomcat-cve-2024-50379","parents":[{"from":"CVE-2024-50379","to":"CVE-2025-49125","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["java/org/apache/catalina/webresources/DirResourceSet.java"],"commits":["https://github.com/apache/tomcat/commit/05ddeeaa54df1e2dc427d0164bedd6b79f78d81f","https://github.com/apache/tomcat/commit/43b507ebac9d268b1ea3d908e296cc6e46795c00","https://github.com/apache/tomcat/commit/7617b9c247bc77ed0444dd69adcd8aa48777886c","https://github.com/apache/tomcat/commit/9418e3ff9f1f4c006b4661311ae9376c52d162b9"],"basis":"shared function","functions":["getResource","write"]}]}]}}