CVE-2026-48708
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/OliveTin/OliveTinGo | < 0.0.0-20260521225117-d74da9314005 | 0.0.0-20260521225117-d74da9314005 |
Affected products
3Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-7fq5-7wr8-rjwjghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-48708ghsaADVISORY
- github.com/OliveTin/OliveTin/commit/d74da9314005954dd49fa20dabf272247bc76519ghsaWEB
- github.com/OliveTin/OliveTin/releases/tag/3000.13.0nvdWEB
- github.com/OliveTin/OliveTin/security/advisories/GHSA-7fq5-7wr8-rjwjnvdWEB
News mentions
0No linked articles in our index yet.