CVE-2026-142451

Io.netty/netty-codec-http: netty: corshandler omits vary: origin for the null-origin branch

Published Dec 2, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
A flaw was found in netty-codec-http. When handling HTTP requests with a null origin value, the component fails to include the Vary: Origin response header. An unauthenticated remote attacker can exploit this vulnerability by submitting requests with a null origin to cacheable web addresses, causing Cross-Origin Resource Sharing (CORS) header cache poisoning. This flaw may result in shared web caches serving incorrect security headers to subsequent visitors, causing legitimate requests to be blocked or potentially disclosing cached user data.

Remediation

Vendor Workaround

To mitigate this issue without updating software: 1. Disable the opt-in `allowNullOrigin` setting in the Netty `CorsConfig` configuration if null-origin requests are not explicitly required by your application. 2. Alternatively, configure upstream reverse proxies, web application firewalls, or intermediate cache servers to bypass caching for HTTP responses containing the `Access-Control-Allow-Origin: null` header or requests carrying `Origin: null`. Caveat: Disabling null-origin support will cause browsers to block CORS requests originating from sandboxed iframes or local file schemes (`file://`).

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Io.netty
Io.netty netty-codec-http
Red Hat
Red Hat red Hat Build Of Keycloak 26.4
Red Hat red Hat Openshift Ai (rhoai)
Red Hat red Hat Satellite 6
Redhat build Of Apache Camel For Quarkus
Redhat build Of Apache Camel For Spring Boot
Redhat build Of Debezium 3
Redhat build Of Keycloak
Redhat build Of Quarkus
Redhat data Grid
Redhat jboss Enterprise Application Platform Expansion Pack
Redhat openshift Dev Spaces
Vendors & Products Io.netty
Io.netty netty-codec-http
Red Hat
Red Hat red Hat Build Of Keycloak 26.4
Red Hat red Hat Openshift Ai (rhoai)
Red Hat red Hat Satellite 6
Redhat build Of Apache Camel For Quarkus
Redhat build Of Apache Camel For Spring Boot
Redhat build Of Debezium 3
Redhat build Of Keycloak
Redhat build Of Quarkus
Redhat data Grid
Redhat jboss Enterprise Application Platform Expansion Pack
Redhat openshift Dev Spaces
Type Values Removed Values Added
Description A flaw was found in netty-codec-http. When handling HTTP requests with a null origin value, the component fails to include the Vary: Origin response header. An unauthenticated remote attacker can exploit this vulnerability by submitting requests with a null origin to cacheable web addresses, causing Cross-Origin Resource Sharing (CORS) header cache poisoning. This flaw may result in shared web caches serving incorrect security headers to subsequent visitors, causing legitimate requests to be blocked or potentially disclosing cached user data.
Title Io.netty/netty-codec-http: netty: corshandler omits vary: origin for the null-origin branch
First Time appeared Redhat
Redhat amq Broker
Redhat amq Clients
Redhat amq Streams
Redhat apicurio Registry
Redhat build Keycloak
Redhat camel Quarkus
Redhat camel Spring Boot
Redhat debezium
Redhat exploit Intelligence
Redhat jboss Data Grid
Redhat jboss Enterprise Application Platform
Redhat jbosseapxp
Redhat openshift Ai
Redhat openshift Devspaces
Redhat quarkus
Redhat satellite
Redhat serverless
Weaknesses CWE-346
CPEs cpe:/a:redhat:amq_broker:7
cpe:/a:redhat:amq_clients:2023
cpe:/a:redhat:amq_streams:3
cpe:/a:redhat:apicurio_registry:3
cpe:/a:redhat:build_keycloak:
cpe:/a:redhat:camel_quarkus:3
cpe:/a:redhat:camel_spring_boot:4
cpe:/a:redhat:debezium:3
cpe:/a:redhat:exploit_intelligence:0
cpe:/a:redhat:jboss_data_grid:8
cpe:/a:redhat:jboss_enterprise_application_platform:8
cpe:/a:redhat:jbosseapxp
cpe:/a:redhat:openshift_ai
cpe:/a:redhat:openshift_devspaces:3
cpe:/a:redhat:quarkus:3
cpe:/a:redhat:satellite:6
cpe:/a:redhat:serverless:1
Vendors & Products Redhat
Redhat amq Broker
Redhat amq Clients
Redhat amq Streams
Redhat apicurio Registry
Redhat build Keycloak
Redhat camel Quarkus
Redhat camel Spring Boot
Redhat debezium
Redhat exploit Intelligence
Redhat jboss Data Grid
Redhat jboss Enterprise Application Platform
Redhat jbosseapxp
Redhat openshift Ai
Redhat openshift Devspaces
Redhat quarkus
Redhat satellite
Redhat serverless
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Dec 3, 2026, 5:11 PM
Reserved
Dec 2, 2026, 5:20 PM
Status
Awaiting Analysis
Published
Dec 2, 2026, 7:18 PM
Modified
Dec 3, 2026, 5:18 PM
Severity
Moderate
Public date
Dec 2, 2026, 5:49 PM