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

Source: https://junglewise.ai/threats/cve-2026-67438-olivetin-os-command-injection-in-regex-argument-validation  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-29. Updated: 2026-07-30  
License: CC BY 4.0 with a link back

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)](https://junglewise.ai/threats/technologies/github-com-olivetin-olivetin), [OliveTin](https://junglewise.ai/threats/technologies/olivetin). Vendors: [Go](https://junglewise.ai/threats/vendors/go), [OliveTin](https://junglewise.ai/threats/vendors/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

  ```sh
  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

- [https://api.github.com/users/Ayantaker](https://api.github.com/users/Ayantaker)
- [https://github.com/Ayantaker](https://github.com/Ayantaker)
- [https://api.github.com/users/Ayantaker/gists%7B/gist_id%7D](https://api.github.com/users/Ayantaker/gists%7B/gist_id%7D)
- [https://api.github.com/users/Ayantaker/repos](https://api.github.com/users/Ayantaker/repos)
- [https://avatars.githubusercontent.com/u/38920001?v=4](https://avatars.githubusercontent.com/u/38920001?v=4)
- [https://api.github.com/users/Ayantaker/events%7B/privacy%7D](https://api.github.com/users/Ayantaker/events%7B/privacy%7D)

## Related threats

- [OliveTin input filtering bypass via ot_ prefixed arguments](https://junglewise.ai/threats/cve-2026-53541-olivetin-input-filtering-bypass-via-ot-prefixed-arguments)
- [OliveTin incorrect authorization in synchronous execution endpoints](https://junglewise.ai/threats/cve-2026-67439-olivetin-incorrect-authorization-in-synchronous-execution)
- [OliveTin memory exhaustion via unbounded OAuth2 state map growth](https://junglewise.ai/threats/cve-2026-67437-olivetin-memory-exhaustion-via-unbounded-oauth2-state-map-growth)
- [OliveTin missing authorization in ValidateArgumentType API](https://junglewise.ai/threats/cve-2026-48709-olivetin-missing-authorization-in-validateargumenttype-api)
- [OliveTin race condition in template engine causing command contamination](https://junglewise.ai/threats/cve-2026-48708-olivetin-race-condition-in-template-engine-causing-command)
