Skip to main content
← All vulnerabilities
CVE-2026-27626GO-2026-4547GHSA-49GM-HH7W-WFVF

OliveTin vulnerable to OS Command Injection via `password` argument type and webhook JSON extraction bypasses shell safety checks

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.0.0-20260222101908-4bbd2eab1532
2 proofs of concept on GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

OliveTin gives access to predefined shell commands from a web interface. In versions up to and including 3000.10.0, OliveTin's shell mode safety check (`checkShellArgumentSafety`) blocks several dangerous argument types but not `password`. A user supplying a `password`-typed argument can inject shell metacharacters that execute arbitrary OS commands. A second independent vector allows unauthenticated RCE via webhook-extracted JSON values that skip type safety checks entirely before reaching `sh -c`. When exploiting vector 1, any authenticated user (registration enabled by default, `authType: none` by default) can execute arbitrary OS commands on the OliveTin host with the permissions of the OliveTin process. When exploiting vector 2, an unauthenticated attacker can achieve the same if the instance receives webhooks from external sources, which is a primary OliveTin use case. When an attacker exploits both vectors, this results in unauthenticated RCE on any OliveTin instance using Shell mode with webhook-triggered actions. As of time of publication, a patched version is not available.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • OliveTin OliveTin

    through 3000.10.0

  • github.com/OliveTin/OliveTinGo

    All versions

  • github.com/OliveTin/OliveTinGo

    fixed in 0.0.0-20260222101908-4bbd2eab1532

References 3

GitHub · OliveTin/OliveTin

GitHub · 0xh7ml/CVE-2026-27626-PoC

GitHub · abdelhakimgaferNetworkSec/Enigm-Writeup