Summary
CVE-2026-123870 is a critical code injection (eval injection, CWE-95) vulnerability in the Eclipse Otterdog WebApp’s GitHub webhook receiver. When GITHUB_WEBHOOK_SECRET is unset or empty, an unauthenticated network attacker can execute arbitrary Python code on the host running the WebApp. The CVSS score is 9.5 (Critical).
Technical details
- Root cause: The WebApp builds a format-string from the
actionfield of the incoming GitHub webhook JSON body and evaluates it with Python’seval()without sanitization (CWE-95). - Trigger conditions:
GITHUB_WEBHOOK_SECRETis unset or empty. In that case the HMAC signature check is skipped entirely, so attacker-controlled input reaches theeval()sink. When the secret is set, only GitHub can produce valid signatures, and GitHub’sactionvalues are safe enum values. - Attack vector: Network, with no authentication and no user interaction. The vulnerable endpoint is
POST /github-webhook/receive(default port 5000, bound to 0.0.0.0). - Impact: Arbitrary Python code execution as the WebApp process, with high impact to confidentiality, integrity and availability.
Affected software
- Eclipse Otterdog (WebApp component, GitHub webhook receiver) versions 0.9.0 through 1.3.1.
Severity
- CVSS v4.0 base score: 9.5 (Critical)
- Vector:
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H - The published record uses CVSS v4.0. No CVSS v3.1 vector was found.
Mitigation and recommended actions
- Immediate: Upgrade Otterdog to a fixed release. The CVE record lists 1.3.2 and later as fixed. The GitHub advisory names 1.3.3 as the patched version and notes that no fix commit was on the default branch when it was published. Upgrade to the latest available release and confirm it contains the fix.
- Workaround: Set
GITHUB_WEBHOOK_SECRETto a non-empty value so webhook signatures are verified. - Network exposure: Where possible, don’t expose the webhook endpoint (port 5000) to untrusted networks. This is a general hardening step and is not stated in the advisory.
- Review WebApp hosts that ran without a webhook secret for signs of compromise.

