CVE-2026-142243: ncarlier webhookd · Path traversal
Exploitation: Public exploit · CVSS 9.2 Critical · Unauthenticated · Published 2026-12-02
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.
Fix
Upgrade to 1.22.1.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| webhookd | 1.21.0 before 1.22.1 | 1.22.1 |