CVE-2026-111247 PUBLISHED

Apache TomEE: Privilege escalation via user name matching a role name

Assigner: apache
Reserved: 15.10.2026 Published: 10.11.2026 Updated: 10.11.2026

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.

Product Status

Vendor Apache Software Foundation
Product Apache TomEE
Versions Default: unaffected
  • affected from 8.0.7 to 10.0.0-M1 (excl.)
  • affected from 10.0.0-M1 to 10.3.0 (excl.)
  • affected from 11.0.0-M1 to 11.0.0-M2 (excl.)

Credits

  • The Apache Software Foundation finder
  • Claude Security tool
  • Richard Zowalla remediation developer

References

Problem Types

  • CWE-863 Incorrect Authorization CWE