{"id":"CVE-2026-48708","published":"2026-06-15T19:59:27Z","modified":"2026-06-24T16:45:53Z","title":"OliveTin has a Concurrent Template Parsing Race Condition which Leads to Cross-Request Command Contamination","vendor":"OliveTin","product":"OliveTin","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00402,"percentile":0.35301,"provenance":"source"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"},{"id":"CWE-567","name":"Unsynchronized Access to Shared Data in a Multithreaded Context"}],"references":[{"url":"https://github.com/OliveTin/OliveTin/security/advisories/GHSA-7fq5-7wr8-rjwj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/OliveTin/OliveTin/commit/d74da9314005954dd49fa20dabf272247bc76519","tags":["x_refsource_MISC"]},{"url":"https://github.com/OliveTin/OliveTin/releases/tag/3000.13.0","tags":["x_refsource_MISC"]}],"priority":{"score":12.3,"factors":[{"name":"EPSS percentile","points":7.06},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"olivetin","affectedVersions":[{"vendor":"OliveTin","product":"OliveTin","versions":["< 3000.13.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-06-16T13:39:02.335653Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/OliveTin/OliveTin","vulnerableRanges":["<0.0.0-20260521225117-d74da9314005"],"patched":["0.0.0-20260521225117-d74da9314005"],"from":["GHSA-7fq5-7wr8-rjwj","GO-2026-5216"],"provenance":"source"}],"summary":{"text":"OliveTin's template engine, in versions 3000.0.0 and prior, uses a single shared text/template instance (the package-level tpl variable in service/internal/tpl/templates.go) across all goroutines without synchronization, so concurrent action executions can overwrite each other's template state. An attacker with low-privileged authenticated access to the web interface can, by triggering concurrent action executions, cause commands from one request to be contaminated by another, leading to incorrect command execution or a Go runtime panic, with the attack complexity being high.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:49:05Z"},"euvd":{"id":"EUVD-2026-36906","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-30225","published":"2026-03-06","fixed":"0.0.0-20260305000458-cb46a597b246","kev":false},{"cve":"CVE-2026-30233","published":"2026-03-06","fixed":"0.0.0-20260305082002-d7962710e7c4","kev":false},{"cve":"CVE-2026-31817","published":"2026-03-10","fixed":"0.0.0-20260309102040-b03af0e2eca3","kev":false,"link":{"from":"CVE-2026-31817","to":"CVE-2026-48708","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/OliveTin/OliveTin","fromFixed":"0.0.0-20260309102040-b03af0e2eca3","toFixed":"0.0.0-20260521225117-d74da9314005","daysApart":97}]}},{"cve":"CVE-2026-48708","published":"2026-06-15","fixed":"0.0.0-20260521225117-d74da9314005","kev":false},{"cve":"CVE-2026-48709","published":"2026-06-15","fixed":"0.0.0-20260521230847-a3865704c854","kev":false,"link":{"from":"CVE-2026-48708","to":"CVE-2026-48709","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/OliveTin/OliveTin","fromFixed":"0.0.0-20260521225117-d74da9314005","toFixed":"0.0.0-20260521230847-a3865704c854","daysApart":0}]}},{"cve":"CVE-2026-53541","published":"2026-08-21","fixed":"0.0.0-20260531214440-ebffd9f040f7","kev":false},{"cve":"CVE-2026-67437","published":"2026-07-29","fixed":"0.0.0-20260708075951-ec114e95d297","kev":false}],"package":"Go:github.com/OliveTin/OliveTin"}}