Improper Authorization vulnerability in Apache Tomcat cause by security-role-ref definitions being incorrectly used as role aliases within the Realm in additional to the correct usage with Request.isUserInRole().
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.25 through 9.0.120.
The following versions were EOL at the time the CVE was created but are known to be affected: from 8.5.46 through 8.5.100, from 7.0.97 through 7.0.109. Other unsupported versions may also be affected.
Users are recommended to upgrade to version 11.0.25, 10.1.58 or 9.0.121, which fix the issue.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/66xxx/CVE-2026-66422.json",
"unresolved_ranges": [
{
"source": "AFFECTED_FIELD",
"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.25"
},
{
"last_affected": "9.0.120"
},
{
"introduced": "8.5.46"
},
{
"last_affected": "8.5.100"
},
{
"introduced": "7.0.97"
},
{
"last_affected": "7.0.109"
}
]
},
{
"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.25"
},
{
"fixed": "9.0.120"
},
{
"introduced": "8.5.46"
},
{
"fixed": "8.5.100"
},
{
"introduced": "7.0.97"
},
{
"fixed": "7.0.109"
}
]
}
],
"cwe_ids": [
"CWE-285"
],
"cna_assigner": "apache"
}