CVE-2026-28279: `osctrl-admin` Vulnerable to OS Command Injection via Environment Configuration
Vulnerability summary
CVE-2026-28279 is a high (CVSS 8.4) vulnerability in jmpsec osctrl. EPSS estimates a 0.97% chance of exploitation in the next 30 days, higher than 61.8% of scored vulnerabilities.
Not severe (CVSS 7.4, adjacent network); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 26-02-2026PublishedVulnerability first disclosed.
- 27-02-2026Last modifiedVulnerability information updated.
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 metrics
3 scores · 3 sources · 1 version- CVE.orgCNA7.4HighCVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:HDiffers
- OSV · GoEcosystem advisory · calculated7.3HighCVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:HDiffers
EPSS trend
Probability
0.97%
Chance of exploitation in the next 30 days
Percentile
62%
Versus all other CVEs
30-day change
Decrease -0.31 pp
From 1.28% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: adjacent network, administrative account, user interaction (CVSS vector). Other conditions: not stated in public data.
Github.com/jmpsec1 product
- osctrl< 0.5.0
Jmpsec1 product
- osctrl< 0.5.0
2 vendors · 2 products
References
5 links- github.com/jmpsec/osctrl/security/advisories/GHSA-rchw-322g-f7rmX Refsource CONFIRMWEBAdvisoryMitigationVendor Advisory
- github.com/jmpsec/osctrlPACKAGE