Skip to main content
VulnerabilityPublished

CVE-2026-28279: jmpsec osctrl · OS Command Injection

Affects jmpsec osctrlSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.4 High : upgrade to 0.5.0 soon.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 3.1 base score
7.4High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.9% chance of exploitation in 30 days – higher than 61% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.5.0
CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 26 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade osctrl and jmpsec/osctrl to 0.5.0.

Affected software

ProductAffectedFixed in
jmpsecosctrlAffected
  • <0.5.0
Fixed in
  • 0.5.0
GitHubjmpsec/osctrlpkg:github/jmpsec/osctrlOther threatsAffected
  • <0.5.0
Fixed in
  • 0.5.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Upgrade osctrl to version 0.5.0 or later immediately to apply the official fix.
  2. Restrict osctrl administrator access strictly to trusted and vetted personnel to reduce the risk of malicious configuration changes.
  3. Conduct thorough audits of existing environment configurations, focusing on the hostname parameter, to detect any suspicious or unexpected command injections.
  4. Monitor enrollment one-liner scripts for anomalous or unauthorized commands before deployment to endpoints.
  5. Implement multi-factor authentication and strong access controls on the osctrl administrative interface to prevent unauthorized access.
  6. Use network segmentation and endpoint protection to limit the impact if an endpoint is compromised.
  7. Establish logging and alerting mechanisms external to osquery agents to detect unusual enrollment activities or environment changes.
  8. Educate administrators on secure configuration practices and the risks of command injection vulnerabilities.

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.

References

Community reviews

Loading reviews…