Go
CVE-2026-75506
OliveTin: Second-Order OS Command Injection via shellAfterCompleted
- Severity
- Medium 6.6
- Published
- 18 Nov 2026
- Last changed
- 18 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 0.0.0-20260728155752-e5d29b68da66
- Exploit chance
- 0.6% in the next 30 daysHigher than 50% of CVEs. EPSS by FIRST, 24 Nov 2026
- Attack
- Over the network · Only under certain conditions · Needs an administrator account · No user action needed
- Attacker can
- Read data · Change data · Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H- Also known as
- GHSA-vc6p-m6vx-6cwq
- Sources
- OSV.dev and GitHub
Description
OliveTin's shellAfterCompleted post-execution hook injects unsanitized variables — including arbitrary command output (output), the authenticated username (ot_username), and the exit code (exitCode) — directly into a shell command template processed by sh -c. Unlike the main action's argument handling, no checkShellArgumentSafety validation is applied to these variables. An attacker who can influence the output of a command (e.g., via user-supplied arguments that reflect in stdout, or through trusted-header username spoofing) can inject arbitrary OS commands into the post-execution shell.
This is a distinct finding from CVE-2026-27626 (OS command injection via password type in webhooks). That CVE addressed argument types bypassing shell safety checks in the primary execution step. This vulnerability exists in the post-execution step (stepExecAfter), which has zero safety checks on any of its template variables.
Affected software
| Software | Affected versions |
|---|---|
github.com/OliveTin/OliveTinGo · osv:Go:github.com/OliveTin/OliveTin |
|
About github.com/OliveTin/OliveTin
This is the only vulnerability in github.com/OliveTin/OliveTin in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-75506
- GitHub Advisory Database https://github.com/advisories/GHSA-vc6p-m6vx-6cwq