CVE-2026-111241 PUBLISHED

Apache TomEE: Local code execution via predictable passivation files in the shared temporary directory

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

When a non-default stateful session bean passivation strategy is configured, passivated bean state is written to predictably named files in the shared system temporary directory, reusing files that already exist there, and is deserialized on activation. A local attacker who can write to that directory can read passivated session state or supply data that the server deserializes, potentially leading to code execution as the server process. 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 4.0.0-beta-1 to 4.7.5 (incl.)
Vendor Apache Software Foundation
Product Apache TomEE
Versions Default: unaffected
  • affected from 7.0.0-M1 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-377 Insecure Temporary File CWE