CVE-2026-28279Jmpsec Osctrl
High 8.4
Follow: this CVE · Jmpsec · Jmpsec Osctrl We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 3.1
- 8.4
- EPSS
- —
- Auth required
- Yes
- Published
- Feb 26, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-78
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
What happens
osctrl is an osquery management solution. Prior to version 0.5.0, an OS command injection vulnerability exists in the `osctrl-admin` environment configuration. An authenticated administrator can inject arbitrary shell commands via the hostname parameter when creating or editing environments. These commands are embedded into enrollment one-liner scripts generated using Go's `text/template` package (which does not perform shell escaping) and execute on every endpoint that enrolls using the compromised environment. An attacker with administrator access can achieve remote code execution on every endpoint that enrolls using the compromised environment. Commands execute as root/SYSTEM (the privilege level used for osquery enrollment) before osquery is installed, leaving no agent-level audit trail. This enables backdoor installation, credential exfiltration, and full endpoint compromise. This is fixed in osctrl `v0.5.0`. As a workaround, restrict osctrl administrator access to trusted personnel, review existing environment configurations for suspicious hostnames, and/or monitor enrollment scripts for unexpected commands.
What to do
- Apply the vendor's security update for Osctrl.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/jmpsec/osctrl |
< 0.5.0 |
0.5.0 |
go get github.com/jmpsec/osctrl@v0.5.0 |
| Go | github.com/jmpsec/osctrl |
< 0.5.0 |
0.5.0 |
go get github.com/jmpsec/osctrl@v0.5.0 |
Per OSV / GitHub Advisories (GHSA-rchw-322g-f7rm, GO-2026-4579). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| jmpsec | osctrl | < 0.5.0 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:1042-1 · Mar 25, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking Patch
- github.com Issue Tracking Patch
- github.com Mitigation Vendor Advisory