{"affected":[{"defaultStatus":"unaffected","ecosystem":"golang","packageName":"github.com/ncarlier/webhookd","product":"webhookd","source":"CNA: VulnCheck","vendor":"ncarlier","versions":[{"lessThan":"1.22.1","status":"affected","version":"1.21.0","versionType":"semver"}]}],"cveId":"CVE-2026-142243","cwes":["CWE-22"],"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.","epss":null,"exploits":[{"kind":"exploit","source":"ADP: CISA-ADP","url":"https://github.com/ncarlier/webhookd/security/advisories/GHSA-9g3f-ppc3-jx8p"}],"kev":null,"metrics":[{"score":9.2,"severity":"critical","source":"CNA: VulnCheck","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","version":"4.0"},{"score":8.1,"severity":"high","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"score":9.2,"severity":"critical","source":"NVD: disclosure@vulncheck.com","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","version":"4.0"},{"score":8.1,"severity":"high","source":"NVD: disclosure@vulncheck.com","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}],"modifiedAt":1796253518037,"publishedAt":1796230199197,"references":[{"source":"CNA: VulnCheck","tags":["vendor-advisory"],"url":"https://github.com/ncarlier/webhookd/security/advisories/GHSA-9g3f-ppc3-jx8p"},{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/ncarlier/webhookd/commit/9e6625444060735abea0c2bc250baff5d52c7537"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/ncarlier/webhookd/blob/v1.22.0/pkg/hook/helper.go#L11-L18"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/ncarlier/webhookd/blob/v1.22.0/pkg/hook/job.go#L197-L203"},{"source":"CNA: VulnCheck","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/ncarlier-webhookd-1.21.0-before-1.22.1-path-traversal-rce-via-resolvescript"},{"source":"ADP: CISA-ADP","tags":["exploit"],"url":"https://github.com/ncarlier/webhookd/security/advisories/GHSA-9g3f-ppc3-jx8p"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/ncarlier/webhookd/blob/v1.22.0/pkg/hook/helper.go#L11-L18"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/ncarlier/webhookd/blob/v1.22.0/pkg/hook/job.go#L197-L203"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/ncarlier/webhookd/commit/9e6625444060735abea0c2bc250baff5d52c7537"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/ncarlier/webhookd/security/advisories/GHSA-9g3f-ppc3-jx8p"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://www.vulncheck.com/advisories/ncarlier-webhookd-1.21.0-before-1.22.1-path-traversal-rce-via-resolvescript"},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","tags":[],"url":"https://github.com/ncarlier/webhookd/security/advisories/GHSA-9g3f-ppc3-jx8p"}],"remediation":[{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/ncarlier/webhookd/commit/9e6625444060735abea0c2bc250baff5d52c7537"}],"revision":"58bc2d6a7b5e141a70cda0d5262c1264c1d298c8d2ab177abd42cb90612f0c38","sources":[{"modifiedAt":1796250911025,"name":"CNA: VulnCheck","retrievedAt":1796252961395,"url":"https://www.cve.org/CVERecord?id=CVE-2026-142243"},{"modifiedAt":1796253518037,"name":"NVD","retrievedAt":1796257285423,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142243"}],"ssvc":{"assessedAt":1796250877547,"automatable":"no","exploitation":"poc","source":"ADP: CISA-ADP","technicalImpact":"total"},"status":"published","title":"Ncarlier webhookd 1.21.0 before 1.22.1 Path Traversal RCE via ResolveScript","updatedAt":1796257285423}