Vulnerability · Published Sep 15, 2026 · Assigned by GitHub_M

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

Medium 6.5

In plain English

A medium-severity authentication bypass by spoofing in webhookd from ncarlier. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 49% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.6%top 51.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/ncarlier/webhookd1.22.0GO-2026-6451
Gogithub.com/ncarlier/webhookd1.22.0GHSA-v25g-mvwr-f5fp

Affected products (as reported)

VendorProductVersions
ncarlier webhookd < 1.22

Weakness: CWE-290, CWE-807 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

References