Skip to main content

CVE-2026-59157: CWE-290: Authentication Bypass by Spoofing in ncarlier webhookd

0
Medium
VulnerabilityCVE-2026-59157cvecve-2026-59157cwe-290cwe-807
Published: 09/15/2026 (09/15/2026, 15:46:35 UTC)
Source: CVE Database V5
Vendor/Project: ncarlier
Product: webhookd

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.

CVSS v3.1

Score 6.5medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Affected software

ncarlier

webhookd

Affected versions
<1.22
GitHub Actionsmore threats →ai
ncarlier/webhookd
pkg:github/ncarlier/webhookd
Affected versions
<1.22.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/15/2026, 16:02:13 UTC

Technical Analysis

webhookd is a minimalist webhook server that triggers shell scripts via HTTP requests. Before version 1.22.0, deployments without htpasswd authentication forwarded all HTTP headers into the hook script environment without filtering. An attacker can exploit this by sending a spoofed X-WebAuthn-User header if the upstream proxy does not strip it, enabling authentication bypass by impersonating another user. This allows unauthorized access or modification of resources accessible to the impersonated identity. The vulnerability is addressed in version 1.22.0.

Potential Impact

A remote unauthenticated attacker can spoof the X-WebAuthn-User header to bypass authentication controls in webhookd hook scripts, potentially gaining unauthorized access or modifying resources associated with the impersonated user. The impact includes limited confidentiality and integrity loss but no availability impact.

Mitigation Recommendations

Upgrade webhookd to version 1.22.0 or later, where this vulnerability is fixed. Ensure that htpasswd authentication is enabled if applicable. Additionally, configure upstream reverse proxies to strip or validate the X-WebAuthn-User header to prevent spoofing. Patch status is confirmed fixed in version 1.22.0.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-07-02T16:50:27.887Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6aa9688d55bf5e2cf5074e58

Added to database: 09/15/2026, 15:47:25 UTC

Last enriched: 09/15/2026, 16:02:13 UTC

Last updated: 09/16/2026, 02:18:12 UTC

Views: 17

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses