{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-48708","id":"CVE-2026-48708","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 m","descriptionLong":"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.","published":"2026-06-15T19:59:27.859Z","updated":"2026-10-28T02:30:27.253411018Z","reserved":"2026-05-22T18:47:27.755Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["OliveTin"],"affectedProducts":[{"vendor":"OliveTin","product":"OliveTin","defaultStatus":null,"versions":[{"version":"< 3000.13.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/OliveTin/OliveTin","purl":"pkg:golang/github.com/OliveTin/OliveTin","ranges":["<0.0.0-20260521225117-d74da9314005"],"fixed":["0.0.0-20260521225117-d74da9314005"],"advisory":"GHSA-7fq5-7wr8-rjwj"}],"cwes":["CWE-362","CWE-567"],"aliases":["GHSA-7fq5-7wr8-rjwj","GO-2026-5216"],"references":[{"url":"https://github.com/OliveTin/OliveTin/security/advisories/GHSA-7fq5-7wr8-rjwj","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/OliveTin/OliveTin/commit/d74da9314005954dd49fa20dabf272247bc76519","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/OliveTin/OliveTin/releases/tag/3000.13.0","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48708.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48708","tags":["advisory"]},{"url":"https://github.com/OliveTin/OliveTin","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00402,"epssPercentile":0.35167,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-48708","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48708","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-48708","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-7fq5-7wr8-rjwj","ok":true,"note":"GHSA-7fq5-7wr8-rjwj"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-48708","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}