Skip to content

CVE-2026-59157 webhookd: Unrestricted HTTP Header to Shell Variable Injection

MediumCVSS 6.5 EPSS 0.60%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
ncarlier github.com/ncarlier/webhookd(Go) < 1.22.0 1.22.0 Fixed
ncarlier github.com/ncarlier/webhookd = < 1.22 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
ncarlier github.com/ncarlier/webhookd(Go) < 1.22.0 1.22.0
ncarlier github.com/ncarlier/webhookd = < 1.22 No fix listed

References