Description
OliveTin gives access to predefined shell commands from a web interface. From 3000.2.0 until 3000.17.0, the service/internal/executor/arguments.go checkShellArgumentSafety function does not treat regex: custom argument types as unsafe for Shell mode actions, allowing values that pass typeSafetyCheckRegex to be interpolated by wrapCommandInShell into an sh -c command string and enabling OS command injection. This issue is fixed in version 3000.17.0.
Published: 2026-07-29
Score: 6.6 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

OliveTin is a web‑based interface that lets users trigger predefined shell commands. Between versions 3000.2.0 and 3000.17.0 the checkShellArgumentSafety function did not treat regex: custom argument types as unsafe for Shell mode actions. Consequently, an attacker can supply a value that satisfies typeSafetyCheckRegex, which is then interpolated by wrapCommandInShell into an sh -c command string, leading to arbitrary OS command execution. The weakness is catalogued as CWE‑78 (OS Command Injection).

Affected Systems

The vulnerability affects OliveTin releases from 3000.2.0 up to and including 3000.16.999. Updating to OliveTin version 3000.17.0 or newer removes the flaw, as the checkShellArgumentSafety function now prevents regex: custom types from being treated as safe.

Risk and Exploitability

The CVSS score of 6.6 indicates a medium severity. The EPSS score is less than 1%, suggesting a low probability of exploitation in the near term, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is remote via the web interface; an attacker could inject payloads through the custom regex argument of a Shell mode action. If exploited, the attacker gains OS command execution on the host, which could compromise confidentiality, integrity, and availability of the system.

Generated by OpenCVE AI on August 3, 2026 at 12:49 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade OliveTin to version 3000.17.0 or later, which patches the command injection flaw.
  • If an immediate upgrade is not possible, disable Shell mode actions or configure them to reject regex: custom argument types to block dangerous input.
  • Continuously monitor web interface activity and server logs for attempts to use custom regex arguments, and enforce least privilege for the execution context of any remaining Shell mode actions.

Generated by OpenCVE AI on August 3, 2026 at 12:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-xc5w-4v5w-7x65 OliveTin OS Command Injection via Custom regex: Argument Type Bypassing Shell Safety Check
History

Thu, 30 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 29 Jul 2026 22:45:00 +0000

Type Values Removed Values Added
First Time appeared Olivetin
Olivetin olivetin
Vendors & Products Olivetin
Olivetin olivetin

Wed, 29 Jul 2026 21:15:00 +0000

Type Values Removed Values Added
Description OliveTin gives access to predefined shell commands from a web interface. From 3000.2.0 until 3000.17.0, the service/internal/executor/arguments.go checkShellArgumentSafety function does not treat regex: custom argument types as unsafe for Shell mode actions, allowing values that pass typeSafetyCheckRegex to be interpolated by wrapCommandInShell into an sh -c command string and enabling OS command injection. This issue is fixed in version 3000.17.0.
Title OliveTin OS Command Injection via Custom regex: Argument Type Bypassing Shell Safety Check
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 6.6, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Olivetin Olivetin
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-30T15:18:25.719Z

Reserved: 2026-07-29T15:07:24.992Z

Link: CVE-2026-67438

cve-icon Vulnrichment

Updated: 2026-07-30T14:19:40.409Z

cve-icon NVD

Status : Deferred

Published: 2026-07-29T21:17:48.120

Modified: 2026-07-30T19:21:23.297

Link: CVE-2026-67438

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T13:00:07Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')