Categories
CVE-2026-67438 medium CVSS 6.6

OS Command Injection in github.com/OliveTin/OliveTin (CVE-2026-67438)

Summary

OS command injection in github.com/OliveTin/OliveTin (CVE-2026-67438). Successful exploitation can lead to full system takeover. Mitigation: upgrade to 0.0.0-20260708084548-995ff79736f2 or later.

Original description

The description as published by the source.

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 includes password, very_dangerous_raw_string, url, email, and raw_string_multiline. It does not handle custom regex: prefixed argument types.

Custom regex: types are supported by a separate function, typeSafetyCheckRegex(), which checks whether a submitted value matches the provided pattern. These two functions evolved independently: when regex: prefix support was added to typeSafetyCheckRegex, checkShellArgumentSafety was not updated to treat regex: types as unsafe for Shell mode. As a re…

Source: NIST National Vulnerability Database NVD GitHub Advisory

Auto-generated summary

Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.

A vulnerability tracked as CVE-2026-67438 has been found in github.com/OliveTin/OliveTin.
Successful exploitation can lead to full system takeover. CVSS score: 6.6/10.
What to do: upgrade github.com/OliveTin/OliveTin to 0.0.0-20260708084548-995ff79736f2 or later.
If unsure, ask your IT team or search "github.com/OliveTin/OliveTin CVE-2026-67438" on the vendor's site.

CVE-2026-67438 (github.com/OliveTin/OliveTin) — CWE-78 / CVSS v3 6.6
Attack vector: remote (network-reachable) / no user interaction
Patched: 0.0.0-20260708084548-995ff79736f2 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.

❓ What is the problem

OS command injection (CWE-78) exists in github.com/OliveTin/OliveTin.

📍 Affected scope

Check the vendor advisory for the affected versions of github.com/OliveTin/OliveTin.

🔥 Severity

Severity: Medium (CVSS 6.6/10). Successful exploitation can lead to full system takeover.

🔧 How to fix

Update to 0.0.0-20260708084548-995ff79736f2.

🛡️ Workaround

Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.

🔍 Detection

Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'github.com/OliveTin/OliveTin' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.

Response actions

Concrete steps and command examples for SOC/SRE teams to execute in order

  1. 1
    Identify exposure identify
    grep -r 'github.com/OliveTin/OliveTin' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で github.com/OliveTin/OliveTin を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Apply patch patch
    Upgrade github.com/OliveTin/OliveTin to 0.0.0-20260708084548-995ff79736f2

    ステージング環境で 0.0.0-20260708084548-995ff79736f2 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  3. 3
    Post-deployment verification verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

go github.com/OliveTin/OliveTin
[{"type":"SEMVER","events":[{"introduced":"0.0.0-20251025234746-ef5a67e7b8ea"},{"fixed":"0.0.0-20260708084548-995ff79736f2"}]}]

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details