Vulnerability Description
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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/ncarlier/webhookd/commit/5ac66677bf7224191f1dfc51a875b09187d1
- https://github.com/ncarlier/webhookd/pull/121
- https://github.com/ncarlier/webhookd/releases/tag/v1.22.0
- https://github.com/ncarlier/webhookd/security/advisories/GHSA-v25g-mvwr-f5fp
FAQ
What is CVE-2026-59157?
CVE-2026-59157 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 in...
How severe is CVE-2026-59157?
CVE-2026-59157 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-59157?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.