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

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **CWE:** CWE-346
- **Published:** 2026-12-02T18:27:42.596Z
- **Modified:** 2026-12-02T23:18:38.990Z

> **AI summary (AI-generated, claude-haiku-5-5):** An unauthenticated attacker can send requests with a null Origin to cacheable URLs, poisoning shared caches with CORS headers in Netty's netty-codec-http library.

## Who should check

- Anyone running Red Hat Exploit Intelligence (versions: see the vendor advisory)
- Anyone running Red Hat OpenShift Serverless (versions: see the vendor advisory)
- Anyone running Red Hat AMQ Broker 7 (versions: see the vendor advisory)
- Anyone running Red Hat AMQ Clients all versions
- Anyone running Red Hat build of Apache Camel 4 for Quarkus 3 (versions: see the vendor advisory)
- Anyone running Red Hat build of Apache Camel for Spring Boot 4 all versions
- Anyone running Red Hat build of Apicurio Registry 3 all versions
- Anyone running Red Hat build of Debezium 3 all versions

## 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.

## Affected and fixed versions

- Red Hat Exploit Intelligence: see vendor advisory (cvelist)
- Red Hat OpenShift Serverless: see vendor advisory (cvelist)
- Red Hat OpenShift Serverless: see vendor advisory (cvelist)
- Red Hat OpenShift Serverless: see vendor advisory (cvelist)
- Red Hat OpenShift Serverless: see vendor advisory (cvelist)
- Red Hat OpenShift Serverless: see vendor advisory (cvelist)
- Red Hat OpenShift Serverless: see vendor advisory (cvelist)
- Red Hat OpenShift Serverless: see vendor advisory (cvelist)
- Red Hat OpenShift Serverless: see vendor advisory (cvelist)
- Red Hat OpenShift Serverless: see vendor advisory (cvelist)
- Red Hat OpenShift Serverless: see vendor advisory (cvelist)
- Red Hat AMQ Broker 7: see vendor advisory (cvelist)
- Red Hat AMQ Clients: all versions (cvelist)
- Red Hat build of Apache Camel 4 for Quarkus 3: see vendor advisory (cvelist)
- Red Hat build of Apache Camel for Spring Boot 4: all versions (cvelist)
- Red Hat build of Apicurio Registry 3: all versions (cvelist)
- Red Hat build of Debezium 3: all versions (cvelist)
- Red Hat Build of Keycloak: see vendor advisory (cvelist)
- Red Hat Build of Keycloak: see vendor advisory (cvelist)
- Red Hat Build of Keycloak: see vendor advisory (cvelist)
- Red Hat build of Quarkus: see vendor advisory (cvelist)
- Red Hat Data Grid 8: all versions (cvelist)
- Red Hat Data Grid 8: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform Expansion Pack: see vendor advisory (cvelist)
- Red Hat OpenShift AI (RHOAI): all versions (cvelist)
- Red Hat OpenShift AI (RHOAI): all versions (cvelist)
- Red Hat OpenShift AI (RHOAI): all versions (cvelist)
- Red Hat OpenShift AI (RHOAI): all versions (cvelist)
- Red Hat OpenShift AI (RHOAI): all versions (cvelist)
- Red Hat OpenShift Dev Spaces: all versions (cvelist)
- Red Hat OpenShift Dev Spaces: all versions (cvelist)
- Red Hat OpenShift Dev Spaces: all versions (cvelist)
- Red Hat OpenShift Dev Spaces: all versions (cvelist)
- Red Hat OpenShift Dev Spaces: all versions (cvelist)
- Red Hat Satellite 6: all versions (cvelist)
- Red Hat streams for Apache Kafka 3: all versions (cvelist)
- Red Hat streams for Apache Kafka 3: all versions (cvelist)
- Red Hat streams for Apache Kafka 3: all versions (cvelist)
- Red Hat streams for Apache Kafka 3: all versions (cvelist)
- Red Hat streams for Apache Kafka 3: all versions (cvelist)
- Red Hat streams for Apache Kafka 3: all versions (cvelist)
- Red Hat streams for Apache Kafka 3: all versions (cvelist)
- Red Hat streams for Apache Kafka 3: all versions (cvelist)
- Red Hat streams for Apache Kafka 3: all versions (cvelist)

## Technologies

Java (AI-matched), Keycloak, Maven packages (AI-matched), Red Hat (all products)

## Mitigation

- 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://\`).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-142451. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-142451.md
Affected: Red Hat Exploit Intelligence; Red Hat OpenShift Serverless; Red Hat OpenShift Serverless; Red Hat OpenShift Serverless; Red Hat OpenShift Serverless; Red Hat OpenShift Serverless; Red Hat OpenShift Serverless; Red Hat OpenShift Serverless; Red Hat OpenShift Serverless; Red Hat OpenShift Serverless;…
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Red Hat Exploit Intelligence, Red Hat OpenShift Serverless, Red Hat AMQ Broker 7, Red Hat AMQ Clients, Red Hat build of Apache Camel 4 for Quarkus 3, Red Hat build of Apache Camel for Spring Boot 4: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-142451 being exploited?

There is no confirmed exploitation: CVE-2026-142451 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-142451?

Medium: CVSS 5.3 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-142451?

Red Hat Exploit Intelligence; Red Hat OpenShift Serverless; Red Hat OpenShift Serverless; Red Hat OpenShift Serverless; Red Hat OpenShift Serverless; Red Hat OpenShift Serverless; Red Hat OpenShift Serverless; Red Hat OpenShift Serverless; Red Hat OpenShift Serverless; Red Hat OpenShift Serverless; Red Hat OpenShift Serverless; Red Hat AMQ Broker 7; Red Hat AMQ Clients all versions; Red Hat build of Apache Camel 4 for Quarkus 3; Red Hat build of Apache Camel for Spring Boot 4 all versions; Red Hat build of Apicurio Registry 3 all versions; Red Hat build of Debezium 3 all versions; Red Hat Build of Keycloak; Red Hat Build of Keycloak; Red Hat Build of Keycloak; Red Hat build of Quarkus; Red Hat Data Grid 8 all versions; Red Hat Data Grid 8 all versions; Red Hat JBoss Enterprise Application Platform 8 all versions; Red Hat JBoss Enterprise Application Platform Expansion Pack; Red Hat OpenShift AI (RHOAI) all versions; Red Hat OpenShift AI (RHOAI) all versions; Red Hat OpenShift AI (RHOAI) all versions; Red Hat OpenShift AI (RHOAI) all versions; Red Hat OpenShift AI (RHOAI) all versions; Red Hat OpenShift Dev Spaces all versions; Red Hat OpenShift Dev Spaces all versions; Red Hat OpenShift Dev Spaces all versions; Red Hat OpenShift Dev Spaces all versions; Red Hat OpenShift Dev Spaces all versions; Red Hat Satellite 6 all versions; Red Hat streams for Apache Kafka 3 all versions; Red Hat streams for Apache Kafka 3 all versions; Red Hat streams for Apache Kafka 3 all versions; Red Hat streams for Apache Kafka 3 all versions; Red Hat streams for Apache Kafka 3 all versions; Red Hat streams for Apache Kafka 3 all versions; Red Hat streams for Apache Kafka 3 all versions; Red Hat streams for Apache Kafka 3 all versions; Red Hat streams for Apache Kafka 3 all versions.

### Is there a fix for CVE-2026-142451?

No fixed version is listed in the sources yet. 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://\`).

### How do I check if I'm affected by CVE-2026-142451?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/netty/netty/security/advisories/GHSA-x9f7-rg73-4rp6>
- other: <https://access.redhat.com/security/cve/CVE-2026-142451>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2588743>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-142451>

HTML: <https://flawdb.com/CVE-2026-142451> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-142451>
