Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Jmpsec | Osctrl | < 0.5.0 |
Related Weaknesses (CWE)
References
- https://github.com/jmpsec/osctrl/pull/777Issue TrackingPatch
- https://github.com/jmpsec/osctrl/pull/780Issue TrackingPatch
- https://github.com/jmpsec/osctrl/security/advisories/GHSA-rchw-322g-f7rmVendor AdvisoryMitigation
FAQ
What is CVE-2026-28279?
CVE-2026-28279 is a vulnerability with a CVSS score of 7.3 (HIGH). 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 injec...
How severe is CVE-2026-28279?
CVE-2026-28279 has been rated HIGH with a CVSS base score of 7.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-28279?
Check the references section above for vendor advisories and patch information. Affected products include: Jmpsec Osctrl.