GitHub Advisoryadvisory · Go
GHSA-rphv-h674-5hp2 Fleet Affected by Local Privilege Escalation via Tcl Command Injection in Orbit
HIGH
Official page ↗
- Aliases
- CVE-2026-27806
- Ecosystem
- Go
- Packages
- github.com/fleetdm/fleet/v4
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-78
- Reviewed
- 2026-04-08
Affected packages
• Go github.com/fleetdm/fleet/v4: < 4.81.1 → fixed in 4.81.1
Description
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.
Related
Alias · CVE (1)
- CVE-2026-27806 Fleet is open source device management software. vulnerability
Weakness · CWE (1)
- CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness