Cloudanix VulnDB

CVE-2026-59903

Medium · 6.5

CVSS

6.5

EPSS

0.3%

Published

Aug 17, 2026

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A bug in a popular networking library can let cached web responses meant for one logged-in user be shown to someone else, exposing private information.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
High
Impact
Data Exposure
Component
Library
Class
Information Disclosure
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

CorsHandler.setVaryHeader overwrites existing Vary headers (Authorization, Cookie) with only Origin, causing authenticated responses to be cached and served to unauthenticated or different users by proxies and CDNs.

Why it matters to the business

Authenticated responses containing user-specific data can be inadvertently cached and replayed to other users, leading to unauthorized disclosure of sensitive information and potential compliance violations.

How an attack unfolds

An attacker requests a resource that triggers an authenticated response, observes the Vary header being replaced, then uses a shared caching layer to request the same resource as a different user and receives the previously cached authenticated content.

How to fix it

Upgrade Netty to version 4.1.137.Final or 4.2.17.Final. After upgrade, verify that application-defined Vary headers are preserved alongside Origin.

How to confirm the fix worked

Compare the running Netty version against 4.1.137.Final or 4.2.17.Final. Send requests that set multiple Vary headers and confirm that Authorization and Cookie values remain in the response Vary header.

Typical attack path

  1. Identify an endpoint protected by CORS handling that returns user-specific data.
  2. Issue a request that causes the server to set Vary headers containing Authorization or Cookie.
  3. Observe that the CorsHandler replaces those headers with only Origin.
  4. Leverage an intermediate caching proxy or CDN to store the response.
  5. Request the same resource from a different user context and receive the cached authenticated response.

How to detect it

Review proxy and CDN access logs for responses where the Vary header contains only Origin despite the presence of Authorization or Cookie in the original request; search application logs for CorsHandler header manipulation around the time of publication.

What your security team should do

  • Upgrade all Netty deployments to 4.1.137.Final or 4.2.17.Final within the next sprint.
  • Audit any public-facing applications using CorsHandler for caching configurations.
  • Add header validation tests to CI pipelines that assert preservation of security-related Vary headers.

The record

Netty is an asynchronous, event-driven network application framework. Prior to 4.1.137.Final and 4.2.17.Final, io.netty.handler.codec.http.cors.CorsHandler setVaryHeader replaces application Vary headers such as Authorization or Cookie with Origin, allowing a caching proxy or CDN to reuse authenticated responses across users and disclose sensitive information. This issue is fixed in versions 4.1.137.Final and 4.2.17.Final.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities