CVE-2026-59157
published medium CVSS 3.1 · 6.5webhookd: Unrestricted HTTP Header to Shell Variable Injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ncarlier | — | webhookd< 1.22 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ncarlier | webhookd | < 1.22 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-290 CWE-290: Authentication Bypass by Spoofing
- CWE-807 CWE-807: Reliance on Untrusted Inputs in a Security Decision
References
4Provider assertions
2GitHub_M · cna
webhookd: Unrestricted HTTP Header to Shell Variable Injection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 514ea51f297328c8c314ae3b0789a2c7dd2976ad6f7d1acc2079c4ab79a40bad
- Ingested
- 23 Sep 2026, 09:22:29 UTC
- Source record
- Official CVE record