Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/dadrus/heimdall
  4. ›
  5. CVE-2026-42273

CVE-2026-42273: Heimdall: Case-sensitive host matching may lead to policy bypass

April 25, 2026 (updated May 4, 2026)

Heimdall performs host matching in a case-sensitive manner, while HTTP hostnames are case-insensitive. This discrepancy can result in heimdall failing to match a rule for a request host that differs only in letter casing, potentially causing the request to be classified differently than intended.

Note: The issue can only lead to unintended access if heimdall is configured with an “allow all” default rule. Since v0.16.0, heimdall enforces secure defaults and refuses to start with such a configuration unless this enforcement is explicitly disabled, e.g. via --insecure-skip-secure-default-rule-enforcement or the broader --insecure flag.

References

  • github.com/advisories/GHSA-72h4-mxfc-jx37
  • github.com/dadrus/heimdall
  • github.com/dadrus/heimdall/security/advisories/GHSA-72h4-mxfc-jx37
  • nvd.nist.gov/vuln/detail/CVE-2026-42273

Code Behaviors & Features

Detect and mitigate CVE-2026-42273 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 0.17.14

Fixed versions

  • 0.17.14

Solution

Upgrade to version 0.17.14 or above.

Impact 9.1 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-178: Improper Handling of Case Sensitivity
  • CWE-436: Interpretation Conflict

Source file

go/github.com/dadrus/heimdall/CVE-2026-42273.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 09 May 2026 12:19:00 +0000.