CVE-2026-59157
webhookd is a minimalist webhook server that triggers shell scripts …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/ncarlier/webhookd/security/advisories/GHSA-v25g-mvwr-f5fp
- github.com/ncarlier/webhookd/releases/tag/v1.22.0
- github.com/advisories/GHSA-v25g-mvwr-f5fp
- github.com/ncarlier/webhookd/commit/5ac66677bf7224191f1dfc51a875b09187d10beb
- github.com/ncarlier/webhookd/pull/121
- nvd.nist.gov/vuln/detail/CVE-2026-59157
- cve.org/CVERecord?id=CVE-2026-59157
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.