# CVE-2026-75506: OliveTin: Second-Order OS Command Injection via shellAfterCompleted

- Severity: Medium 6.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.62%, higher than 50% of CVEs (2026-12-01)
- Published: 2026-11-18T20:18:47.078Z
- Modified: 2026-11-23T20:40:51.109Z
- Also known as: GHSA-vc6p-m6vx-6cwq, GO-2026-6995
- Weaknesses: CWE-74, CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- OliveTin OliveTin: >= 3000.0.0, < 3000.18.1
- github.com/OliveTin/OliveTin (Go): before 0.0.0-20260728155752-e5d29b68da66

## Every score

- GitHub_M: CVSS:3.1 6.6 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 6.6 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/OliveTin/OliveTin/security/advisories/GHSA-vc6p-m6vx-6cwq> (advisory, web)
- <https://github.com/OliveTin/OliveTin/pull/1070> (fix, web)
- <https://github.com/OliveTin/OliveTin/pull/1088> (fix, web)
- <https://github.com/OliveTin/OliveTin/commit/4ef86abee7aac4e4ec4a3200c7ca491ca3501065> (fix, web)
- <https://github.com/OliveTin/OliveTin/commit/e5d29b68da66fd7f99072d6afd336dee2c28876c> (fix, web)
- <https://github.com/OliveTin/OliveTin/releases/tag/3000.17.0> (web)
- <https://github.com/OliveTin/OliveTin/releases/tag/3000.18.1> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-75506> (advisory)
- <https://github.com/OliveTin/OliveTin> (package)

## Sources

- CVE List: [CVE-2026-75506](https://www.cve.org/CVERecord?id=CVE-2026-75506), CVE Terms of Use, modified 2026-11-19
- GitHub Advisory Database: [GHSA-vc6p-m6vx-6cwq](https://github.com/advisories/GHSA-vc6p-m6vx-6cwq), CC-BY-4.0, modified 2026-11-23
- Go Vulnerability Database: [GO-2026-6995](https://pkg.go.dev/vuln/GO-2026-6995), CC-BY-4.0, modified 2026-11-23
- NVD: [CVE-2026-75506](https://nvd.nist.gov/vuln/detail/CVE-2026-75506), Public domain, modified 2026-11-19

---

Page: https://cve.day/CVE-2026-75506 · Whole record: https://cve.day/CVE-2026-75506.json · Rebuilt by cve.day 2026-11-25T22:59:51.915Z
