{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-65927",
        "assignerOrgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
        "state": "PUBLISHED",
        "assignerShortName": "apache",
        "dateReserved": "2026-07-23T14:24:12.608Z",
        "datePublished": "2026-08-25T21:53:05.852Z",
        "dateUpdated": "2026-08-26T02:30:38.001Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
                "shortName": "apache",
                "dateUpdated": "2026-08-25T21:53:05.852Z"
            },
            "title": "Apache Tomcat: RewriteValve [N] restarts at the second rule and may bypass access control",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "description": "CWE-193 Off-by-one Error",
                            "lang": "en",
                            "cweId": "CWE-193",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "source": {
                "discovery": "EXTERNAL"
            },
            "affected": [
                {
                    "vendor": "Apache Software Foundation",
                    "product": "Apache Tomcat",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "11.0.0-M1",
                            "lessThanOrEqual": "11.0.24",
                            "versionType": "semver"
                        },
                        {
                            "status": "affected",
                            "version": "10.1.0-M1",
                            "lessThanOrEqual": "10.1.57",
                            "versionType": "semver"
                        },
                        {
                            "status": "affected",
                            "version": "9.0.0.M1",
                            "lessThanOrEqual": "9.0.120",
                            "versionType": "semver"
                        },
                        {
                            "status": "affected",
                            "version": "8.5.0",
                            "lessThanOrEqual": "8.5.100",
                            "versionType": "semver"
                        },
                        {
                            "status": "unaffected",
                            "version": "7.0.0",
                            "lessThanOrEqual": "7.0.109",
                            "versionType": "semver"
                        },
                        {
                            "status": "unaffected",
                            "version": "0",
                            "lessThan": "7.0.0",
                            "versionType": "semver"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "descriptions": [
                {
                    "value": "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.",
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "type": "text/html",
                            "base64": false,
                            "value": "<p>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.</p><p></p><p>This 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.</p><p>The 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.</p><p>Users are recommended to upgrade to version 11.0.25, 10.1.58 or 9.0.121 which fix the issue.</p><p></p>"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://lists.apache.org/thread/st1dx1zyn5y7ny2s0sscmh6lrv3worr4",
                    "tags": [
                        "vendor-advisory"
                    ]
                }
            ],
            "metrics": [
                {
                    "other": {
                        "type": "Textual description of severity",
                        "content": {
                            "text": "important"
                        }
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "4ra1n, pyn3rd and unam4",
                    "type": "finder"
                }
            ],
            "x_generator": {
                "engine": "Vulnogram 0.2.0"
            }
        },
        "adp": [
            {
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "http://www.openwall.com/lists/oss-security/2026/08/26/5"
                    }
                ],
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2026-08-26T02:30:38.001Z"
                }
            }
        ]
    }
}