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…
- CVSS
- 8.1High
- Chance of exploitation (EPSS)
- 1.7%
- Published
- Dec 2, 2026
- In the news
- Not yet
What to do
A serious path traversal flaw in Ncarlier Webhookd that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Apply the vendor's update or follow its advisory.
Fixed in: 1.22.1
Affected versions
- Ncarlier Webhookd
- 1.21.0 to before 1.22.1
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.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2026-142243 published (CVSS 8.1) (Dec 2, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Wed, Dec 2, 2026
- CVECVE-2026-142243 published (CVSS 8.1)CVE Program · 16:49 UTC
References 5
- github.com Patch /ncarlier/webhookd/commit/9e6625444060735abea0c2bc250baff5d52c7537
- github.com Vendor Advisory /ncarlier/webhookd/security/advisories/GHSA-9g3f-ppc3-jx8p
- github.com /ncarlier/webhookd/blob/v1.22.0/pkg/hook/helper.go#L11-L18
- github.com /ncarlier/webhookd/blob/v1.22.0/pkg/hook/job.go#L197-L203
- www.vulncheck.com /advisories/ncarlier-webhookd-1.21.0-before-1.22.1-path-traversal-rce-via-resolvescript