Skip to content
OpenAdvisories
High · 7.5 CVE-2026-48708 EUVD-2026-36906GHSA-7fq5-7wr8-rjwjGO-2026-5216

OliveTin has a Concurrent Template Parsing Race Condition which Leads to Cross-Request Command Contamination

Published Jun 15, 2026 · Updated Jun 24, 2026 · 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.

Affected products

VendorProductAffectedFixed
OliveTin OliveTin < 3000.13.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/OliveTin/OliveTin < 0.0.0-20260521225117-d74da9314005 0.0.0-20260521225117-d74da9314005 GHSA-7fq5-7wr8-rjwj

Advisories 1

References