OliveTin
OliveTin vulnerable to OS Command Injection via `password` argument type and webhook JSON extraction bypasses shell safety checks
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.
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- <= 3000.10.0
- < 0.0.0-20260222101908-4bbd2eab1532
Fixed in 0.0.0-20260222101908-4bbd2eab1532
from GitHub Security Advisory GHSA-49gm-hh7w-wfvf
Mitigation
Upgrade github.com/OliveTin/OliveTin to 0.0.0-20260222101908-4bbd2eab1532 or later.
References
- Vendor advisory github.com/OliveTin/OliveTin/security/advisori…
Timeline
Days relative to CVE publicationFirst public PoC 125 days after publication; not in CISA KEV. First PoC: 0xh7ml/CVE-2026-27626-PoC (created 30 Jun 2026, found by us: backfilled).
PoC repositories
Found on GitHub.3 PoCs · 1 informational
PoCs 3
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| 0xh7ml/CVE-2026-27626-PoC | 30 Jun 2026 +125 d | 2 | PoC |
| Cobrastrike62/CVE-2026-27626-POC | 10 Jul 2026 +136 d | 2 | PoC |
| Shisones/CVE-2026-27626 | 11 Oct 2026 +228 d | 0 | PoC |
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| abdelhakimgaferNetworkSec/Enigm-Writeup | 23 Sep 2026 +211 d | 1 | Informational · write-up |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 3 PoC reposPOST /api/olivetin.api.v1.OliveTinApiService/StartAction
- Body markers
"bindingId":"backup_database""arguments""uniqueTrackingId""bindingId""executionTrackingId"inapplication/json- Seen in
- 2 repos: 0xh7ml/CVE-2026-27626-PoC, Cobrastrike62/CVE-2026-27626-POC
- Evidence
- 0xh7ml/CVE-2026-27626-PoC/CVE-2026.27626.py:37 0xh7ml/CVE-2026-27626-PoC/CVE-2026.27626.py:56 Cobrastrike62/CVE-2026-27626-POC/exploit.py:48 Cobrastrike62/CVE-2026-27626-POC/exploit.py:55
POST /api/{var}/{var}
- Content-Type
application/json- Ports
- 1337
- Seen in
- 1 repo: Shisones/CVE-2026-27626
- Evidence
- Shisones/CVE-2026-27626/exploit.py:48
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/api/olivetin\.api\.v1\.OliveTinApiService/StartAction(?:[?#].*)?$
(?i)^/api/[^/?#]*/[^/?#]*(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-27626 OliveTin OliveTin exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/olivetin.api.v1.OliveTinApiService/StartAction"; http.request_body; content:"|22|bindingId|22|:|22|backup_database|22|"; http.request_body; content:"|22|arguments|22|"; http.request_body; content:"|22|uniqueTrackingId|22|"; http.request_body; content:"|22|bindingId|22|"; http.request_body; content:"|22|executionTrackingId|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-27626; classtype:web-application-attack; sid:9471975; rev:1;)
alert http any any -> $HOME_NET [1337] (msg:"GG PoC-Monitor CVE-2026-27626 OliveTin OliveTin exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/"; reference:url,poc.griffinguard.io/cve/CVE-2026-27626; classtype:web-application-attack; sid:9745771; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: OliveTin OliveTin exploit attempt (CVE-2026-27626)
id: gg-pocmon-cve-2026-27626-9471975
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-27626. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-27626
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/api/olivetin.api.v1.OliveTinApiService/StartAction'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.27626
title: OliveTin OliveTin exploit attempt (CVE-2026-27626)
id: gg-pocmon-cve-2026-27626-9745771
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-27626. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-27626
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/api/'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.27626