medium6.6
CVE-2026-67438
OliveTin OS Command Injection via Custom regex: Argument Type Bypassing Shell Safety Check
Impact
OliveTin gives access to predefined shell commands from a web interface. From 3000.2.0 until 3000.17.0, the service/internal/executor/arguments.go checkShellArgumentSafety function does not treat regex: custom argument types as unsafe for Shell mode actions, allowing values that pass typeSafetyCheckRegex to be interpolated by wrapCommandInShell into an sh -c command string and enabling OS command injection. This issue is fixed in version 3000.17.0.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/OliveTin/OliveTin | >= 0.0.0-20251025234746-ef5a67e7b8ea, < 0.0.0-20260708084548-995ff79736f2 | 0.0.0-20260708084548-995ff79736f2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-xc5w-4v5w-7x65
- https://github.com/OliveTin/OliveTin/security/advisories/GHSA-xc5w-4v5w-7x65
- https://nvd.nist.gov/vuln/detail/CVE-2026-67438
- https://github.com/OliveTin/OliveTin/commit/995ff79736f2bccc364448a3ece84087b550b232
- https://github.com/OliveTin/OliveTin/releases/tag/3000.17.0