CVE-2026-48708 OliveTin has a Concurrent Template Parsing Race Condition which Leads to Cross-Request Command Contamination
Concurrent template parsing in OliveTin allows cross-user command contamination and crashes, enabling unauthorized command execution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-48708?
CVE-2026-48708 is a high-severity vulnerability in OliveTin, published on 15 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.
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.
Which versions are affected by CVE-2026-48708?
3 open source packages ship an affected version, including github.com/OliveTin/OliveTin.
| Package | Affected | Fixed in |
|---|---|---|
github.com/OliveTin/OliveTin Go | All versions | 0.0.0-20260521225117-d74da9314005 |
github.com/OliveTin/OliveTin Go | All versions | 0.0.0-20260521225117-d74da9314005 |
github.com/OliveTin/OliveTin Go | All versions | 0.0.0-20260521225117-d74da9314005 |
How do I fix CVE-2026-48708?
Upgrade github.com/OliveTin/OliveTin to 0.0.0-20260521225117-d74da9314005 or later.
Is CVE-2026-48708 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-48708 exists.
Sources
Also known as GHSA-7fq5-7wr8-rjwj, GO-2026-5216.