Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-142243: critical-severity vulnerability (CVSS 9.2) in ncarlier webhookd.
What happened
Original description from the source: 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.
Why it matters
Critical severity, CVSS 9.2.
Affected products and versions
ncarlier webhookd >= 1.21.0, < 1.22.1
| Product | Versions | Fixed in |
|---|---|---|
| ncarlier webhookd | >= 1.21.0, < 1.22.1 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/ncarlier/webhookd/security/advisories/GHSA-9g3f-ppc3-jx8p — CVE Program
- https://github.com/ncarlier/webhookd/commit/9e6625444060735abea0c2bc250baff5d52c7537 — CVE Program
- https://github.com/ncarlier/webhookd/blob/v1.22.0/pkg/hook/helper.go#L11-L18 — CVE Program
- https://github.com/ncarlier/webhookd/blob/v1.22.0/pkg/hook/job.go#L197-L203 — CVE Program
- https://www.vulncheck.com/advisories/ncarlier-webhookd-1.21.0-before-1.22.1-path-traversal-rce-via-resolvescript — CVE Program
Weaknesses (CWE): CWE-22
Relevant change history
Published
Preliminary advisory published.