---
id: "CVE-2026-111242"
page: "https://infrastack.ai/live/CVE-2026-111242"
kind: "vulnerability"
aliases: ["CVE-2026-111242"]
title: "MicroProfile JWT: leftover run-as identity lets later requests escalate privileges"
severity: "unknown"
cvss: null
epss: null
exploited: false
status: "open"
category: "runtime"
products: []
ecosystems: []
tags: ["java-ee", "jwt", "microprofile", "runtime", "servlet"]
not_affected_if: ["no-microprofile-jwt", "no-run-as-servlets"]
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:21+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-111242", "first_seen_at": "2026-11-10T16:22:32+00:00"}]
exploit_sources: []
---

# MicroProfile JWT: leftover run-as identity lets later requests escalate privileges

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

When MicroProfile JWT authentication is used with servlets that declare a run-as identity, a request that does not finish normally can leave its elevated security identity on the processing thread. A remote attacker with a valid token can then make later, unrelated requests on that thread call enterprise beans with the elevated run-as identity.

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

## How to check

- Check whether the application uses MicroProfile JWT authentication together with servlets declaring `@RunAs`.
- Check the server's version against the fixed releases listed below.

## Fix

- Upgrade to `10.3.0` or `11.0.0-M2`, per the source's statement.

## Timeline

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

## From the sources

When MicroProfile JWT authentication is used for servlets that declare a run-as identity, the security state established for a request is not always cleared from the processing thread when the request does not complete normally. A remote attacker holding a valid token can cause later, unrelated requests served by the same thread to invoke enterprise beans with the elevated run-as identity. 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_
