CVE-2026-142243
Ncarlier webhookd from 1.21.0 before 1.22.1 contains a path …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- 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
- github.com/ncarlier/webhookd/commit/9e6625444060735abea0c2bc250baff5d52c7537
- github.com/ncarlier/webhookd/security/advisories/GHSA-9g3f-ppc3-jx8p
- www.vulncheck.com/advisories/ncarlier-webhookd-1.21.0-before-1.22.1-path-traversal-rce-via
- nvd.nist.gov/vuln/detail/CVE-2026-142243
- cve.org/CVERecord?id=CVE-2026-142243
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.