CVE-2026-142243
NVD
Vulnerability Summary
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.
CVSS v4.0 Base Metrics — Score 9.2 (CRITICAL)
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NAttack VectorNetwork
Attack ComplexityHigh
Attack RequirementsPresent
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)High
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 8.1)
CVSS v3.1 Base Metrics — Score 8.1 (HIGH)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HAttack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- ncarlier webhookd >= 1.21.0 and < 1.22.1
- ncarlier webhookd 1.22.1
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is critical.
- Check whether you run ncarlier webhookd and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Dec 2, 2026Published
- Dec 2, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new ncarlier webhookd CVEsYou are reading CVE-2026-142243. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Vendor Advisoryhttps://github.com/ncarlier/webhookd/security/advisories/GHSA-9g3f-ppc3-jx8p
- Patchhttps://github.com/ncarlier/webhookd/commit/9e6625444060735abea0c2bc250baff5d52c7537
- Referencehttps://github.com/ncarlier/webhookd/blob/v1.22.0/pkg/hook/helper.go#L11-L18
- Referencehttps://github.com/ncarlier/webhookd/blob/v1.22.0/pkg/hook/job.go#L197-L203
- Referencehttps://www.vulncheck.com/advisories/ncarlier-webhookd-1.21.0-before-1.22.1-path-traversal-rce-via-resolvescript
Data last checked: Dec 2, 2026 17:14 UTC