/

CVE-2026-118489

Severity:

HIGH RISK

(7.5)

Cross-User Cache Disclosure (CWE-200) in Vert.x WebClient

CVE-2026-118489

Deferred

Vulnerability type

Category:

Cross-User Cache Data Exposure

CWE:

CWE-200, CWE-524

Impact:

Exposure of user-specific response data, including potentially session cookies

Severity:

HIGH RISK

(7.5)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Eclipse Vert.x can serve a cached response associated with one user to another user when a CachingWebClient is shared and the response is cacheable but not marked private or no-store. Depending on the response, this may disclose authenticated content or session cookies, potentially enabling session fixation or hijacking.

Eclipse Vert.x can serve a cached response associated with one user to another user when a CachingWebClient is shared and the response is cacheable but not marked private or no-store. Depending on the response, this may disclose authenticated content or session cookies, potentially enabling session fixation or hijacking.

Affected context

The issue occurs in Vert.x deployments where a CachingWebClient is shared across users, including setups that layer per-user WebClientSession instances over a shared caching client. If a user-specific response is cacheable and lacks directives such as private or no-store, it may enter the client-level cache and be returned for a later request to the same URL by another user.

The issue occurs in Vert.x deployments where a CachingWebClient is shared across users, including setups that layer per-user WebClientSession instances over a shared caching client. If a user-specific response is cacheable and lacks directives such as private or no-store, it may enter the client-level cache and be returned for a later request to the same URL by another user.

Exploit preconditions

  • Attack surface: Requests made through a shared Vert.x CachingWebClient
  • Required access: The attacker must be able to make requests through the same shared client; the description does not establish that unauthenticated remote access alone is sufficient.
  • Trigger point: A user-specific, cacheable response is stored and a later user requests the same URL.
  • Why exploitation is possible: The shared cache tier can reuse a response across user sessions when the response is not marked as private or non-storable.
  • Attack surface: Requests made through a shared Vert.x CachingWebClient
  • Required access: The attacker must be able to make requests through the same shared client; the description does not establish that unauthenticated remote access alone is sufficient.
  • Trigger point: A user-specific, cacheable response is stored and a later user requests the same URL.
  • Why exploitation is possible: The shared cache tier can reuse a response across user sessions when the response is not marked as private or non-storable.

Why this happens

The caching behavior does not adequately isolate user-specific responses in a cache shared across users. A response containing sensitive information can be stored and reused without sufficient user-context separation or restrictive cache directives. This can expose information, mapping to CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, and reflects the risk described by CWE-524: Use of Cache Containing Sensitive Information.

The caching behavior does not adequately isolate user-specific responses in a cache shared across users. A response containing sensitive information can be stored and reused without sufficient user-context separation or restrictive cache directives. This can expose information, mapping to CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, and reflects the risk described by CWE-524: Use of Cache Containing Sensitive Information.

Potential impact

  • Another user may receive authenticated content from a prior response.
  • A response may disclose a session cookie.
  • A disclosed cookie could enable session fixation or hijacking.
  • Sensitive information may be exposed to an anonymous caller using the same shared client.
  • Another user may receive authenticated content from a prior response.
  • A response may disclose a session cookie.
  • A disclosed cookie could enable session fixation or hijacking.
  • Sensitive information may be exposed to an anonymous caller using the same shared client.

General mitigation guidance

Defensive patterns focus on preventing sensitive responses from being stored or shared across user boundaries. Applications can use non-shared clients for user-specific traffic, avoid caching personalized responses, and apply restrictive cache directives such as private or no-store where appropriate. Cache keys and cache policies should account for relevant user context, and access to shared clients and cached data should follow least-privilege principles.

Defensive patterns focus on preventing sensitive responses from being stored or shared across user boundaries. Applications can use non-shared clients for user-specific traffic, avoid caching personalized responses, and apply restrictive cache directives such as private or no-store where appropriate. Cache keys and cache policies should account for relevant user context, and access to shared clients and cached data should follow least-privilege principles.

How teams detect issues like this

Review client construction and dependency wiring for caching clients shared across user sessions. Inspect cache policies and response handling for personalized or authenticated content that may be stored without restrictive directives. Tests can use distinct user contexts to verify that one user's response is never returned to another, while static analysis and policy checks can flag shared caches used for user-specific requests.

Review client construction and dependency wiring for caching clients shared across user sessions. Inspect cache policies and response handling for personalized or authenticated content that may be stored without restrictive directives. Tests can use distinct user contexts to verify that one user's response is never returned to another, while static analysis and policy checks can flag shared caches used for user-specific requests.

Sources

SourceLink
github.comgithub.com/vert-x3/vertx-web/security/advisories/GHSA-xh2g-9hw9-mvp3
gitlab.eclipse.orggitlab.eclipse.org/security/cve-assignment/-/work_items/523

Frequently asked

questions

Deployments that share a CachingWebClient across users may be affected when user-specific responses are cacheable and lack restrictive cache directives.

The relevant prerequisite is the ability to make requests through the same shared client. Whether authentication is required depends on how the application exposes and controls that client.

Avoid caching personalized responses in a shared cache, or isolate caches by user context and use appropriate restrictive response directives.

Review cache sharing and response policies, and test that responses from one user context cannot be reused in another.

Deployments that share a CachingWebClient across users may be affected when user-specific responses are cacheable and lack restrictive cache directives.

The relevant prerequisite is the ability to make requests through the same shared client. Whether authentication is required depends on how the application exposes and controls that client.

Avoid caching personalized responses in a shared cache, or isolate caches by user context and use appropriate restrictive response directives.

Review cache sharing and response policies, and test that responses from one user context cannot be reused in another.

Find out what's already
exploitable in your codebase.