CVE-2026-67438: OliveTin OS command injection in regex argument validation

CVE-2026-67438 · Severity: medium · CVSS 6.6 · Published 2026-07-29

OliveTin is a web interface used to run pre-configured shell commands on a server. A security flaw allows attackers to bypass safety checks when custom input validation (regex) is used, leading to unauthorized command execution on the underlying operating system. This could allow an attacker to take full control of the server, access sensitive data, or disrupt operations.

Technologies: github.com/OliveTin/OliveTin (Go), OliveTin. Vendors: Go, OliveTin.

Quick answers

Is CVE-2026-67438 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-67438 being exploited in the wild.
How severe is CVE-2026-67438?
Medium severity, with a CVSS score of 6.6, published 29 July 2026.
Which products and versions are affected?
github.com/OliveTin/OliveTin (Go) >= 0.0.0-20251025234746-ef5a67e7b8ea, < 0.0.0-20260708084548-995ff79736f2, SEMVER:introduced=0.0.0-20251025234746-ef5a67e7b8ea,fixed=0.0.0-20260708084548-995ff79736f2; OliveTin >= 0.0.0-20251025234746-ef5a67e7b8ea, < 0.0.0-20260708084548-995ff79736f2, 3000.2.0 - 3000.16.0.
Is there a fix for CVE-2026-67438?
Yes. github.com/OliveTin/OliveTin (Go): upgrade to 0.0.0-20260708084548-995ff79736f2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-67438 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-67438?
Check whether you run github.com/OliveTin/OliveTin (Go) or OliveTin at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • github.com/OliveTin/OliveTin (Go): upgrade to 0.0.0-20260708084548-995ff79736f2 or later
    go get github.com/OliveTin/OliveTin@v0.0.0-20260708084548-995ff79736f2

Technical details

OliveTin's checkShellArgumentSafety() function fails to include 'regex:'-prefixed argument types in its blocklist of unsafe types for Shell mode actions. While typeSafetyCheckRegex() validates input against a pattern, it does not prevent shell metacharacters from being passed if the pattern allows them (e.g., POSIX command substitution like $()). The unvalidated value is interpolated directly into an 'sh -c' command string via Go's text/template without escaping. An attacker can exploit this to achieve remote code execution as the OliveTin process user. This is patched in version 3000.17.0 (commit 995ff79).

Affected products

  • OliveTin OliveTin >= 0.0.0-20251025234746-ef5a67e7b8ea, < 0.0.0-20260708084548-995ff79736f2

Identifiers

  • CVE-2026-67438
  • GHSA-xc5w-4v5w-7x65
  • GO-2026-6145

Timeline

  • 2026-07-08: patched: Initial patch commit and release 3000.17.0
  • 2026-07-29: advisory: NVD publication
  • 2026-07-30: disclosed: GitHub Advisory published

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.