Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/OliveTin/OliveTin
  4. ›
  5. CVE-2026-67438

CVE-2026-67438: OliveTin OS Command Injection via Custom regex: Argument Type Bypassing Shell Safety Check

July 30, 2026

OliveTin’s checkShellArgumentSafety() function maintains a blocklist of argument types unsafe for Shell mode actions, but does not include regex:-prefixed types. Because regex: support was added independently via typeSafetyCheckRegex(), any Shell mode action using a regex:-typed argument bypasses the safety check unconditionally. The unvalidated value is then interpolated directly into the sh -c command string via Go’s text/template with no escaping, enabling shell injection. Notably, even restrictive-looking patterns are exploitable — for example, a pattern blocking common shell metacharacters remains bypassable via POSIX command substitution.

References

  • github.com/OliveTin/OliveTin/commit/995ff79736f2bccc364448a3ece84087b550b232
  • github.com/OliveTin/OliveTin/releases/tag/3000.17.0
  • github.com/OliveTin/OliveTin/security/advisories/GHSA-xc5w-4v5w-7x65
  • github.com/advisories/GHSA-xc5w-4v5w-7x65
  • nvd.nist.gov/vuln/detail/CVE-2026-67438

Code Behaviors & Features

Detect and mitigate CVE-2026-67438 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.0.0-20251025234746-ef5a67e7b8ea before 0.0.0-20260708084548-995ff79736f2

Fixed versions

  • 0.0.0-20260708084548-995ff79736f2

Solution

Upgrade to version 0.0.0-20260708084548-995ff79736f2 or above.

Impact 6.6 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

go/github.com/OliveTin/OliveTin/CVE-2026-67438.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 14 Aug 2026 12:19:06 +0000.