CVE-2026-53925General

LOWCVSS 7.8 · HIGH

Signal is active with 1 mentions in latest observed window

Immediate actions

  • Track advisory updates for patch or workaround availability

Recommended action window: Monitor and triage in normal cycle

NVD description

Glances is an open-source system cross-platform monitoring tool. From 4.0.8 until 4.5.5, the secure_popen() function in glances/secure.py interprets > (file redirection), | (pipe), and && (command chaining) operators in command strings. These operators are applied without any validation on the target file path, piped command, or chained command. When Application Monitoring Process (AMP) modules load their command or service_cmd configuration values from glances.conf, those values are passed directly to secure_popen() with no sanitization. This allows an attacker who can modify the Glances configuration file to write arbitrary content to arbitrary filesystem paths (via >), chain arbitrary commands (via &&), or pipe command output to arbitrary programs (via |). This vulnerability is fixed in 4.5.5.

0.0/ 10 priority

Sources & remediation

Weakness type (CWE)
CWE-22

Priority

LOW

Exploitation

NONE

PoC

NONE

Patch

NONE

Momentum

NONE

Threat summary

  • 1 mentions across 1 observed day

What's happening

  • Technical details provided in 1 signal
  • General: 1 classified signal
  • 1 total mentions across 1 day

Deep dive

Activity timeline1 mentions / 1d
00111Mentions · 2026-06-24: 1Technical Details · 2026-06-24: 106-24
Signal classification1 categories
General
1100.0%
Full discourse1 post
  • Upwind Security MDR@UpwindMDR
    General

    🚨 HIGH - Glances AMP config command injection via secure_popen operator parsing (CVE-2026-53925) Glances is vulnerable in its secure_popen() implementation, which is used to run AMP module command/service_cmd entries from glances.conf and wrongly treats shell-like operators (>, |, &&) as meaningful input. The root cause is improper input validation leading to command injection and arbitrary file write via redirection/piping semantics being interpreted from untrusted strings. An attacker who can modify glances.conf AMP module command/service_cmd values can exploit this by injecting operator chains to redirect output to attacker-chosen paths or pipe/chains to execute additional commands, and --disable-config-exec does not prevent this because it only blocks backticks during parsing. If exploited, this can result in arbitrary command execution and arbitrary file writes, enabling privilege escalation, persistence, data tampering, or full host compromise depending on the Glances runtime privileges. 👉 Affected: glances (versions not specified) | Upgrade to No fix yet treat as suspicious

    Post summary

    The advisory details a command injection flaw in Glances’s secure_popen handler, enabling arbitrary command and file write operations, but does not provide a PoC, exploit code, patch, or evidence of active exploitation.

    0000076
    226 followersView on X

Explore more