Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach OliveTin web/API as permitted user
-
DeliveryPlant shell metacharacters in action output or spoof trusted-header username
-
ExploitInvoke action with shellAfterCompleted hook
-
ExecutionUnsanitized output/ot_username expands into sh -c template
-
ImpactExecute 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
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).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
OS command injection in OliveTin web shell interface through version 3000.10.0. OliveTin provides web-based access to pr
OliveTin gives access to predefined shell commands from a web interface. [CVSS 8.8 HIGH]
Arbitrary file write in OliveTin prior to 3000.11.2 allows authenticated attackers to write files to arbitrary filesyste
Memory-exhaustion denial of service in OliveTin (versions 3000.0.0 through 3000.16.x) allows a remote unauthenticated at
OliveTin versions prior to 3000.10.2 are vulnerable to unauthenticated denial of service through the PasswordHash API en
OliveTin versions prior to 3000.10.3 are vulnerable to unauthenticated denial-of-service attacks when OAuth2 authenticat
OliveTin versions prior to 3000.11.0 suffer from broken access control allowing unauthenticated users to invoke the Kill
OS Command Injection in Olivetin 2025.4.22 Custom Themes via the ParseRequestURI function in service/internal/executor/a
OS command injection in OliveTin versions 3000.2.0 through 3000.16.x allows an authenticated user to execute arbitrary s
OliveTin prior to version 3000.11.1 fails to enforce view permission checks on dashboard and API endpoints, allowing aut
OliveTin prior to version 3000.11.1 fails to invalidate server-side sessions upon user logout, allowing attackers with a
OliveTin versions prior to 3000.11.1 contain an authentication bypass in RestartAction that allows authenticated users t
EUVD-2026-129185
GHSA-vc6p-m6vx-6cwq
NVD
CVE.org
EPSS
Exploit-DB