Skip to content
CVE-2026-133500

Gladys Assistant Backup Gateway Command Injection (CVE-2026-133500)

Initial Access Execution Last updated:

Detects exploitation attempts against CVE-2026-133500, a command injection / OS command injection weakness (CWE-77, CWE-78) in Gladys Assistant up to and including version 4.71.0. The flaw resides in an unknown function within gateway.downloadBackup.js of the Backup component, where attacker-controllable input used to construct a backup download/restore operation is passed to a shell without adequate sanitization. Because Gladys Assistant typically runs as a privileged service on home-automation gateways (often in Docker or on Raspberry Pi hosts) and backup handling can be reached by an authenticated or network-adjacent actor, successful exploitation yields arbitrary OS command execution in the context of the Gladys process. CVSS 8.5 (high). A proof-of-concept exploit is publicly available; the fix shipped in v4.72.0. These rules look for anomalous child processes spawned by the Node.js Gladys runtime, shell metacharacters in backup-related HTTP requests, and unexpected outbound connections or file writes originating from the backup code path.

Vulnerability Intelligence

Theoretical

What is CVE-2026-133500 Gladys Assistant Backup Gateway Command Injection (CVE-2026-133500)?

Gladys Assistant Backup Gateway Command Injection (CVE-2026-133500) (CVE-2026-133500) maps to the Initial Access and Execution tactics — the adversary is trying to get into your network in MITRE ATT&CK.

This page provides production-ready detection logic for Gladys Assistant Backup Gateway Command Injection (CVE-2026-133500), covering the data sources and telemetry it touches: Microsoft Defender for Endpoint, Device process telemetry. The queries below are rated high severity at medium confidence, and ship for 7 SIEM platforms — KQL, SPL, Elastic, QRadar, Sumo, YARA-L, LogScale.

MITRE ATT&CK

Tactic
Initial Access Execution
Microsoft Sentinel / Defender
kusto
// df00tech DF00-4d24740b2c · https://df00tech.com/detections/CVE-2026-133500 · licence: https://df00tech.com/detections/licence
let gladysParents = dynamic(["node", "nodejs", "npm", "gladys"]);
let shellChildren = dynamic(["sh", "bash", "dash", "zsh", "tar", "gzip", "gunzip", "curl", "wget", "nc", "ncat", "python", "python3", "perl"]);
DeviceProcessEvents
| where InitiatingProcessFileName has_any (gladysParents) or InitiatingProcessCommandLine has "gladys"
| where FileName in~ (shellChildren)
| where ProcessCommandLine has_any ("-c", "|", ";", "&&", "$(", "`", "curl", "wget", "/dev/tcp")
   or ProcessCommandLine has_any ("downloadBackup", "backup")
| project Timestamp, DeviceName, InitiatingProcessFileName, InitiatingProcessCommandLine, FileName, ProcessCommandLine, AccountName, InitiatingProcessId, ProcessId
| order by Timestamp desc

Flags shell or networking utilities spawned as children of the Gladys Assistant Node.js runtime, carrying shell-injection metacharacters or backup-related keywords, the observable signature of command injection via gateway.downloadBackup.js.

high severity medium confidence

Data Sources

Microsoft Defender for Endpoint Device process telemetry

Required Tables

DeviceProcessEvents

False Positives

  • Legitimate backup/restore operations in Gladys that call tar/gzip as part of normal archive handling
  • Administrators running maintenance scripts or container entrypoints that invoke shell utilities under the node process
  • Monitoring or healthcheck agents exec-ing shell commands inside the Gladys container

Query fingerprint DF00-4d24740b2c · licence

Sigma logsource & community rules

The detection logic for Gladys Assistant Backup Gateway Command Injection (CVE-2026-133500) (CVE-2026-133500) above is provided in a vendor-neutral form so you can deploy it on any SIEM. The same logic is shipped here as native KQL (Microsoft Sentinel / Defender), SPL (Splunk), Elastic (Elastic Security (EQL)), QRadar (IBM QRadar (AQL)), Sumo (Sumo Logic CSE), YARA-L (Google Chronicle / SecOps), LogScale (CrowdStrike LogScale (CQL)) queries. In Sigma terms, this detection targets the following logsource:

logsource:
  category: process_creation
  product: windows

Browse the community-maintained Sigma rules for this technique:


Testing Methodology

Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are further down this page.

  1. Test 1 Simulated command injection via shell metacharacters under node

    Expected signal: Process event: node -> sh -c with 'tar ...; id' showing a semicolon-separated injected command.

  2. Test 2 Reverse-shell style network tooling spawned from node

    Expected signal: Process event: node -> curl with an outbound HTTP request to localhost test endpoint.

  3. Test 3 Command substitution injection in backup context

    Expected signal: Process event: node -> sh -c containing '$(id -un)' command substitution with 'backup' keyword.


Response Playbook

Triage

  1. Confirm the Gladys Assistant version on the affected host, versions up to 4.71.0 are vulnerable; 4.72.0+ contains the fix. Check the running image tag or package version.
  2. Examine the flagged child process command line for shell metacharacters (;, |, &&, $(), backticks) or network tooling (curl/wget/nc) indicating injected commands rather than legitimate backup archiving.
  3. Correlate the process event with inbound HTTP requests to backup/download endpoints around the same timestamp to identify the originating client IP and whether the request was authenticated.
  4. Review whether the Gladys service is exposed to untrusted networks (directly or via reverse proxy) and whether backup functionality is reachable.

Containment

  1. Isolate or network-segment the affected gateway host to prevent further command execution and lateral movement.
  2. Upgrade Gladys Assistant to v4.72.0 or later immediately; if upgrade is not possible, restrict access to the backup endpoint via reverse-proxy ACLs and disable backup download functionality.
  3. Rotate any credentials, API tokens or home-automation integration secrets that were accessible to the Gladys process.

Evidence Collection

  1. Capture the full process tree (parent node process, injected shell, and any descendants) with command lines, PIDs and start times.
  2. Preserve Gladys application logs, reverse-proxy/access logs and any backup files in the backup directory for forensic analysis.
  3. Snapshot the container filesystem or host disk, and collect outbound connection records (curl/wget/nc destinations) to identify exfiltration or second-stage download.

Escalation Criteria

  • ! Escalate to incident response if injected commands show evidence of reverse-shell establishment, credential access, or outbound connections to unknown infrastructure.
  • ! Escalate if the host shows signs of persistence (new cron jobs, modified startup scripts, added SSH keys) or lateral movement to other devices on the home/OT network.

Investigation Guide

Forensic Artifacts

  • > Gladys application logs referencing gateway.downloadBackup operations
  • > Shell history and process audit records (auditd/execve) showing node-spawned shells
  • > Reverse-proxy and web-server access logs with backup endpoint requests containing shell metacharacters
  • > Contents and timestamps of the Gladys backup directory

Tuning Guidance

Establish a baseline of legitimate child processes spawned by the Gladys node runtime during normal backup/restore (commonly tar and gzip without shell metacharacters). Allowlist those exact invocation patterns, then alert on any shell interpreter (sh/bash) with -c, pipes, command substitution, or network tooling (curl/wget/nc) as children of node. Tighten by restricting to hosts running Gladys <= 4.71.0 and to events correlated with backup endpoint HTTP traffic to reduce noise.


Hunting Queries

Baselines which shell/network child processes the Gladys node runtime spawns, so anomalous injected commands stand out from routine tar/gzip backup activity.

Hunting — KQL
kql
// df00tech DF00-4d24740b2c · https://df00tech.com/detections/CVE-2026-133500 · licence: https://df00tech.com/detections/licence
DeviceProcessEvents | where InitiatingProcessFileName in~ ("node","nodejs") | summarize count() by FileName, ProcessCommandLine, DeviceName | where FileName in~ ("sh","bash","curl","wget","nc") | order by count_ desc
Hunting — SPL
spl
``` df00tech DF00-4d24740b2c · https://df00tech.com/detections/CVE-2026-133500 · licence: https://df00tech.com/detections/licence ```
index=* (parent_process_name=node OR parent_process_name=nodejs) process_name IN (sh,bash,curl,wget,nc) | stats count by host process_name process | sort - count

Atomic Red Team Tests

Test 1 Simulated command injection via shell metacharacters under node
linux

Emulates the injection signature by having a node process spawn a shell that executes an injected command, mirroring gateway.downloadBackup.js behavior.

Command

bash
node -e "require('child_process').execSync('tar -czf /tmp/backup.tgz /etc/hostname; id > /tmp/atomic_injection.txt', {stdio:'inherit'})"

Cleanup

bash
rm -f /tmp/backup.tgz /tmp/atomic_injection.txt

Expected Telemetry

Process event: node -> sh -c with 'tar ...; id' showing a semicolon-separated injected command.

Expected Detection

KQL/SPL/EDR rules fire on node parent spawning sh with injection metacharacters and backup keyword.

Test 2 Reverse-shell style network tooling spawned from node
linux

Emulates post-exploitation where the injected command launches a networking utility to simulate exfiltration or callback from the Gladys process.

Command

bash
node -e "require('child_process').execSync('curl -s http://127.0.0.1:9999/backup || true', {stdio:'inherit'})"

Cleanup

bash
echo 'no cleanup required'

Expected Telemetry

Process event: node -> curl with an outbound HTTP request to localhost test endpoint.

Expected Detection

Rules fire on node parent spawning curl/wget/nc with network indicators.

Test 3 Command substitution injection in backup context
linux

Emulates command substitution ($()) being injected into a backup filename/path argument processed by a shell under node.

Command

bash
node -e "require('child_process').execSync('echo backup_$(id -un).tgz', {stdio:'inherit'})"

Cleanup

bash
echo 'no cleanup required'

Expected Telemetry

Process event: node -> sh -c containing '$(id -un)' command substitution with 'backup' keyword.

Expected Detection

Rules fire on node parent spawning sh with $() command substitution and backup keyword.

Related Detections

Browse by tactic

Full ATT&CK matrix Search all detections