Apache TomEE: Local code execution via predictable passivation files in the shared temporary directory
- State
- Published
- Severity
- 7.8 High
- Published
- Nov 10, 2026
- Updated
- Nov 16, 2026
- Reserved
- Oct 15, 2026
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.
| Product | Versions |
|---|---|
| Apache TomEE Apache Software Foundation | 4.0.0-beta-1 through 4.7.5 Affected |
| Apache TomEE Apache Software Foundation | 7.0.0-M1 to before 10.0.0-M1 Affected10.0.0-M1 to before 10.3.0 Affected11.0.0-M1 to before 11.0.0-M2 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 7.8 High | CISA-ADP |
Weaknesses
- CWE-377 Insecure Temporary File
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.