Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/ncarlier/webhookd
  4. ›
  5. CVE-2026-59157

CVE-2026-59157: webhookd: Unrestricted HTTP Header to Shell Variable Injection

September 9, 2026

Before 1.22, if the Basic Auth (htpasswd) middleware was not configured, all incoming HTTP headers were blindly forwarded to the webhook script execution environment as shell variables. While the Basic Auth middleware correctly strips the authentication header (X-WebAuthn-User) from the incoming request before conditionally re-injecting it on successful authentication, disabling Basic Auth left the system vulnerable if deployed behind an unhardened reverse proxy.

References

  • github.com/advisories/GHSA-v25g-mvwr-f5fp
  • github.com/ncarlier/webhookd/releases/tag/v1.22.0
  • github.com/ncarlier/webhookd/security/advisories/GHSA-v25g-mvwr-f5fp
  • nvd.nist.gov/vuln/detail/CVE-2026-59157

Code Behaviors & Features

Detect and mitigate CVE-2026-59157 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 1.22.0

Fixed versions

  • 1.22.0

Solution

Upgrade to version 1.22.0 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-290: Authentication Bypass by Spoofing
  • CWE-807: Reliance on Untrusted Inputs in a Security Decision

Source file

go/github.com/ncarlier/webhookd/CVE-2026-59157.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Thu, 10 Sep 2026 00:19:50 +0000.