{"id":"CVE-2026-142243","aliases":["EUVD-2026-141587","GHSA-8h9m-rx6h-pfg6","GHSA-9g3f-ppc3-jx8p"],"status":"published","title":"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.","severity":{"version":"4.0","score":9.2,"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","level":"critical","assessor":"cna","from":"cve","others":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},{"version":"4.0","score":9.2,"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/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","level":"critical","from":"ghsa"}]},"epss":{"day":"2026-12-04","score":0.01734,"percentile":0.78441,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false,"poc_reported":true},"cwes":["CWE-22"],"published":"2026-12-02T16:49:59Z","modified":"2026-12-04T16:38:28Z","products":[{"vendor":"ncarlier","product":"webhookd"}],"references":[{"url":"https://github.com/ncarlier/webhookd/security/advisories/GHSA-9g3f-ppc3-jx8p","tags":["vendor-advisory","exploit","advisory"]},{"url":"https://github.com/ncarlier/webhookd/commit/9e6625444060735abea0c2bc250baff5d52c7537","tags":["patch","fix"]},{"url":"https://github.com/ncarlier/webhookd/blob/v1.22.0/pkg/hook/helper.go#L11-L18","tags":["technical-description","article"]},{"url":"https://github.com/ncarlier/webhookd/blob/v1.22.0/pkg/hook/job.go#L197-L203","tags":["technical-description","article"]},{"url":"https://www.vulncheck.com/advisories/ncarlier-webhookd-1.21.0-before-1.22.1-path-traversal-rce-via-resolvescript","tags":["third-party-advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142243","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-8h9m-rx6h-pfg6"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142243.json","tags":["advisory"]},{"url":"https://github.com/ncarlier/webhookd","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-142243","title":"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.","status":"published","published":"2026-12-02T16:49:59.197Z","modified":"2026-12-02T22:35:11.025Z","cvss":[{"version":"4.0","score":9.2,"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","level":"critical","assessor":"cna"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-22"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total","date":"2026-12-02"},"updated_at":"2026-12-02T22:39:58.949666Z"}],"euvd":[{"id":"EUVD-2026-141587","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.","status":"published","published":"2026-12-02T16:49:59Z","modified":"2026-12-02T22:35:11Z","cvss":[{"version":"4.0","score":9.2,"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","level":"critical"}],"updated_at":"2026-12-02T21:27:23.327078Z"}],"ghsa":[{"id":"GHSA-8h9m-rx6h-pfg6","title":"Ncarlier webhookd from 1.21.0 before 1.22.1 contains a path traversal vulnerability in...","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.","status":"published","published":"2026-12-02T18:31:48Z","modified":"2026-12-02T18:31:53Z","cvss":[{"version":"4.0","score":9.2,"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/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","level":"critical"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-12-02T18:38:43.855074Z"}],"nvd":[{"id":"CVE-2026-142243","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.","status":"published","published":"2026-12-02T17:17:48.433Z","modified":"2026-12-04T16:38:28.523Z","cvss":[{"version":"4.0","score":9.2,"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/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","level":"critical","assessor":"secondary"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-22"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total","date":"2026-12-02"},"updated_at":"2026-12-02T23:19:38.051602Z"}],"osv":[{"id":"CVE-2026-142243","title":"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.","status":"published","published":"2026-12-02T16:49:59.197Z","modified":"2026-12-03T21:02:05.416887684Z","cvss":[{"version":"4.0","score":9.2,"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","level":"critical"}],"cwes":["CWE-22"],"updated_at":"2026-12-03T21:10:05.302032Z"}]}}
