CVE-2026-111242 PUBLISHED

Apache TomEE: Privilege escalation via leaked MicroProfile JWT run-as identity

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

When MicroProfile JWT authentication is used for servlets that declare a run-as identity, the security state established for a request is not always cleared from the processing thread when the request does not complete normally. A remote attacker holding a valid token can cause later, unrelated requests served by the same thread to invoke enterprise beans with the elevated run-as identity. 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.0-M2 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-488 Exposure of Data Element to Wrong Session CWE