# CVE-2026-142243: Ncarlier webhookd 1.21.0 before 1.22.1 Path Traversal RCE via ResolveScript

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.2 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 05-12-2026)
- Next step: Check applicability: affected before 1.22.1 (CNA); fix release not confirmed
- Status: published
- Published: 2026-12-02 · Modified: 2026-12-02
- Record: https://cvemate.com/vulnerability/CVE-2026-142243 · JSON: https://cvemate.com/vulnerability/CVE-2026-142243/json

## Description

```text
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.
```

## Signals

- CVSS: 9.2 critical (v4.0, CVE.org) CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- EPSS: 1.734%, percentile 78.475%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- ncarlier webhookd: ≥ 1.21.0, \< 1.22.1

## References

- <https://github.com/ncarlier/webhookd/security/advisories/GHSA-9g3f-ppc3-jx8p>
- <https://github.com/ncarlier/webhookd/commit/9e6625444060735abea0c2bc250baff5d52c7537>
- <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://www.vulncheck.com/advisories/ncarlier-webhookd-1.21.0-before-1.22.1-path-traversal-rce-via-resolvescript>

---

Data as of 2026-12-05T14:12:57.526Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
