Apache TomEE: Local code execution via predictable passivation files in the shared temporary directory
- CVE-2026-111241
- GHSA-98vr-xhpf-mpjq
- EUVD-2026-121253
Description
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.
Text from the CVE.org record.
Recommendation
Apache Software Foundation Apache TomEE
- If you run 11.0.xupdate to 11.0.0-M2 or laterPatch update: breaking changes are unlikely
- If you run a version from 7.0.0-M1 to before 10.0.0-M1update to 10.3.0 or laterMajor version change: expect breaking changes
- If you run a version from 10.0.0-M1 to before 10.3.0update to 10.3.0 or laterMinor version change: check the release notes
Some affected versions have no stated fix.
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Apache Software Foundation Apache TomEE
Affected versions Fixed in from 11.0.0-M1 to before 11.0.0-M2 11.0.0-M2 from 7.0.0-M1 to before 10.0.0-M1 10.3.0 from 10.0.0-M1 to before 10.3.0 10.3.0 from 4.0.0-beta-1 up to 4.7.5 none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.