{"cve":"CVE-2026-59157","nvd":{"published":"2026-09-15T16:17:16.957","modified":"2026-09-30T17:51:56.193","status":"Deferred","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5},"cwes":["CWE-290","CWE-807"],"references":["https://github.com/ncarlier/webhookd/commit/5ac66677bf7224191f1dfc51a875b09187d10beb","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"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:53:43.293028046+00:00"},"epss":{"cve":"CVE-2026-59157","score":0.00596,"percentile":0.48181,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-v25g-mvwr-f5fp","url":"https://osv.dev/vulnerability/GHSA-v25g-mvwr-f5fp","summary":"webhookd: Unrestricted HTTP Header to Shell Variable Injection","modified":"2026-09-17T17:40:34.657087697Z","packages":[{"ecosystem":"Go","name":"github.com/ncarlier/webhookd","purl":"pkg:golang/github.com/ncarlier/webhookd","ranges":["<1.22.0"],"fixed":["1.22.0"]}]},{"id":"GO-2026-6451","url":"https://osv.dev/vulnerability/GO-2026-6451","summary":"webhookd: Unrestricted HTTP Header to Shell Variable Injection in github.com/ncarlier/webhookd","modified":"2026-09-17T17:30:11.275252224Z","packages":[{"ecosystem":"Go","name":"github.com/ncarlier/webhookd","purl":"pkg:golang/github.com/ncarlier/webhookd","ranges":["<1.22.0"],"fixed":["1.22.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}