CWEweakness
CWE-488 Exposure of Data Element to Wrong Session
- Abstraction
- Base
- Structure
- Simple
- Status
- Draft
- Languages
- Not Language-Specific
- CWE version
- 5.0
Description
The product does not sufficiently enforce boundaries between the states of different sessions, causing data to be provided to, or used by, the wrong session.
Common consequences
• Confidentiality: Read Application Data — Data can "bleed" from one session to another through
member variables of singleton objects, such as
Servlets, and objects from a shared pool. Storing
user data in Servlet member fields introduces a data
access race condition.
Potential mitigations
• [Architecture and Design] Protect the application's sessions from information leakage. Make sure that a session's data is not used or visible by other sessions.
• [Testing] Use a static analysis tool to scan the code for information leakage vulnerabilities (e.g. Singleton Member Field).
• [Architecture and Design] In a multithreading environment, storing user data in Servlet member fields introduces a data access race condition. Do not use member fields to store information in the Servlet.
Detection methods
• Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)
Related
Attack pattern · CAPEC (2)
Child of · CWE (1)
- CWE-668 Exposure of Resource to Wrong Sphere weakness
Referenced by CAPEC · weakness (2)
Referenced by CVE · weakness (52)
- CVE-2026-114637 Traefik from v3.2.0 before v3.7.14 contains an authentication bypass vulnerability in the experimental FastProxy connection pool, which… vulnerability
- CVE-2026-115419 The A2A server component in Amazon Strands Agents SDK for Python before 1.43.0 and Amazon Strands Agents SDK for TypeScript before 1.5.0… vulnerability
- CVE-2026-112921 Robots::Validate versions from 0.4.3 before 0.4.10 for Perl report clients as imposter robots when User-Agent matcher state carries over… vulnerability
- CVE-2026-85245 Exposure of Data Element to Wrong Session vulnerability in Apache Camel Thrift component. vulnerability
- CVE-2026-85296 Exposure of Data Element to Wrong Session vulnerability in Apache Camel AS2 component. vulnerability
- CVE-2026-82416 FrankenPHP is a modern application server for PHP. vulnerability
- CVE-2026-103868 A flaw was found in pulp-container when it authenticates to an upstream registry. vulnerability
- CVE-2026-103869 A flaw was found in pulp-ansible's bearer-token refresh for collection remotes. vulnerability
- CVE-2026-103544 A vulnerability was found in datadrivenconstruction OpenConstructionERP up to 14.8.1. vulnerability
- CVE-2026-82806 Exposure of data element to wrong session vulnerability in Apache APISIX. vulnerability
- CVE-2026-88017 rclone is a command-line program to sync files and directories to and from different cloud storage providers. vulnerability
- CVE-2026-84685 The react-native-auth0 SDK's web platform implementation does not scope its in-memory token cache to individual user sessions when… vulnerability
- CVE-2026-86492 In JetBrains YouTrack before 2026.2.18634 a shared token cache allowed cross-tenant theft of GitHub App installation tokens vulnerability
- CVE-2026-19931 A flaw in libcurl makes it wrongly reuse an HTTP connection setup for a given hostname using Negotiate authentication, when the initial… vulnerability
- CVE-2026-80231 A flaw in libcurl makes it wrongly reuse an existing HTTPS connection setup for a given hostname even when using a different Native CA… vulnerability
- CVE-2026-18489 IBM ContextForge MCP Gateway - Translate utility <= 1.0.8 MCP Context Forge could allow a remote attacker to obtain sensitive information… vulnerability
- CVE-2026-82367 Exposure of Data Element to Wrong Session vulnerability in ash-project ash_graphql can deliver one subscription's resolved records to a… vulnerability
- CVE-2026-71850 Hono is a Web application framework that provides support for any JavaScript runtime. vulnerability
- CVE-2026-16326 In consul-mcp-server, versions 0.1.0 up to 0.1.3 did not properly isolate session state in stateless mode, which may allow one client's… vulnerability
- CVE-2026-16498 The terraform-mcp-server before version 1.1.0 is vulnerable to a cross-tenant credential reuse issue in the streamable-HTTP stateless… vulnerability
- CVE-2026-54497 view_component is a framework for building reusable, testable, and encapsulated view components in Ruby on Rails. vulnerability
- CVE-2026-14621 A vulnerability has been found in FederatedAI FATE up to 2.2.0. vulnerability
- CVE-2026-8458 libcurl might in some circumstances reuse the wrong connection when asked to do Negotiate-authenticated ones, even when they are set to use… vulnerability
- CVE-2026-54311 n8n is an open source workflow automation platform. vulnerability
- CVE-2026-9831 A race condition in the shared Extreme Platform ONE IAM Gateway API-key authentication path could, under specific high-concurrency traffic… vulnerability
- CVE-2026-46416 Microsoft UFO open-source framework for intelligent automation across devices and platforms. vulnerability
- CVE-2026-5773 libcurl might in some circumstances reuse the wrong connection for SMB(S) transfers. vulnerability
- CVE-2026-34391 Fleet is open source device management software. vulnerability
- CVE-2026-23919 For performance reasons Zabbix Server/Proxy reuses JavaScript (Duktape) contexts (used in script items, JavaScript reprocessing, Webhooks). vulnerability
- CVE-2026-33215 NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. vulnerability
Referenced by CWE · can precede (1)
- CWE-567 Unsynchronized Access to Shared Data in a Multithreaded Context weakness