High severity8.1NVD Advisory· Published Dec 2, 2026
CVE-2026-142243
CVE-2026-142243
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
1Patches
Vulnerability mechanics
References
5- github.com/ncarlier/webhookd/blob/v1.22.0/pkg/hook/helper.gonvd
- github.com/ncarlier/webhookd/blob/v1.22.0/pkg/hook/job.gonvd
- github.com/ncarlier/webhookd/commit/9e6625444060735abea0c2bc250baff5d52c7537nvd
- github.com/ncarlier/webhookd/security/advisories/GHSA-9g3f-ppc3-jx8pnvd
- www.vulncheck.com/advisories/ncarlier-webhookd-1.21.0-before-1.22.1-path-traversal-rce-via-resolvescriptnvd
News mentions
0No linked articles in our index yet.