Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-59157 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

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.

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-290Authentication Bypass by Spoofing[email protected]
CWE-807Reliance on Untrusted Inputs in a Security Decision[email protected]

Affected Products

ProductVersions
webhookd
< 1.22

CPE

  • No CPEs found in CPE dictionary for this product.

Remediation

  • Upgrade: 1.22.0moderate effort
  • Workaround:low effort

    Enable Basic Auth (`htpasswd`) middleware to prevent all incoming HTTP headers from being forwarded to the webhook script execution environment.

  • Mitigation:low effort

    Configure the `WHD_ALLOWED_UPSTREAM_HEADERS` setting to enforce a strict allowlist of HTTP headers that can be converted into shell variables. The default allowed headers are now restricted to standard operational headers: `Accept, Content-Type, Content-Length, User-Agent, X-Forwarded-For`. Administrators relying on upstream authentication proxies must explicitly add their authentication headers (e.g., `WHD_ALLOWED_UPSTREAM_HEADERS="Accept, Content-Type, Content-Length, User-Agent, X-Forwarded-For, x-webauthn-user"`) to ensure they are passed to the scripts securely.

Change History

2 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-59157
NVD Published Date:
Sep 15, 2026
NVD Last Modified:
Sep 30, 2026
Source:
[email protected]