CVE-2026-142243 PUBLISHED

Ncarlier webhookd 1.21.0 before 1.22.1 Path Traversal RCE via ResolveScript

Assigner: VulnCheck
Reserved: 02.12.2026 Published: 02.12.2026 Updated: 02.12.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 9.2

Product Status

Vendor ncarlier
Product webhookd
Versions Default: unaffected
  • affected from 1.21.0 to 1.22.1 (excl.)

Credits

  • Zachariah Mithani (AploSec) finder
  • ashish-bhangale finder

References

Problem Types

  • Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') CWE