{"id":"CVE-2026-59921","title":"io.netty/netty-codec-http: Netty: CRLF Injection via Multipart Filename in Netty HttpPostRequestEncoder (CVE-2026-59921)","summary":"A flaw was found in Netty's HttpPostRequestEncoder, a widely used Java networking library component responsible for constructing multipart HTTP request bodies. The issue arises because user-supplied filenames and field names are directly e…","severity":"medium","cvss":5.7,"cvssVector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","cvssSource":"vendor","cwe":"CWE-93","vendor":"Red Hat","product":"OpenShift Serverless","affected":["cryostat 4","openshift_serverless","amq_broker 7","amq_clients","build_of_apache_camel_hawtio 4","build_of_apache_camel_4_for_quarkus 3","build_of_apache_camel_for_spring_boot 4","build_of_apicurio_registry 3","build_of_debezium 3","build_of_keycloak","build_of_quarkus","data_grid 8","enterprise_linux_ai_rhel_ai 3","jboss_enterprise_application_platform 7","jboss_enterprise_application_platform 8","jboss_enterprise_application_platform_expansion_pack","openshift_ai_rhoai","openshift_dev_spaces","satellite 6","single_sign_on 7","streams_for_apache_kafka 2","streams_for_apache_kafka 3","build_of_quarkus 3.27.4.SP3","build_of_quarkus 3.33.2.SP3"],"patched":["build_of_quarkus 3.27.4.SP3","build_of_quarkus 3.33.2.SP3"],"published":"2026-07-09","updated":"2026-10-20","sourceUpdated":"2026-10-20T04:42:57+00:00","source":"CSAF","sourceUrl":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-59921.json","references":[{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-59921.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-59921"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2507467"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-59921"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59921"},{"url":"https://github.com/netty/netty/security/advisories/GHSA-gcjf-9mgh-3p7g"},{"url":"https://access.redhat.com/errata/RHSA-2026:47189"},{"url":"https://access.redhat.com/errata/RHSA-2026:47172"},{"url":"https://github.com/netty/netty/releases/tag/netty-4.1.136.Final"},{"url":"https://github.com/netty/netty/releases/tag/netty-4.2.16.Final"},{"url":"https://github.com/advisories/GHSA-gcjf-9mgh-3p7g"}],"tags":["csaf","vex","red-hat","ghsa","maven"],"epss":0.00465,"epssPercentile":0.40112,"aliases":["GHSA-gcjf-9mgh-3p7g"],"ecosystem":"maven","ingestedAt":"2026-07-22T22:06:57.566Z","slug":"CVE-2026-59921","body":"## Overview\n\nA flaw was found in Netty's HttpPostRequestEncoder, a widely used Java networking library component responsible for constructing multipart HTTP request bodies. The issue arises because user-supplied filenames and field names are directly embedded into Content-Disposition MIME headers without any validation or sanitization of CRLF (\\r\\n) characters. Since MIME headers are delimited by CRLF sequences, an attacker who controls the filename in a multipart upload can inject arbitrary MIME headers into the request body. This may lead to limited Content-Type spoofing or header manipulation against middleware or storage layers processing the request, though the practical impact is constrained by the context in which Netty is deployed.\n\n## Vendor advisories\n\n- **RHSA-2026:47189** · Red Hat · fixed in: Red Hat build of Quarkus 3.27.4.SP3 · released 2026-07-29 · [advisory](https://access.redhat.com/errata/RHSA-2026:47189)\n- **RHSA-2026:47172** · Red Hat · fixed in: Red Hat build of Quarkus 3.33.2.SP3 · released 2026-07-30 · [advisory](https://access.redhat.com/errata/RHSA-2026:47172)\n- **Red Hat VEX** · Moderate · affected: Cryostat 4, OpenShift Serverless, Red Hat AMQ Broker 7, Red Hat AMQ Clients, Red Hat build of Apache Camel - HawtIO 4, Red Hat build of Apache Camel 4 for Quarkus 3, … · no fix planned: Cryostat 4, OpenShift Serverless, Red Hat AMQ Broker 7, Red Hat AMQ Clients, … · updated 2026-10-20 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-59921.json)\n\n**io.netty/netty-codec-http: Netty: CRLF Injection via Multipart Filename in Netty HttpPostRequestEncoder** — rated Moderate by Red Hat. Released 2026-07-09, updated 2026-10-20.\n\nAffected:\n\n- Cryostat 4\n- OpenShift Serverless\n- Red Hat AMQ Broker 7\n- Red Hat AMQ Clients\n- Red Hat build of Apache Camel - HawtIO 4\n- Red Hat build of Apache Camel 4 for Quarkus 3\n- Red Hat build of Apache Camel for Spring Boot 4\n- Red Hat build of Apicurio Registry 3\n- Red Hat build of Debezium 3\n- Red Hat Build of Keycloak\n- Red Hat build of Quarkus\n- Red Hat Data Grid 8\n- Red Hat Enterprise Linux AI (RHEL AI) 3\n- Red Hat JBoss Enterprise Application Platform 7\n- Red Hat JBoss Enterprise Application Platform 8\n- Red Hat JBoss Enterprise Application Platform Expansion Pack\n- Red Hat OpenShift AI (RHOAI)\n- Red Hat OpenShift Dev Spaces\n- Red Hat Satellite 6\n- Red Hat Single Sign-On 7\n- streams for Apache Kafka 2\n- streams for Apache Kafka 3\n\nFixed:\n\n- Red Hat build of Quarkus 3.27.4.SP3\n- Red Hat build of Quarkus 3.33.2.SP3\n\nNo fix planned:\n\n- Cryostat 4\n- OpenShift Serverless\n- Red Hat AMQ Broker 7\n- Red Hat AMQ Clients\n- Red Hat build of Apache Camel - HawtIO 4\n- Red Hat build of Apache Camel 4 for Quarkus 3\n- Red Hat build of Apache Camel for Spring Boot 4\n- Red Hat build of Apicurio Registry 3\n- Red Hat build of Debezium 3\n- Red Hat Build of Keycloak\n- Red Hat build of Quarkus\n- Red Hat Data Grid 8\n- Red Hat Enterprise Linux AI (RHEL AI) 3\n- Red Hat JBoss Enterprise Application Platform 7\n- Red Hat JBoss Enterprise Application Platform 8\n- Red Hat JBoss Enterprise Application Platform Expansion Pack\n- Red Hat OpenShift AI (RHOAI)\n- Red Hat OpenShift Dev Spaces\n- Red Hat Satellite 6\n- Red Hat Single Sign-On 7\n- streams for Apache Kafka 2\n- streams for Apache Kafka 3\n\nNot affected:\n\n- Red Hat build of Quarkus 3.27.4.SP3\n- Red Hat build of Quarkus 3.33.2.SP3\n\n## Remediation\n\nBefore applying this update, make sure all previously released errata\nrelevant to your system have been applied.\n\nFor details on how to apply this update, refer to:\n\nhttps://access.redhat.com/articles/11258 https://access.redhat.com/errata/RHSA-2026:47189\nBefore applying this update, make sure all previously released errata\nrelevant to your system have been applied.\n\nFor details on how to apply this update, refer to:\n\nhttps://access.redhat.com/articles/11258 https://access.redhat.com/errata/RHSA-2026:47172\n\nWorkarounds / mitigations:\n\n- Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.\n\n## Package advisory (CVE-2026-59921)\n\nAffected packages:\n\n- `io.netty:netty-codec-http >= 4.2.0.Final, < 4.2.16.Final`\n- `io.netty:netty-codec-http < 4.1.136.Final`\n\nPatched in:\n\n- `io.netty:netty-codec-http 4.2.16.Final`\n- `io.netty:netty-codec-http 4.1.136.Final`\n\nSource: https://github.com/advisories/GHSA-gcjf-9mgh-3p7g","depth":"sunlit","depthScore":31,"depthScoreParts":{"impact":31.4,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}