{"id":"CVE-2026-59157","revision":"cf0c3dbf9ef14548813377056e7b1ae9","records":[{"revision":"cf0c3dbf9ef14548813377056e7b1ae9","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-59157","aliases":[],"title":"webhookd: Unrestricted HTTP Header to Shell Variable Injection","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.","state":0,"publishedAt":"2026-09-15T15:46:35.418+00:00","modifiedAt":"2026-09-16T15:38:42.407+00:00","affected":[{"ecosystem":"Vendor product","name":"webhookd","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"ncarlier\",\n                    \"product\": \"webhookd\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 1.22\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 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,"severity":"MEDIUM"}],"references":["https://github.com/ncarlier/webhookd/security/advisories/GHSA-v25g-mvwr-f5fp","https://github.com/ncarlier/webhookd/pull/121","https://github.com/ncarlier/webhookd/commit/5ac66677bf7224191f1dfc51a875b09187d10beb","https://github.com/ncarlier/webhookd/releases/tag/v1.22.0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-59157","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-59157","identifiers":["CVE-2026-59157"]},"retained":false,"historicalAffected":[]}],"coverage":[]}