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

CVE-2026-42272: Heimdall: Case-sensitive handling of URL-encoded slashes may lead to inconsistent path interpretation

April 25, 2026 (updated May 4, 2026)

Heimdall handles URL-encoded slashes (%2F) in a case-sensitive manner, while percent-encoding is defined to be case-insensitive. As a result, the lowercase equivalent (%2f) is not recognized and therefore not processed as expected when allow_encoded_slashes is set to off (the default setting).

This discrepancy can lead to differences in how request paths are interpreted by heimdall and upstream components, which may result in authorization bypass.

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-43jv-5j4x-qv67
  • github.com/dadrus/heimdall
  • github.com/dadrus/heimdall/security/advisories/GHSA-43jv-5j4x-qv67
  • nvd.nist.gov/vuln/detail/CVE-2026-42272

Code Behaviors & Features

Detect and mitigate CVE-2026-42272 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-42272.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 09 May 2026 12:18:57 +0000.