{"id":"CVE-2026-65927","summary":"Apache Tomcat: RewriteValve [N] restarts at the second rule and may bypass access control","details":"Off-by-one Error vulnerability in Apache Tomcat impacting the [N] flag on the rewrite valves causes rewrite processing to restart at the second rule rather than the first rule.\n\n\n\n\n\n\n\nThis issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.24, from 10.1.0-M1 through 10.1.57, from 9.0.0.M1 through 9.0.120.\n\n\n\nThe following versions were EOL at the time the CVE was created but are \nknown to be affected: from 8.5.0 through 8.5.100. Other unsupported versions may also be affected.\n\n\n\nUsers are recommended to upgrade to version 11.0.25, 10.1.58 or 9.0.121 which fix the issue.","aliases":["BIT-tomcat-2026-65927"],"modified":"2026-08-28T16:55:36.011981811Z","published":"2026-08-25T21:53:05.852Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"introduced":"11.0.0-M1"},{"last_affected":"11.0.24"},{"introduced":"10.1.0-M1"},{"last_affected":"10.1.57"},{"introduced":"9.0.0.M1"},{"last_affected":"9.0.120"},{"introduced":"8.5.0"},{"last_affected":"8.5.100"}],"source":"AFFECTED_FIELD"},{"extracted_events":[{"introduced":"11.0.0-M1"},{"fixed":"11.0.24"},{"introduced":"10.1.0-M1"},{"fixed":"10.1.57"},{"introduced":"9.0.0.M1"},{"fixed":"9.0.120"},{"introduced":"8.5.0"},{"fixed":"8.5.100"}],"source":"DESCRIPTION"}],"cna_assigner":"apache","cwe_ids":["CWE-193"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65927.json"},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/08/26/5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65927.json"},{"type":"ADVISORY","url":"https://lists.apache.org/thread/st1dx1zyn5y7ny2s0sscmh6lrv3worr4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65927"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apache/tomcat","events":[{"introduced":"59c81e30e2f64f5e8c1db78c4860c51850dfb0bd"},{"fixed":"4f33a9eca48c5cbf5963dd213b74866e629154ad"},{"introduced":"f2ab9ac8bc3f40ee9b2cb50b030c99df927f0429"},{"fixed":"5da21b1c24a6443bca5c10dc80a69a76042ca337"},{"introduced":"29b07def810d335012e738b22ab44d4e232b50d1"},{"fixed":"8fc613dd46061308028b75ed99571db00b9db4e0"},{"introduced":"e37b977db6f47e4380ad67114a49e8568951c953"},{"fixed":"eddcf278ad919382608ada1898b2c5b63675c6d5"}],"database_specific":{"source":"DESCRIPTION","extracted_events":[{"introduced":"11.0.0-M1"},{"fixed":"11.0.24"},{"introduced":"10.1.0-M1"},{"fixed":"10.1.57"},{"introduced":"9.0.0.M1"},{"fixed":"9.0.120"},{"introduced":"8.5.0"},{"fixed":"8.5.100"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-65927.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}