Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. io.netty/netty-codec-http
  4. ›
  5. CVE-2026-56746

CVE-2026-56746: Netty: Security Control Bypass via CORS Short-Circuit Failure

July 22, 2026

Netty’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.

References

  • github.com/advisories/GHSA-6cqp-g7gg-8hr5
  • github.com/netty/netty/releases/tag/netty-4.1.136.Final
  • github.com/netty/netty/releases/tag/netty-4.2.16.Final
  • github.com/netty/netty/security/advisories/GHSA-6cqp-g7gg-8hr5
  • nvd.nist.gov/vuln/detail/CVE-2026-56746

Code Behaviors & Features

Detect and mitigate CVE-2026-56746 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.1.136, all versions starting from 4.2.0 before 4.2.16

Fixed versions

  • 4.1.136
  • 4.2.16

Solution

Upgrade to versions 4.1.136, 4.2.16 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-284: Improper Access Control

Source file

maven/io.netty/netty-codec-http/CVE-2026-56746.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:17:56 +0000.