CVE-2026-142243
8.1HighPublished Dec 2, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Network
- Complexity
- High
- Privileges
- None
- User action
- None
- Impact
- Full C/I/A compromise
- Weakness
- CWE-22
What an attacker gets
Authenticated attackers can execute arbitrary programs on the host by bypassing path containment. This requires valid hook authentication to trigger the traversal.
Root cause
The ResolveScript function uses an insufficient prefix check that fails to prevent path traversal via encoded dot-dot sequences.
Affected versions
webhookd 1.21.0 through 1.22.0
CVSS v3.1 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Fix & remediation
Upgrade to webhookd 1.22.1 or later. If you cannot upgrade immediately, restrict access to the webhookd service via network-level firewall rules to limit exposure to trusted sources.
AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
Ncarlier webhookd from 1.21.0 before 1.22.1 contains a path traversal vulnerability in ResolveScript() that allows remote attackers to execute programs outside the hook scripts directory by bypassing a strings.HasPrefix containment check. Attackers who satisfy configured hook authentication can send an encoded ../ path targeting a sibling directory sharing the scripts prefix, running executables with the request body as input as the webhookd user.
References
- https://github.com/ncarlier/webhookd/blob/v1.22.0/pkg/hook/helper.go#L11-L18
- https://github.com/ncarlier/webhookd/blob/v1.22.0/pkg/hook/job.go#L197-L203
- https://github.com/ncarlier/webhookd/commit/9e6625444060735abea0c2bc250baff5d52c7537
- https://github.com/ncarlier/webhookd/security/advisories/GHSA-9g3f-ppc3-jx8p
- https://www.vulncheck.com/advisories/ncarlier-webhookd-1.21.0-before-1.22.1-path-traversal-rce-via-resolvescript
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-160237.3HighLocal attackers can escalate privileges to SYSTEM. They need low-privileged access to the host during an agent upgrade or uninstallation.
- CVE-2026-1423277.4HighRemote attackers can take over administrator accounts by registering a social login account with the admin's email address. No prior access is required, only the ability to trigger the OAuth callback and merge process.
- CVE-2026-1423207.7HighUnauthenticated attackers can delete, read, or overwrite files in your S3 storage if they discover an object key. They do not need an account or user interaction to exploit this.
- CVE-2026-1423077.1HighAuthenticated users can crash your search and indexing by stopping or removing data nodes. This requires a valid user account with at least Reader access.
- CVE-2026-1423007.3HighUnauthenticated attackers can inject properties into the server's object prototype via WebSocket messages. This allows them to intercept room secrets and hijack or disrupt user pairing sessions.
- CVE-2026-1422968.1HighUnauthenticated attackers can hijack user sessions by stealing one-time codes via an open redirect. This requires a logged-in user to click a malicious link.