Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
ncarlier webhookd
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

webhookd 是一个极简化的 Webhook 服务器,能够通过 HTTP 请求触发 Shell 脚本和外部进程。在 1.22.0 之前,未启用 htpasswd 认证的 webhookd 部署会将通过 中的 函数将所有传入的 HTTP 头无差别地传递到钩子(hook)脚本的环境中,且未实施白名单机制。如果上游反向代理未剥离客户端提供的 头,而钩子脚本又信任该变量用于身份识别或权限控制,则远程未认证的攻击者可以伪造其他用户身份,绕过脚本的安全控制措施,并访问或修改以被冒充身份所拥有的资源权限。该问题已在 1.22

CVSS 6.5 · Medium

Affected Version Matrix 1

VendorProduct Version RangeStatus
ncarlier webhookd < 1.22 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-59157

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
webhookd: Unrestricted HTTP Header to Shell Variable Injection
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
使用欺骗进行的认证绕过
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
ncarlier webhookd < 1.22 -

II. Public POCs for CVE-2026-59157

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-59157

登录查看更多情报信息。

Patches & Fixes for CVE-2026-59157 (2)

Vendor Advisories for CVE-2026-59157 (1)

Vendor Pages for CVE-2026-59157 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-59157

No comments yet


Leave a comment