{"id":"CVE-2026-48708","state":"PUBLISHED","title":"OliveTin has a Concurrent Template Parsing Race Condition which Leads to Cross-Request Command Contamination","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.","publishedAt":"2026-06-15T19:59:27.859Z","updatedAt":"2026-06-24T16:45:53.317Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["OliveTin OliveTin"],"affected":[{"vendor":"OliveTin","product":"OliveTin","versions":[{"version":"< 3000.13.0","status":"affected"}]}],"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"],"weaknesses":["CWE-362","CWE-567"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/48xxx/CVE-2026-48708.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-48708","state":"PUBLISHED","datePublished":"2026-06-15T19:59:27.859Z","dateUpdated":"2026-06-24T16:45:53.317Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-22T18:47:27.755Z"},"containers":{"cna":{"title":"OliveTin has a Concurrent Template Parsing Race Condition which Leads to Cross-Request Command Contamination","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"OliveTin","product":"OliveTin","versions":[{"version":"< 3000.13.0","status":"affected"}]}],"references":[{"url":"https://github.com/OliveTin/OliveTin/security/advisories/GHSA-7fq5-7wr8-rjwj","name":"https://github.com/OliveTin/OliveTin/security/advisories/GHSA-7fq5-7wr8-rjwj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/OliveTin/OliveTin/commit/d74da9314005954dd49fa20dabf272247bc76519","name":"https://github.com/OliveTin/OliveTin/commit/d74da9314005954dd49fa20dabf272247bc76519","tags":["x_refsource_MISC"]},{"url":"https://github.com/OliveTin/OliveTin/releases/tag/3000.13.0","name":"https://github.com/OliveTin/OliveTin/releases/tag/3000.13.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-362","lang":"en","description":"CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-567","lang":"en","description":"CWE-567: Unsynchronized Access to Shared Data in a Multithreaded Context","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-06-24T16:45:53.317Z"},"source":{"advisory":"GHSA-7fq5-7wr8-rjwj","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/OliveTin/OliveTin/security/advisories/GHSA-7fq5-7wr8-rjwj","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-16T13:39:02.335653Z","id":"CVE-2026-48708","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-16T13:39:14.859Z"}}]}}}