CVE-2026-142243 is a high-severity (CVSS 8.1) Path Traversal vulnerability in ncarlier webhookd. A fix is available — see the affected versions and patch details below.
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…
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
webhookdncarlierDetection & mitigation playbook
Vendor / applianceDetect
Inventory every ncarlier webhookd deployment and check each version against the affected-products list above.
Fix
Apply the ncarlier webhookd security patch or hotfix for CVE-2026-142243 on the affected version, following the vendor advisory for your exact build.
Workarounds
Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves. Alongside that, restrict the management interface to trusted networks and apply the vendor's recommended configuration mitigations.
Frequently Asked Questions
Is CVE-2026-142243 being exploited in your environment?
Detect and block the exploit chain at execution, on systems you cannot patch yet.