Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/dadrus/heimdall
  4. ›
  5. GHSA-4jgr-pg2m-m988

GHSA-4jgr-pg2m-m988: Heimdall: Forwarded Header Injection via Unsanitized Host Header in Proxy Mode

June 18, 2026

When Heimdall operates in proxy mode, it constructs the Forwarded HTTP header after executing the matched rule pipeline by inserting the incoming request’s Host header value directly into the header string without sanitizing commas or semicolons. This allows an attacker to inject additional parameters into the Forwarded header, potentially spoofing IP addresses for upstream services.

References

  • github.com/advisories/GHSA-4jgr-pg2m-m988
  • github.com/dadrus/heimdall/security/advisories/GHSA-4jgr-pg2m-m988

Code Behaviors & Features

Detect and mitigate GHSA-4jgr-pg2m-m988 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.17

Fixed versions

  • 0.17.17

Solution

Upgrade to version 0.17.17 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-20: Improper Input Validation
  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Source file

go/github.com/dadrus/heimdall/GHSA-4jgr-pg2m-m988.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 23 Jun 2026 12:24:31 +0000.