CVE-2026-27806
JSON

7.8high

Fleet Affected by Local Privilege Escalation via Tcl Command Injection in Orbit

Severity
7.8high CVSS:3.1 by GitHub_M
Exploit likelihood
0.11% (higher than 1% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-rphv-h674-5hp2GO-2026-5634

Description

Fleet is open source device management software. Prior to 4.81.1, the Orbit agent's FileVault disk encryption key rotation flow on collects a local user's password via a GUI dialog and interpolates it directly into a Tcl/expect script executed via exec.Command("expect", "-c", script). Because the password is inserted into Tcl brace-quoted send {%s}, a password containing } terminates the literal and injects arbitrary Tcl commands. Since Orbit runs as root, this allows a local unprivileged user to escalate to root privileges. This vulnerability is fixed in 4.81.1.

Affected

Product or packageVersionsReported by
fleetdm fleet< 4.81.1, before 4.81.1CVE List, NVD
github.com/fleetdm/fleet/v4 (Go)before 4.81.1GitHub Advisory Database, Go Vulnerability Database

All scores

GitHub_M7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-78

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

Fleet is open source device management software. Prior to 4.81.1, the Orbit agent's FileVault disk encryption key rotation flow on collects a local user's password via a GUI dialog and interpolates it directly into a Tcl/expect script executed via exec.Command("expect", "-c", script). Because the password is inserted into Tcl brace-quoted send {%s}, a password containing } terminates the literal and injects arbitrary Tcl commands. Since Orbit runs as root, this allows a local unprivileged user to escalate to root privileges. This vulnerability is fixed in 4.81.1.

GitHub Advisory Database

Summary

The Orbit agent's FileVault disk encryption key rotation flow on collects a local user's password via a GUI dialog and interpolates it directly into a Tcl/expect script executed via exec.Command("expect", "-c", script). Because the password is inserted into Tcl brace-quoted send {%s}, a password containing } terminates the literal and injects arbitrary Tcl commands. Since Orbit runs as root, this allows a local unprivileged user to escalate to root privileges.

CWE

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Impact

  • Local privilege escalation to root: Any unprivileged local user on a managed endpoint can execute arbitrary commands as root

Credit

This vulnerability was discovered and reported by bugbunny.ai.

Go Vulnerability Database

Fleet Affected by Local Privilege Escalation via Tcl Command Injection in Orbit in github.com/fleetdm/fleet

NVD (es)

Fleet es software de gestión de dispositivos de código abierto. Antes de la versión 4.81.1, el flujo de rotación de claves de cifrado de disco FileVault del agente Orbit recopila la contraseña de un usuario local a través de un diálogo de GUI y la intercala directamente en un script Tcl/expect ejecutado mediante exec.Command("expect", "-c", script). Debido a que la contraseña se inserta en el comando Tcl send {%s} entre llaves, una contraseña que contiene } termina el literal e inyecta comandos Tcl arbitrarios. Dado que Orbit se ejecuta como root, esto permite a un usuario local sin privilegios escalar a privilegios de root. Esta vulnerabilidad se corrigió en la versión 4.81.1.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-27806 changed 2026-04-09CVE Terms of Use
GitHub Advisory DatabaseGHSA-rphv-h674-5hp2 changed 2026-06-26CC-BY-4.0
Go Vulnerability DatabaseGO-2026-5634 changed 2026-06-25CC-BY-4.0
NVDCVE-2026-27806 changed 2026-07-25Public domain