CVE-2026-142243: Ncarlier webhookd 1.21.0 before 1.22.1 Path Traversal RCE via ResolveScript

Published Dec 2, 2026
·
Updated

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.

Affected Software

1 affected component
Ncarlier webhookd>=1.21.0<1.22.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Ncarlier webhookd to a version that resolves this vulnerability.

    Fixed in 1.22.1

Event History

Dec 2, 2026
CVE Published
via MITRE·04:49 PM
Data Sourced
via MITRE·04:49 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are affected?

Ncarlier webhookd versions 1.21.0 before 1.22.1 are affected. Version 1.22.1 is outside the stated affected range.

2

What does an attacker need to exploit this issue?

The attacker must be able to send requests to a hook and satisfy the hook authentication configured for that hook. They can use an encoded ../ path that bypasses the scripts-directory containment check.

3

What can an attacker do after successful exploitation?

An attacker can cause webhookd to execute a program outside the configured hook scripts directory, including from a sibling directory that shares the scripts path prefix. The program runs as the webhookd user and receives the request body as input.

4

How can I identify potential exposure?

Check whether webhookd is running a version from 1.21.0 through before 1.22.1, and review hooks reachable by authenticated requesters. Exposure is particularly relevant where executable files exist in sibling directories whose paths share the configured scripts-directory prefix.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203