SecurityContext

CVE-2026-48708: OliveTin - Race Condition

  • Cve: CVE-2026-48708
  • Name: OliveTin - Race Condition
  • 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.
  • Impact: Concurrent attackers can cause denial of service and execute incorrect commands due to race condition in template processing.
  • Remediation: Update to version 3000.13.0 or later.
  • Vulnerability type: race_condition
  • Vulnerability impact: denial_of_service
  • Requirements: Attacker needs to execute multiple commands concurrently
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00402
  • Epss percentile: 0.35182
  • Assignee: [email protected]
  • Published at: 2026-06-15T21:17:15Z
  • Age in days: 162
  • Modified at: 2026-06-24T17:17:01Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-48708
  • Nvd status: deferred
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-362Concurrent Execution using Shared Resource with Improper Synchronization

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/OliveTin/OliveTin/commit/d74da9314005954dd49fa20dabf272247bc76519
https://github.com/OliveTin/OliveTin/releases/tag/3000.13.0
https://github.com/OliveTin/OliveTin/security/advisories/GHSA-7fq5-7wr8-rjwj

Products

ProductAffectedPlatform boundSourcesUrl
olivetin:olivetin< 3000.13.0nocna_alias_text/v1/products/olivetin/olivetin

Projects

RepositoryLink kindsIndexedUrl
OliveTin/OliveTincommit, fix, package, releases, security_advisoryyes/v1/repositories/OliveTin/OliveTin

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts