OliveTin Second-Order OS Command Injection via shellAfterCompleted
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
OliveTin from 3000.0.0 before 3000.18.1 passes command output and ot_username values into shellAfterCompleted processing without the shell-safety validation applied to primary actions. This is an OS command injection flaw (CWE-78) in which shell metacharacters from that data become syntax in the executed command. An attacker who can influence the output or a trusted-header username and who holds high privileges can run arbitrary commands as the OliveTin process user, even when the primary action uses exec-array mode. The attack complexity is high and the CVSS vector is network-reachable with no user interaction.
Written with Claude Haiku 5.5 from the sources below · 2026-11-19
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| OliveTin | OliveTin | 3000.0.0 to before 3000.18.1 | 3000.18.1 | Patch available | CNA |
| — | github.com/OliveTin/OliveTin (Go) | before 0.0.0-20260728155752-e5d29b68da66 | 0.0.0-20260728155752-e5d29b68da66 | Patch available | GHSA-vc6p-m6vx-6cwq |
- OliveTin VendorOliveTin Affected 3000.0.0 to before 3000.18.1 Fixed in 3000.18.1 Patch available CNA
- github.com/OliveTin/OliveTin (Go) Vendor— Affected before 0.0.0-20260728155752-e5d29b68da66 Fixed in 0.0.0-20260728155752-e5d29b68da66 Patch available GHSA-vc6p-m6vx-6cwq
Remediation
Upgrade OliveTin to version 3000.18.1, which fixes the issue. For the Go module github.com/OliveTin/OliveTin, upgrade to 0.0.0-20260728155752-e5d29b68da66.
Written with Claude Haiku 5.5 from the sources below · 2026-11-19
- Fix · CNA OliveTin (OliveTin) Fixed in 3000.18.1
- Fix · GHSA-vc6p-m6vx-6cwq github.com/OliveTin/OliveTin (Go) Fixed in 0.0.0-20260728155752-e5d29b68da66 Advisory →
Timeline
- 2026-11-18 Threatist record created from CVE-2026-75506
- 2026-11-18 Alias added: GHSA-vc6p-m6vx-6cwq
- 2026-11-18 Fix available: Go/github.com/OliveTin/[email protected] · GHSA-vc6p-m6vx-6cwq
- 2026-11-18 CVSS score added · GHSA-vc6p-m6vx-6cwq
- 2026-11-18 Weakness changed · GHSA-vc6p-m6vx-6cwq
- 2026-11-18 9 new references · GHSA-vc6p-m6vx-6cwq
- 2026-11-19 CISA SSVC decision points changed
References
Other 8
- https://github.com/OliveTin/OliveTin/security/advisories/GHSA-vc6p-m6vx-6cwq
- https://github.com/OliveTin/OliveTin/pull/1070
- https://github.com/OliveTin/OliveTin/pull/1088
- https://github.com/OliveTin/OliveTin/commit/4ef86abee7aac4e4ec4a3200c7ca491ca3501065
- https://github.com/OliveTin/OliveTin/commit/e5d29b68da66fd7f99072d6afd336dee2c28876c
- https://github.com/OliveTin/OliveTin/releases/tag/3000.17.0
- https://github.com/OliveTin/OliveTin/releases/tag/3000.18.1
- https://github.com/OliveTin/OliveTin
More OliveTin vulnerabilities
- TI-2026-23456 OliveTin: JWT Audience Validation Bypass in Local Key and HMAC Modes CVSS 3.1HIGH 8.8
- TI-2026-22008 OS command injection in OliveTin CVSS 3.1CRITICAL 10.0
- TI-2026-47717 OliveTin: Unauthenticated DoS via OAuth2 State Memory Exhaustion (Unbounded Map Growth) CVSS 3.1HIGH 7.5
- TI-2026-22985 OliveTin: Unauthenticated Action Termination via KillAction When Guests Must Login CVSS 3.1HIGH 7.5
- TI-2026-22984 OliveTin: Unauthenticated DoS via concurrent map writes in OAuth2 state handling CVSS 3.1HIGH 7.5
- TI-2026-22627 OliveTin: Unauthenticated Denial of Service via Memory Exhaustion in PasswordHash API Endpoint CVSS 3.1HIGH 7.5
Sources
- CVE-2026-75506 · CVE Program
- CVE-2026-75506 · NVD
- FIRST EPSS
- GHSA-vc6p-m6vx-6cwq · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences