Skip to content
CVE PROGRAM SOURCE RECORD9.2 Critical

CVE-2026-142243

Ncarlier webhookd 1.21.0 before 1.22.1 Path Traversal RCE via ResolveScript

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

ncarlier webhookd

Default version status: unaffected

  • 1.21.0 to < 1.22.1affected
pkg:golang/github.com/ncarlier/webhookd

References