Skip to content

← Actionable
Medium, CVSS 6.6amended

OliveTin OS Command Injection via Custom regex: Argument Type Bypassing Shell Safety Check

CVE-2026-67438GHSA-xc5w-4v5w-7x65

What to do

Vendor fix available. Upgrade each affected package to the fixed version on its release line (github.com/OliveTin/OliveTin 0.0.0-20260708084548-995ff79736f2), redeploy, then verify what is actually installed.

This page has no inventory attached, so it cannot say whether you are affected. A vendor fix is not proof that your deployment is fixed.

Affected packages

  • Go github.com/OliveTin/OliveTin

    Affected
    >= 0.0.0-20251025234746-ef5a67e7b8ea, < 0.0.0-20260708084548-995ff79736f2
    Fixed in
    0.0.0-20260708084548-995ff79736f2

Sources

Severity and exploitation
Exploitation
No confirmed exploitation recorded. Patch Next marks exploitation only from CISA KEV.
CVSS
6.6 · CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS
  • CVE-2026-67438: 1.59% estimated exploitation activity in the next 30 days; percentile 75.68 (FIRST EPSS, 2026-11-03). This is a model estimate, not proof of exploitation or customer exposure.
Source description

As published by the source; long descriptions are shortened.

Summary 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. Details OliveTin is an open source web UI for running pre-configured shell commands. In the OliveTin service component, the function checkShellArgumentSafety() in service/internal/executor/arguments.go enforces a blocklist of argument types that are unsafe for use in Shell mode actions (actions that execute via sh -c). The blocklist…

Dates and revisions
Published by the source
Last modified by the source
Source last checked
  1. Revision 3 · amended ·

    Amended from ghsa record GHSA-xc5w-4v5w-7x65

  2. Revision 2 · amended ·

    Amended from osv record GO-2026-6145

  3. Revision 1 · created ·

    Published from osv record GHSA-xc5w-4v5w-7x65

Agent brief

Preview the exact text before you copy it. Commands are read-only suggestions; review them before running anything.

# Patch Next advisory brief: CVE-2026-67438

Advisory: OliveTin OS Command Injection via Custom regex: Argument Type Bypassing Shell Safety Check
IDs: CVE-2026-67438, GHSA-xc5w-4v5w-7x65
Record: https://patchnext.com/advisories/cve-2026-67438 (revision 3, source checked 26 Oct 2026, 15:27 UTC)
Inventory: none attached. This brief comes from a public page and does not say whether any deployment is affected.
Severity: Medium (CVSS 6.6)
Exploitation: no confirmed exploitation recorded. Patch Next confirms exploitation only from CISA KEV.
Vendor response: Vendor fix available; fixed versions by package: github.com/OliveTin/OliveTin 0.0.0-20260708084548-995ff79736f2. A vendor fix does not mean a deployment is fixed.

## Affected components
- Go github.com/OliveTin/OliveTin: affected >= 0.0.0-20251025234746-ef5a67e7b8ea, < 0.0.0-20260708084548-995ff79736f2; fixed in 0.0.0-20260708084548-995ff79736f2

## Suggested inspection (read-only)
- Go github.com/OliveTin/OliveTin: check the installed version with your package manager.

## Supported action
Upgrade each affected component to a fixed version on its release line. For a transitive dependency, upgrade the parent package or add an override or constraint, then regenerate the lockfile. Redeploy every environment that ran an affected version.

## Required regression checks
- Run the test suite and a production build.
- Exercise the features that depend on github.com/OliveTin/OliveTin.
- Repeat the inspection and confirm that only fixed versions remain installed.

## Rollback considerations
- Keep the previous lockfile and deployment artifact. Rolling back reinstates the vulnerable version, so apply any documented mitigation while you fix forward.

## Unresolved questions
- Which deployments run an affected version?
- Exploitation status can change. Check again before lowering the priority.
- Mark the work resolved only after the fixed version is verified in production.

## Sources
- Verified: https://osv.dev/vulnerability/GHSA-xc5w-4v5w-7x65 (OSV record GHSA-xc5w-4v5w-7x65 lists affected ranges: Go github.com/OliveTin/OliveTin >=0.0.0-20251025234746-ef5a67e7b8ea <0.0.0-20260708084548-995ff79736f2 (fixed))
- Verified: https://osv.dev/vulnerability/GO-2026-6145 (OSV record GO-2026-6145 lists affected ranges: Go github.com/OliveTin/OliveTin >=0.0.0-20251025234746-ef5a67e7b8ea <0.0.0-20260708084548-995ff79736f2 (fixed))
- Verified: https://github.com/advisories/GHSA-xc5w-4v5w-7x65 (GitHub-reviewed advisory GHSA-xc5w-4v5w-7x65 lists affected ranges: Go github.com/OliveTin/OliveTin >=0.0.0-20251025234746-ef5a67e7b8ea <0.0.0-20260708084548-995ff79736f2)

Commands are suggestions: review each one before running it.

Loading voting…