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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/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.54%, higher than 39% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-15T19:59:27.859Z
- Modified: 2026-07-20T21:32:33.000Z
- Also known as: GHSA-7fq5-7wr8-rjwj, GO-2026-5216
- Weaknesses: CWE-362, CWE-567
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- OliveTin OliveTin: < 3000.13.0
- github.com/OliveTin/OliveTin (Go): before 0.0.0-20260521225117-d74da9314005

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/OliveTin/OliveTin/security/advisories/GHSA-7fq5-7wr8-rjwj> (exploit, advisory, web)
- <https://github.com/OliveTin/OliveTin/commit/d74da9314005954dd49fa20dabf272247bc76519> (fix, web)
- <https://github.com/OliveTin/OliveTin/releases/tag/3000.13.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-48708> (advisory)
- <https://github.com/OliveTin/OliveTin> (package)

## Sources

- CVE List: [CVE-2026-48708](https://www.cve.org/CVERecord?id=CVE-2026-48708), CVE Terms of Use, modified 2026-06-24
- GitHub Advisory Database: [GHSA-7fq5-7wr8-rjwj](https://github.com/advisories/GHSA-7fq5-7wr8-rjwj), CC-BY-4.0, modified 2026-07-20
- Go Vulnerability Database: [GO-2026-5216](https://pkg.go.dev/vuln/GO-2026-5216), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-48708](https://nvd.nist.gov/vuln/detail/CVE-2026-48708), Public domain, modified 2026-06-24

---

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