Back to overview

CVE-2026-48708

HIGH
7.5
CVSS 3.1
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.

Metadata

CVE ID
CVE-2026-48708
State
PUBLISHED
Assigner
GitHub_M
Reserved
2026-05-22 18:47 UTC
Published
2026-06-15 19:59 UTC
Last updated
2026-06-15 19:59 UTC
Primary CWE
CWE-362
CWE-362: Concurrent Execution using Shared Resource with Imp…
Vendor / Product
OliveTin / OliveTin
Sources
cve.org  ·  NVD

Severity & Metrics

7.5 HIGH CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products (1)
VendorProductPlatformVersions
OliveTin OliveTin < 3000.13.0
Weakness (CWE)
CWESourceDescription
CWE-362 cna CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
CWE-567 cna CWE-567: Unsynchronized Access to Shared Data in a Multithreaded Context
CVSS scores (1)
ScoreSeverityVersionSourceVector
7.5 HIGH 3.1 cna CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
References (2)
Back to overview