All vulnerabilities

Maven

CVE-2026-111241

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

Severity
High 7.8
Published
10 Nov 2026
Last changed
16 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
10.0.0-M1, 10.3.0, 11.0.0-M2
Exploit chance
0.2% in the next 30 daysHigher than 5% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Insecure temporary file (CWE-377)
Attack
Needs local access · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
org.apache.openejb:openejb-coreMaven · osv:Maven:org.apache.openejb:openejb-core
  • From 4.0.0-beta-1 up to 4.7.5
org.apache.tomee:openejb-coreMaven · osv:Maven:org.apache.tomee:openejb-core
  • From 7.0.0-M1 before 10.0.0-M1
  • From 10.0.0-M1 before 10.3.0
  • From 11.0.0-M1 before 11.0.0-M2

About org.apache.openejb:openejb-core

About org.apache.tomee:openejb-core

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-111241