{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-59157","id":"CVE-2026-59157","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-U","descriptionLong":"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.","published":"2026-09-15T15:46:35.418Z","updated":"2026-10-28T02:30:42.903612949Z","reserved":"2026-07-02T16:50:27.887Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["ncarlier webhookd"],"affectedProducts":[{"vendor":"ncarlier","product":"webhookd","defaultStatus":null,"versions":[{"version":"< 1.22","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/ncarlier/webhookd","purl":"pkg:golang/github.com/ncarlier/webhookd","ranges":["<1.22.0"],"fixed":["1.22.0"],"advisory":"GHSA-v25g-mvwr-f5fp"}],"cwes":["CWE-290","CWE-807"],"aliases":["GHSA-v25g-mvwr-f5fp","GO-2026-6451"],"references":[{"url":"https://github.com/ncarlier/webhookd/security/advisories/GHSA-v25g-mvwr-f5fp","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/ncarlier/webhookd/pull/121","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/ncarlier/webhookd/commit/5ac66677bf7224191f1dfc51a875b09187d10beb","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/ncarlier/webhookd/releases/tag/v1.22.0","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59157.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59157","tags":["advisory"]},{"url":"https://github.com/ncarlier/webhookd","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00596,"epssPercentile":0.49282,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-59157","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59157","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-59157","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-v25g-mvwr-f5fp","ok":true,"note":"GHSA-v25g-mvwr-f5fp"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-59157","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}