CVE-2026-142243
Ncarlier webhookd 1.21.0 before 1.22.1 Path Traversal RCE via ResolveScript
9.2 CRITICALEPSS 1.73%Not in KEVNVD: Received
Overview
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.
Severity
| Score | Severity | Version | Technologies Affected |
|---|---|---|---|
| 9.2 | CRITICAL | 4.0VulnCheck (CNA) | Ncarlier Webhookd |
| 8.1 | HIGH | 3.1VulnCheck (CNA) |
Details
- CVE ID
- CVE-2026-142243
- Status
- Received
- Assigner (CNA)
- VulnCheck
- Published
- Dec 2, 2026
- Last modified
- Dec 2, 2026, 11:18 PM UTC
- Weaknesses
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Products
As published by the CNA in the CVE record.
ncarlierwebhookd1 version range
- 1.21.0 before 1.22.1
References
- github.com https://github.com/ncarlier/webhookd/blob/v1.22.0/pkg/hook/helper.go#L11-L18
- github.com https://github.com/ncarlier/webhookd/blob/v1.22.0/pkg/hook/job.go#L197-L203
- github.com https://github.com/ncarlier/webhookd/commit/9e6625444060735abea0c2bc250baff5d52c7537
- github.com https://github.com/ncarlier/webhookd/security/advisories/GHSA-9g3f-ppc3-jx8p
- vulncheck.com https://www.vulncheck.com/advisories/ncarlier-webhookd-1.21.0-before-1.22.1-path-traversal-rce-via-resolvescript