{"id":"CVE-2026-142243","aliases":[],"url":"https://o3.security/vulnerability/CVE-2026-142243","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…","details":"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":"2026-12-02T16:49:59.197Z","modified":"2026-12-02T16:49:59.197Z","cvss":{"score":8.1,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[],"fix":{"url":"https://github.com/ncarlier/webhookd/commit/9e6625444060735abea0c2bc250baff5d52c7537","label":"ncarlier/webhookd@9e66254"},"references":[{"type":"ADVISORY","url":"https://github.com/ncarlier/webhookd/security/advisories/GHSA-9g3f-ppc3-jx8p"},{"type":"FIX","url":"https://github.com/ncarlier/webhookd/commit/9e6625444060735abea0c2bc250baff5d52c7537"},{"type":"WEB","url":"https://github.com/ncarlier/webhookd/blob/v1.22.0/pkg/hook/helper.go#L11-L18"},{"type":"WEB","url":"https://github.com/ncarlier/webhookd/blob/v1.22.0/pkg/hook/job.go#L197-L203"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/ncarlier-webhookd-1.21.0-before-1.22.1-path-traversal-rce-via-resolvescript"}],"provenance":{"sources":["OSV.dev","NVD","FIRST.org (EPSS)"],"lastVerified":"2026-12-02T16:49:59.197Z"}}