---
id: "CVE-2026-111241"
page: "https://infrastack.ai/live/CVE-2026-111241"
kind: "vulnerability"
aliases: ["CVE-2026-111241"]
title: "Java session bean passivation writes predictable temp files, enabling local code execution"
severity: "unknown"
cvss: null
epss: null
exploited: false
status: "open"
category: "runtime"
products: []
ecosystems: []
tags: ["application-server", "java", "runtime", "self-hosted"]
not_affected_if: ["default-config", "no-local-untrusted-users"]
published_at: "2026-11-10T16:17:14+00:00"
first_seen_at: "2026-11-10T16:22:32+00:00"
updated_at: "2026-11-10T16:25:20+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-111241", "first_seen_at": "2026-11-10T16:22:32+00:00"}]
exploit_sources: []
---

# Java session bean passivation writes predictable temp files, enabling local code execution

Link for people: https://infrastack.ai/live/CVE-2026-111241 (this .md is for agents)

When a non-default stateful session bean passivation strategy is enabled, passivated bean state is saved to predictably named files in the shared system temporary directory and reused if they already exist. The server deserializes that data on activation, so a local user who can write to that directory can read session state or supply data that may lead to code execution as the server process.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check whether a non-default stateful session bean passivation strategy is configured on the server.
- Confirm the server version: upgrade targets are `10.3.0` or `11.0.0-M2`.

## Fix

- Upgrade to `10.3.0` or `11.0.0-M2`, per the sources.

## Timeline

- 2026-11-10T16:22:32+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-111241

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
