Security mailing lists by PureSourceCode

CVE-2026-48708

HIGH 7.5CVSS 3.1

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

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
15 Jun 2026
Last modified
20 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-362CWE-567
Also known as
GHSA-7fq5-7wr8-rjwjGO-2026-5216
Sources
NVDJSONOSV GHSA-7fq5-7wr8-rjwjJSONOSV GO-2026-5216JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/OliveTin/OliveTin < 0.0.0-20260521225117-d74da9314005 0.0.0-20260521225117-d74da9314005

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 15 Jun 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.