Skip to main content
← All vulnerabilities
CVE-2026-59157GHSA-V25G-MVWR-F5FPGO-2026-6451

webhookd: Unrestricted HTTP Header to Shell Variable Injection

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.22, 1.22.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

webhookd is a minimalist webhook server that triggers shell scripts and external processes through HTTP requests. Prior to 1.22.0, webhookd deployments without htpasswd authentication forwarded all incoming HTTP headers through HTTPParamsToShellVars in pkg/api/index.go into the hook script environment without an allowlist. When an upstream reverse proxy did not strip a client-supplied X-WebAuthn-User header and a hook script trusted that variable for identity or privilege, a remote unauthenticated attacker could spoof another user, bypass script security controls, and access or modify resources available to the impersonated identity. This issue is fixed in version 1.22.0.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • ncarlier webhookd

    fixed in 1.22

  • github.com/ncarlier/webhookdGo

    fixed in 1.22.0

References 4

GitHub · ncarlier/webhookd