CVE-2026-142243
CRITICAL 9.2CVSS 4.0Ncarlier webhookd 1.21.0 before 1.22.1 Path Traversal RCE via ResolveScript
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.
- Published
- 2 Dec 2026
- Last modified
- 2 Dec 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Received
- Weakness
- CWE-22
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | CRITICAL 9.2 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CVE List | VulnCheck | CVSS 4.0 | CRITICAL 9.2 | 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 |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CVE List | VulnCheck | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: poc; Automatable: no; Technical Impact: total |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | ncarlier | webhookd | >= 1.21.0, < 1.22.1 | 1.22.1 |
References
- https://github.com/ncarlier/webhookd/blob/v1.22.0/pkg/hook/helper.go#L11-L18 · technical-description
- https://github.com/ncarlier/webhookd/blob/v1.22.0/pkg/hook/job.go#L197-L203 · technical-description
- https://github.com/ncarlier/webhookd/commit/9e6625444060735abea0c2bc250baff5d52c7537 · patch
- https://github.com/ncarlier/webhookd/security/advisories/GHSA-9g3f-ppc3-jx8p · vendor-advisory
- https://www.vulncheck.com/advisories/ncarlier-webhookd-1.21.0-before-1.22.1-path-traversal-rce-via-resolvescript · third-party-advisory
History
- 3 Dec 2026 00:30 UTC · NVD: 1 reference added
- 2 Dec 2026 23:30 UTC · CVE List: updated (other details)
- 2 Dec 2026 17:35 UTC · NVD: first stored (published 2 Dec 2026)
- 2 Dec 2026 16:57 UTC · CVE List: first stored (published 2 Dec 2026)