{"id":"DHI-jgzu-it2j-cxrn-czta","summary":"### Summary","details":"### Summary\nNetty's CorsHandler provides a `shortCircuit()` configuration designed to reject unauthorized cross-origin requests immediately, acting as a security control before requests reach the application. However, due to a logical operator error in the origin evaluation process, this protection can be entirely bypassed. An attacker can bypass the short-circuit mechanism by sending a request with an `Origin: null` header. This failure forwards unauthorized requests to the backend application, bypassing intended access controls.\n\n### Details\nIn `io.netty.handler.codec.http.cors.CorsHandler#channelRead`, the short-circuit logic relies on the configuration returned by `getForOrigin(origin)` to determine if an origin is authorized. If `getForOrigin` returns a configuration object, the short-circuit check `(!(origin == null || config != null))` is bypassed, and the request proceeds to the backend.\n\nThe vulnerability is located in the `getForOrigin` method:\n\n```java\n            if (corsConfig.isNullOriginAllowed() || NULL_ORIGIN.equals(requestOrigin)) {\n                return corsConfig;\n            }\n```\n\nIf an attacker sends `Origin: null`, `NULL_ORIGIN.equals(requestOrigin)` evaluates to true. The method returns the configuration object regardless of whether `isNullOriginAllowed()` was configured by the developer. The short-circuit is bypassed.\n\n### Impact\nApplications relying on CorsHandler's short-circuit feature to prevent unauthorized cross-origin requests from reaching their backend logic are completely exposed. The framework fails to enforce the developer's intended access controls, allowing unauthorized requests to be processed.","modified":"2026-11-21T14:30:37.266667566Z","published":"2026-11-10T07:31:25Z","upstream":["CVE-2026-56746"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-jgzu-it2j-cxrn-czta"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-6cqp-g7gg-8hr5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56746"},{"type":"ADVISORY","url":"https://github.com/netty/netty/security/advisories/GHSA-6cqp-g7gg-8hr5"},{"type":"WEB","url":"https://github.com/netty/netty/releases/tag/netty-4.2.16.Final"},{"type":"WEB","url":"https://github.com/netty/netty/releases/tag/netty-4.1.136.Final"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-56746"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-56746"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-56746"}],"affected":[{"package":{"name":"janusgraph-1.0","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/janusgraph-1.0"},"versions":["1.0.1-r0","1.0.1-r1","1.0.1-r10","1.0.1-r11","1.0.1-r2","1.0.1-r3","1.0.1-r4","1.0.1-r5","1.0.1-r6","1.0.1-r7","1.0.1-r8","1.0.1-r9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jgzu-it2j-cxrn-czta.json"}},{"package":{"name":"janusgraph-1.1","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/janusgraph-1.1"},"versions":["1.1.0-r0","1.1.0-r1","1.1.0-r10","1.1.0-r11","1.1.0-r12","1.1.0-r13","1.1.0-r17","1.1.0-r18","1.1.0-r2","1.1.0-r3","1.1.0-r4","1.1.0-r5","1.1.0-r6","1.1.0-r7","1.1.0-r8","1.1.0-r9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jgzu-it2j-cxrn-czta.json"}},{"package":{"name":"janusgraph-1.2","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/janusgraph-1.2"},"versions":["1.2.0-r0","1.2.0-r1","1.2.0-r10","1.2.0-r2","1.2.0-r3","1.2.0-r4","1.2.0-r9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jgzu-it2j-cxrn-czta.json"}},{"package":{"name":"cloud-sdk-emulators","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/cloud-sdk-emulators"},"versions":["578.0.0-0","578.0.0-1","579.0.0-0","580.0.0-2","581.0.0-0","581.0.0-1","581.0.0-2","582.0.0-0","582.0.0-1","583.0.0-0","583.0.0-1","583.0.0-2","584.0.0-0","584.0.0-1","584.0.0-2","585.0.0-0","586.0.0-0","586.0.0-1","587.0.0-0","587.0.0-1","588.0.0-0","588.0.0-1","588.0.0-2","589.0.0-0","590.0.0-0","590.0.1-0","591.0.0-0","591.0.0-1","591.0.0-2","592.0.0-0","593.0.0-0","593.0.0-1","593.0.0-10","593.0.0-11","593.0.0-12","593.0.0-13","593.0.0-2","593.0.0-3","593.0.0-4","593.0.0-5","593.0.0-6","593.0.0-7","593.0.0-8","593.0.0-9","594.0.0-1","594.0.0-2","594.0.0-3"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jgzu-it2j-cxrn-czta.json"}},{"package":{"name":"janusgraph-1.0","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/janusgraph-1.0"},"versions":["1.0.1-0","1.0.1-1","1.0.1-10","1.0.1-11","1.0.1-12","1.0.1-13","1.0.1-2","1.0.1-3","1.0.1-4","1.0.1-5","1.0.1-6","1.0.1-7","1.0.1-8","1.0.1-9"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jgzu-it2j-cxrn-czta.json","owner_kind":"HSP"}},{"package":{"name":"janusgraph-1.1","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/janusgraph-1.1"},"versions":["1.1.0-0","1.1.0-1","1.1.0-10","1.1.0-11","1.1.0-12","1.1.0-13","1.1.0-14","1.1.0-15","1.1.0-16","1.1.0-17","1.1.0-18","1.1.0-2","1.1.0-3","1.1.0-4","1.1.0-5","1.1.0-6","1.1.0-7","1.1.0-8","1.1.0-9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jgzu-it2j-cxrn-czta.json"}},{"package":{"name":"janusgraph-1.2","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/janusgraph-1.2"},"versions":["1.2.0-0","1.2.0-1","1.2.0-10","1.2.0-2","1.2.0-3","1.2.0-4","1.2.0-5","1.2.0-6","1.2.0-7","1.2.0-8","1.2.0-9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jgzu-it2j-cxrn-czta.json"}},{"package":{"name":"kafka-ui","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/kafka-ui"},"versions":["0.7.2-0","0.7.2-1","0.7.2-10","0.7.2-11","0.7.2-12","0.7.2-13","0.7.2-14","0.7.2-15","0.7.2-16","0.7.2-17","0.7.2-18","0.7.2-19","0.7.2-2","0.7.2-20","0.7.2-3","0.7.2-4","0.7.2-5","0.7.2-6","0.7.2-7","0.7.2-8","0.7.2-9"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-jgzu-it2j-cxrn-czta.json","owner_kind":"HSP"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"}]}