CVE-2026-59157
CVE-2026-59157 · webhookd: Unrestricted HTTP Header to Shell Variable Injection
CVSS 6.5 · Medium · EPSS 0.5%
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- webhookdNo fix published
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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
- Updated
Fixes in distributions
- openSUSE-SU-2026:21897-1 · openSUSE Leap 16.0 ·
- SUSE-SU-2026:23855-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
- SUSE-SU-2026:23863-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
Affected products and versions
webhookd
- Versions
- < 1.22: Affected
No fix published
Original sources
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2026-59157