CVE-2026-59157

published 15 Sep 2026 · updated 16 Sep 2026

webhookd: Unrestricted HTTP Header to Shell Variable Injection

6.5MediumCVSS 6.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
ncarlier<1.22

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-59157 severity on Zeptric[![CVE-2026-59157](https://zeptric.io/badge/cve/CVE-2026-59157.svg)](https://zeptric.io/cve/CVE-2026-59157)