CVE-2026-28279: Github.com/jmpsec/osctrl Osctrl Is Vulnerable To OS Vulnerability
HIGHCVE-2026-28279 is a HIGH (CVSS 7.3) osctrl is vulnerable to os vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')) affecting Github.com/jmpsec/osctrl libraries in the Go ecosystem. The issue involves osctrl is vulnerable to os command injection via environment configuration. Remediation is available by upgrading affected packages to version 0.5.0.
CVE-2026-28279 at a Glance
Security Impact
CVSS: 7.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H).
How to Fix CVE-2026-28279
To remediate this vulnerability, upgrade all affected Github.com/jmpsec/osctrl dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/jmpsec/osctrl to 0.5.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/jmpsec/osctrl
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-28279, inspect your project dependencies for Github.com/jmpsec/osctrl:
inspect dependencies for github.com/jmpsec/osctrl
Analyze the terminal output to locate any version of Github.com/jmpsec/osctrl in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.5.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'), where the product constructs all or part of an os command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended os command when it is sent to a downstream component. In Github.com/jmpsec/osctrl, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-28279 Affected Github.com/jmpsec/osctrl Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/jmpsec/osctrl
|
Go |
< 0.5.0
|
0.5.0
|
References
Frequently Asked Questions
What is CVE-2026-28279?
Which Github.com/jmpsec/osctrl versions are affected?
What version fixes CVE-2026-28279?
Is github.com/jmpsec/osctrl affected?
What is the CVSS score of CVE-2026-28279?
What CWE is associated with CVE-2026-28279?
How can I check Go dependencies for CVE-2026-28279?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rchw-322g-f7rm",
"modified" : "2026-02-28T02:05:48Z",
"published" : "2026-02-28T02:05:48Z",
"aliases" : [ "CVE-2026-28279" ],
"summary" : "osctrl is Vulnerable to OS Command Injection via Environment Configuration",
"details" : "### Summary\nAn 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.\n\n### Impact\nAn 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.\n\n### Patches\nFixed in osctrl `v0.5.0`. Users should upgrade immediately.\n\n### Workarounds\nRestrict osctrl administrator access to trusted personnel. Review existing environment configurations for suspicious hostnames. Monitor enrollment scripts for unexpected commands.\n\n### Credits\n\nLeon Johnson and Kwangyun Keum from TikTok USDS JV Offensive Security Operations (Offensive Privacy Team)\n\nhttps://github.com/Kwangyun → @Kwangyun\nhttps://github.com/sho-luv → @sho-luv",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/jmpsec/osctrl"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.5.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/jmpsec/osctrl/security/advisories/GHSA-rchw-322g-f7rm"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-28279"
}, {
"type" : "WEB",
"url" : "https://github.com/jmpsec/osctrl/pull/777"
}, {
"type" : "WEB",
"url" : "https://github.com/jmpsec/osctrl/pull/780"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/jmpsec/osctrl"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-78" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-02-28T02:05:48Z",
"nvd_published_at" : "2026-02-26T23:16:37Z"
}
}