CVE-2026-59157
MEDIUM 6.5CVSS 3.1webhookd: Unrestricted HTTP Header to Shell Variable Injection
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
- 15 Sep 2026
- Last modified
- 30 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-290CWE-807
- Also known as
- GHSA-v25g-mvwr-f5fpGO-2026-6451
- Sources
- NVDJSONOSV GHSA-v25g-mvwr-f5fpJSONOSV GO-2026-6451JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/ncarlier/webhookd | < 1.22.0 | 1.22.0 |
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 · WEB
- https://github.com/ncarlier/webhookd/security/advisories/GHSA-v25g-mvwr-f5fp · WEB, ADVISORY
- https://github.com/ncarlier/webhookd · PACKAGE
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 15 Sep 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 Sep 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 9 Sep 2026)