CVE-2026-111247
Apache TomEE: Privilege escalation via user name matching a role name
8.1
Description
When resolving security roles of a realm-authenticated caller, the caller's user name is also treated as a role name in addition to the roles assigned by the realm. An authenticated attacker who can obtain an account whose user name equals a role name, for example through self-registration, is granted that role wherever authorization is evaluated through the Jakarta Authorization policy. Users are recommended to upgrade to version 10.3.0 or 11.0.0-M2, which fix the issue.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| org.apache.tomee:tomee-catalina | maven | 8.0.7 → <10.0.0-M1; 10.0.0-M1 → <10.3.0; 11.0.0-M1 → <11.0.0-M2 | 11.0.0-M2 | CVE.org |
| apache tomee | apache software foundation | 8.0.7 → <10.0.0-M1; 10.0.0-M1 → <10.3.0; 11.0.0-M1 → <11.0.0-M2 | 11.0.0-M2 | CVE.org |