{"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-10-31T08:42:01.043628417Z","published":"2026-08-25T21:53:05.852Z","related":["ALSA-2026:92869","SUSE-SU-2026:23690-1","SUSE-SU-2026:23691-1","SUSE-SU-2026:23700-1","SUSE-SU-2026:23710-1","SUSE-SU-2026:23711-1","SUSE-SU-2026:23720-1","SUSE-SU-2026:4114-1","SUSE-SU-2026:4119-1","SUSE-SU-2026:4126-1","SUSE-SU-2026:4203-1","openSUSE-SU-2026:11759-1","openSUSE-SU-2026:11760-1","openSUSE-SU-2026:11761-1","openSUSE-SU-2026:21810-1","openSUSE-SU-2026:21811-1","openSUSE-SU-2026:21823-1"],"database_specific":{"unresolved_ranges":[{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"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"}]}]}],"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"},{"last_affected":"4f33a9eca48c5cbf5963dd213b74866e629154ad"},{"introduced":"f2ab9ac8bc3f40ee9b2cb50b030c99df927f0429"},{"last_affected":"5da21b1c24a6443bca5c10dc80a69a76042ca337"},{"introduced":"29b07def810d335012e738b22ab44d4e232b50d1"},{"last_affected":"8fc613dd46061308028b75ed99571db00b9db4e0"},{"introduced":"e37b977db6f47e4380ad67114a49e8568951c953"},{"last_affected":"eddcf278ad919382608ada1898b2c5b63675c6d5"}],"database_specific":{"extracted_events":[{"source":"DESCRIPTION","range":[{"introduced":"11.0.0-M1"},{"last_affected":"11.0.24"}]},{"range":[{"introduced":"10.1.0-M1"},{"last_affected":"10.1.57"}],"source":"DESCRIPTION"},{"range":[{"introduced":"9.0.0.M1"},{"last_affected":"9.0.120"}],"source":"DESCRIPTION"},{"range":[{"introduced":"8.5.0"},{"last_affected":"8.5.100"}],"source":"DESCRIPTION"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-65927.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}