CVE-2026-42926
Description
A flaw was found in NGINX Open Source. When NGINX is configured to proxy HTTP/2 traffic and uses proxy_set_body, a remote attacker may be able to inject malicious data into the upstream peer. This could lead to unintended data manipulation or bypass of security controls.
Statement
A moderate severity flaw was found in NGINX Open Source, which is shipped in Red Hat Enterprise Linux 8, 9, and 10 (including the nginx:1.24 and nginx:1.26 module streams) and Red Hat In-Vehicle OS 2.0. When NGINX is configured to proxy HTTP/2 traffic by setting proxy_http_version to 2 and also uses the proxy_set_body directive, a remote attacker may be able to inject HTTP/2 frame headers and payload bytes to the upstream peer, potentially leading to unintended data manipulation or bypass of security controls. Exploitation requires this specific configuration combination, which limits exposure to deployments that use both directives together. For the affected Red Hat Enterprise Linux and Red Hat In-Vehicle OS streams, fixes are currently deferred, so no update is scheduled at this time and the residual risk remains for deployments using the affected configuration; several Red Hat Enterprise Linux streams are out of support scope and will not receive a fix. Red Hat Hardened Images and Fedora are also affected, with fixes pursued through those channels. Red Hat and upstream both rate this flaw as moderate severity (Red Hat CVSS 5.8, upstream CVSS 6.3).
Mitigation
To mitigate this issue, avoid configuring NGINX to proxy HTTP/2 traffic with the `proxy_http_version 2` directive in conjunction with `proxy_set_body`. If HTTP/2 proxying is essential, ensure that all proxied content is thoroughly validated to prevent malicious data injection. Modifying NGINX configuration files typically requires a service reload or restart for changes to take effect.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 5.8 | N/A | 5.8 |
| Attack Vector | Network | N/A | Network |
| Attack Complexity | Low | N/A | Low |
| Privileges Required | None | N/A | None |
| User Interaction | None | N/A | None |
| Scope | Changed | N/A | Changed |
| Confidentiality | None | N/A | None |
| Integrity Impact | Low | N/A | Low |
| Availability Impact | None | N/A | None |
Vector
Red Hat: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N
cve.org: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N
Understanding the Weakness (CWE)
Integrity,Non-Repudiation,Access Control
Technical Impact: Unexpected State; Hide Activities; Bypass Protection Mechanism
An attacker could create HTTP messages to exploit a number of weaknesses including 1) the message can trick the web server to associate a URL with another URL's webpage and caching the contents of the webpage (web cache poisoning attack), 2) the message can be structured to bypass the firewall protection mechanisms and gain unauthorized access to a web application, and 3) the message can invoke a script or a page that returns client credentials (similar to a Cross Site Scripting attack).
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.