Fleet Affected by Local Privilege Escalation via Tcl Command Injection in Orbit
Published 8 Apr 2026 · Updated 26 Jun 2026
Is your project on an affected github.com/fleetdm/fleet/v4?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <4.81.1
- Fixed in
- 4.81.1
go get github.com/fleetdm/fleet/v4@v4.81.1Details
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.
Is GHSA-rphv-h674-5hp2 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/fleetdm/fleet/v4, and gives you the command that fixes it.
More advisories for github.com/fleetdm/fleet/v4
- LowCVE-2026-54245Fleet: SQL injection in Okta conditional access endpoint allows host-controlled compromise of the Fleet database in github.com/fleetdm/fleet · 25 Aug 2026
- LowCVE-2026-101047Fleet: Unauthenticated download of in-house iOS app binaries via predictable URLs in github.com/fleetdm/fleet · 25 Aug 2026
- LowCVE-2026-101046Fleet: ORDER BY column injection on activity list endpoints in github.com/fleetdm/fleet · 25 Aug 2026
- LowCVE-2026-101046Fleet: ORDER BY column injection on activity list endpoints · 20 Aug 2026
- MediumCVE-2026-101047Fleet: Unauthenticated download of in-house iOS app binaries via predictable URLs · 20 Aug 2026
- LowCVE-2026-48786Fleet: Observer-class users can view team enroll secrets and credential-bearing configuration via target search endpoint in github.com/fleetdm/fleet · 18 Aug 2026
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.