Vulnerability · Published Jun 15, 2026 · Assigned by GitHub_M
CVE-2026-48708OliveTin has a Concurrent Template Parsing Race Condition which Leads to Cross-Request Command Contamination
High 7.5
In plain English
A high-severity race condition in OliveTin from OliveTin. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
OliveTin gives access to predefined shell commands from a web interface. In versions 3000.0.0 and prior, the template engine uses a single shared text/template.Template instance (tpl package-level variable in service/internal/tpl/templates.go) across all goroutines. Every action execution calls tpl.Parse(source) followed by t.Execute() on this shared instance with no synchronization. When two or more actions execute concurrently (which is the normal case — each ExecRequest spawns a goroutine), a race condition occurs: one goroutine's Parse overwrites the template tree while another goroutine is calling Execute, causing cross-user command contamination, Go runtime panic, and incorrect command execution. This issue has been resolved in version 3000.13.0.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/OliveTin/OliveTin | 0.0.0-20260521225117-d74da9314005 | GHSA-7fq5-7wr8-rjwj |
| Go | github.com/OliveTin/OliveTin | 0.0.0-20260521225117-d74da9314005 | GO-2026-5216 |
Affected products (as reported)
Weakness: CWE-362, CWE-567 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H