Skip to main content

OliveTin EUVDEUVD-2026-129185

| CVE-2026-75506 MEDIUM
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2026-11-18 GitHub_M GHSA-vc6p-m6vx-6cwq
6.6
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach OliveTin web/API as permitted user
  2. Delivery
    Plant shell metacharacters in action output or spoof trusted-header username
  3. Exploit
    Invoke action with shellAfterCompleted hook
  4. Execution
    Unsanitized output/ot_username expands into sh -c template
  5. Impact
    Execute arbitrary commands as OliveTin process user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
Exploitation Conditions

Exploitation requires an administrator-configured action whose shellAfterCompleted template references {{.Arguments.output}} or {{.Arguments.ot_username}} (the exitCode variable shares the unsafe path but attacker control of it is not established). Given that, the attacker must control the injected value by one of: shell metacharacters in command output from external data an action processes (files, APIs, databases) or user arguments reflected in stdout; or the ot_username value via trusted-header spoofing, which additionally requires the deployment to have enabled trusted-header authentication (authHttpHeaderUsername). The flaw works even when the primary action uses safe exec-array mode, because the output still flows through sh -c in the post-execution step. Limiting factors: this is NOT a default configuration - shellAfterCompleted must be present and must reference the tainted variables, and the username vector depends on trusted-header auth being enabled; per the CVSS vector exploitation is authenticated/privileged (PR:H), which constrains realistic risk below an unauthenticated default-config RCE.

Impact

This is a genuine but conditional remote code execution issue (CWE-74/CWE-78, second-order OS command injection) that should be prioritized below internet-facing, unauthenticated RCE but above theoretical bugs. The input CVSS 3.1 vector (AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H, base 6.6) and the maintainer triage note both converge on the same picture: high technical impact (full command execution as the OliveTin process user) gated behind PR:H and AC:H, because the vulnerable shellAfterCompleted hook must be deliberately configured by an administrator to reference {{.Arguments.output}} or {{.Arguments.ot_username}}, and the attacker must additionally control the data that flows into that variable. No EPSS score is provided, and the CVE is NOT in CISA KEV, so there is no evidence of active exploitation - treat this as not-yet-exploited. A detailed PoC (config, shell steps, and a Python script) is embedded in the GHSA advisory, so exploit knowledge is public even though the input does not carry a confirmed 'working exploit code' flag. No SSVC decision vector is supplied; the only decision signal is the vuln.today priority label 'this_month', which is consistent with a patch-this-cycle (not emergency) posture. Net: a real, patchable RCE whose real-world exposure is bounded by non-default configuration and the authenticated/privileged nature of the trigger, not a drop-everything internet worm candidate.

Exploit ScenarioDerived

An administrator configures an OliveTin action whose shellAfterCompleted hook logs or processes {{.Arguments.output}} (or {{.Arguments.ot_username}}). An attacker who can influence that output - by planting shell metacharacters in an external file/API the action reads, or by spoofing the trusted-header username when authHttpHeaderUsername auth is enabled - triggers the action, and the unsanitized value is interpolated into a template passed to sh -c, executing arbitrary commands as the OliveTin process user even when the primary action uses the safer exec-array mode. A full working PoC (including a Python script creating a malicious data file and verifying command execution) is published in the GHSA advisory; it is not separately flagged as confirmed working exploit code in the input.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 18, 2026

Second-order OS command injection in OliveTin 3000.0.0 through 3000.18.0 allows attackers who can influence a value consumed by an action's shellAfterCompleted template to run arbitrary commands as the OliveTin process user. The post-execution step renders {{.Arguments.output}}, {{.Arguments.ot_username}} and {{.Arguments.exitCode}} into a command passed to sh -c without the checkShellArgumentSafety validation that guards primary action execution, so shell metacharacters from command output, external data an action processes, or a trusted-header username become shell syntax even when the primary action uses the safer exec-array mode; attacker control of exitCode is not established. Exploitation is conditional on an administrator having configured such a hook (CVSS PR:H, AC:H), and the upstream advisory documents a full proof-of-concept walkthrough and Python script; it is not confirmed in the provided data as verified, working exploit code. No CISA KEV entry or EPSS score was supplied, and the priority label is this_month.

RemediationAI

Vendor-released patch: upgrade to OliveTin 3000.18.1 (https://github.com/OliveTin/OliveTin/releases/tag/3000.18.1), which is the version named as fixed in the advisory; the fixes are visible in PRs 1070 and 1088 and commits 4ef86abee7aac4e4ec4a3200c7ca491ca3501065 and e5d29b68da66fd7f99072d6afd336dee2c28876c. Where upgrading immediately is not possible, the practical exposure reduction is configuration-level, since the vulnerable path only exists when an action defines shellAfterCompleted: remove or comment out shellAfterCompleted templates that interpolate {{ .Arguments.output }} or {{ .Arguments.ot_username }} (the trade-off is loss of post-execution auditing, notification or cleanup steps, which must then be moved outside OliveTin), and if the hook must stay, wrap the interpolated values in explicit single quotes inside the template while stripping embedded single quotes - a fragile, template-author-maintained control that is easy to get wrong and does not cover newline or backtick cases. If the deployment does not depend on forwarded-identity authentication, disable trusted-header username mapping (authHttpHeaderUsername) so ot_username can no longer be attacker-set, at the cost of switching users to another configured authentication provider. Note that the exitCode variable shares the unsafe rendering path but attacker control of it has not been established, so hardening it is defence in depth rather than a required step. Because the trigger requires an administrator-authored action definition, restrict who may write OliveTin action configuration and review existing configs for shellAfterCompleted usage before and after the upgrade. Advisory: https://github.com/OliveTin/OliveTin/security/advisories/GHSA-vc6p-m6vx-6cwq

Affected VersionsENISA

OliveTin 3000.0.0, < 3000.18.1

Affected Packages

go github.com/olivetin/olivetin fix: 0.0.0-20260728155752-e5d29b68da66
euvd olivetin fix: 3000.18.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

OliveTin is a Go-based web front end that exposes predefined shell and exec actions; its executor in service/internal/executor/executor.go builds commands from Go templates. Primary action execution flows through handleShellBranch, which calls checkShellArgumentSafety (executor.go line 693) to block dangerous argument types such as password, url, email, raw_string_multiline and very_dangerous_raw_string from shell mode. The post-execution hook is a separate code path: stepExecAfter assembles a map containing output (captured stdout/stderr), exitCode, ot_executionTrackingId and ot_username, renders the administrator's shellAfterCompleted template with no type checking, and hands the result to wrapCommandInShell, which on Unix is exec.CommandContext(ctx, "sh", "-c", finalParsedCommand). A codebase-wide grep shows checkShellArgumentSafety is invoked at exactly one location, so stepExecAfter performs zero validation - this is the CWE-74 (improper neutralization of special elements in output used by a downstream component) root cause, which manifests as CWE-78 OS command injection. Because the tainted data is second-order (it arrives via command output or an externally supplied username rather than a directly typed argument), the safe exec-array primary mode does not help: the output still re-enters a shell in the after-completion step. The advisory stresses this is distinct from CVE-2026-27626, which only hardened the primary execution step's argument-type checks; the maintainer duplicate-triage document for the same cluster lists several duplicate reports (GHSA-v5gc-hqpq-227p, GHSA-m7wr-wj5j-7459, GHSA-cjxm-x848-6vmc, GHSA-j9p9-36jc-2v8w) and recommends shell-quoting output/exitCode before template rendering and blocking shellAfterCompleted for webhook-tagged actions.

Know when Olivetin gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 6.6 MEDIUM
AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 6.6 MEDIUM

Network-reachable but depends on admin-configured shellAfterCompleted plus attacker-controlled output, so PR:H and AC:H; full command execution as the process user gives C:H/I:H/A:H, same scope (S:U).

3.1 AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

1
Patch available
Nov 18, 2026 - 21:03 EUVD

DescriptionCVE.org

OliveTin gives safe and simple access to predefined shell commands from a web interface. From 3000.0.0 until 3000.18.1, OliveTin passes attacker-influenceable output and ot_username values into shellAfterCompleted processing in service/internal/executor/executor.go without applying checkShellArgumentSafety, the shell-safety validation used for primary action execution. The same post-execution template path also expands exitCode without that validation, but the advisory does not establish attacker control of the exit-code value. When an action configures shellAfterCompleted with output or ot_username, shell metacharacters from command output, external data processed by an action, or a trusted-header username can become syntax in the command executed by the stepExecAfter path. This can execute arbitrary commands as the OliveTin process user, including when the primary action uses the safer exec-array mode. This issue is fixed in version 3000.18.1.

Threat Intelligence Overview

EPSS Score
0.6%
Top 50% exploitable
Prevalence
Low
niche self-hosted ops tool for running shell commands, limited enterprise footprint
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

54
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +33
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2026-27626 CRITICAL POC
9.9 Feb 25

OS command injection in OliveTin web shell interface through version 3000.10.0. OliveTin provides web-based access to pr

CVE-2026-30223 HIGH POC
8.8 Mar 06

OliveTin gives access to predefined shell commands from a web interface. [CVSS 8.8 HIGH]

CVE-2026-31817 HIGH POC
8.5 Mar 10

Arbitrary file write in OliveTin prior to 3000.11.2 allows authenticated attackers to write files to arbitrary filesyste

CVE-2026-67437 HIGH POC
7.5 Jul 29

Memory-exhaustion denial of service in OliveTin (versions 3000.0.0 through 3000.16.x) allows a remote unauthenticated at

CVE-2026-28342 HIGH POC
7.5 Mar 05

OliveTin versions prior to 3000.10.2 are vulnerable to unauthenticated denial of service through the PasswordHash API en

CVE-2026-28789 HIGH POC
7.5 Mar 05

OliveTin versions prior to 3000.10.3 are vulnerable to unauthenticated denial-of-service attacks when OAuth2 authenticat

CVE-2026-28790 HIGH POC
7.5 Mar 05

OliveTin versions prior to 3000.11.0 suffer from broken access control allowing unauthenticated users to invoke the Kill

CVE-2025-50946 MEDIUM POC
6.5 Aug 13

OS Command Injection in Olivetin 2025.4.22 Custom Themes via the ParseRequestURI function in service/internal/executor/a

CVE-2026-67438 MEDIUM POC
6.6 Jul 29

OS command injection in OliveTin versions 3000.2.0 through 3000.16.x allows an authenticated user to execute arbitrary s

CVE-2026-30233 MEDIUM POC
6.5 Mar 06

OliveTin prior to version 3000.11.1 fails to enforce view permission checks on dashboard and API endpoints, allowing aut

CVE-2026-30224 MEDIUM POC
5.4 Mar 06

OliveTin prior to version 3000.11.1 fails to invalidate server-side sessions upon user logout, allowing attackers with a

CVE-2026-30225 MEDIUM POC
5.3 Mar 06

OliveTin versions prior to 3000.11.1 contain an authentication bypass in RestartAction that allows authenticated users t

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy