Security mailing lists by PureSourceCode

CVE-2026-28279

HIGH 8.4CVSS 3.1

osctrl is Vulnerable to OS Command Injection via Environment Configuration

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.

Published
26 Feb 2026
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-78
Also known as
GHSA-rchw-322g-f7rmGO-2026-4579
Sources
NVDJSONOSV GHSA-rchw-322g-f7rmJSONOSV GO-2026-4579JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.4 CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.3 CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.3 CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD jmpsec osctrl
cpe:2.3:a:jmpsec:osctrl:*:*:*:*:*:*:*:*
< 0.5.0 0.5.0
OSV Go github.com/jmpsec/osctrl < 0.5.0 0.5.0

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 26 Feb 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Mar 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Feb 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.