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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
References
- 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://github.com/ncarlier/webhookd/commit/9e6625444060735abea0c2bc250baff5d52c7537
- https://github.com/ncarlier/webhookd/security/advisories/GHSA-9g3f-ppc3-jx8p
- https://www.vulncheck.com/advisories/ncarlier-webhookd-1.21.0-before-1.22.1-path-traversal-rce-via-resolvescript
CWEs
CWE-22
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.