{"id":"CVE-2026-59157","published":"2026-09-15T15:46:35Z","modified":"2026-09-16T15:38:42Z","title":"webhookd: Unrestricted HTTP Header to Shell Variable Injection","vendor":"ncarlier","product":"webhookd","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00596,"percentile":0.49418,"provenance":"source"},"cwes":[{"id":"CWE-290","name":"Authentication Bypass by Spoofing"},{"id":"CWE-807","name":"Reliance on Untrusted Inputs in a Security Decision"}],"references":[{"url":"https://github.com/ncarlier/webhookd/security/advisories/GHSA-v25g-mvwr-f5fp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ncarlier/webhookd/pull/121","tags":["x_refsource_MISC"]},{"url":"https://github.com/ncarlier/webhookd/commit/5ac66677bf7224191f1dfc51a875b09187d10beb","tags":["x_refsource_MISC"]},{"url":"https://github.com/ncarlier/webhookd/releases/tag/v1.22.0","tags":["x_refsource_MISC"]}],"priority":{"score":14.4,"factors":[{"name":"EPSS percentile","points":9.88},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"ncarlier","affectedVersions":[{"vendor":"ncarlier","product":"webhookd","versions":["< 1.22"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-16T15:38:31.622911Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/ncarlier/webhookd","vulnerableRanges":["<1.22.0"],"patched":["1.22.0"],"from":["GHSA-v25g-mvwr-f5fp","GO-2026-6451"],"provenance":"source"}],"summary":{"text":"webhookd, a minimalist webhook server that runs shell scripts from HTTP requests, forwards every incoming HTTP header into the hook script's environment without an allowlist when htpasswd authentication is not configured, in versions before 1.22.0. A remote, unauthenticated attacker can exploit this where an upstream reverse proxy fails to strip a client-supplied X-WebAuthn-User header and a hook script trusts that variable for identity or privilege decisions, allowing them to impersonate another user and access or modify that user's resources.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:37:14Z"},"euvd":{"id":"EUVD-2026-78685","exploited":false,"provenance":"source"}}