CVE-2026-133465: Glances: Argument Injection in On-Alert Action Commands via Unescaped Quote Characters in secure.py's Command Tokenizer

Published Nov 25, 2026
·
Updated

Glances is an open-source system cross-platform monitoring tool. In versions prior to 4.5.7, the on-alert action command tokenizer in secure.py treats quote characters as argument boundaries without escaping. A monitored stat value, such as a mount point name, that is quoted in an action command template can contain a quote character that breaks out of its quote boundary and injects additional arguments into the process the action invokes. No shell operator is needed for this attack. This issue has been fixed in version 4.5.7.

Affected Software

1 affected component
Glances Glances<4.5.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.5.7

Event History

Nov 25, 2026
CVE Published
via MITRE·07:04 PM
Data Sourced
via MITRE·07:04 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are affected?

Glances versions prior to 4.5.7 are affected when they use on-alert action command templates that quote monitored statistic values. Version 4.5.7 contains the fix.

2

What conditions are required for exploitation?

An attacker needs low-level privileges and must be able to cause a monitored statistic value, such as a mount point name, to contain a quote character. The affected value must be inserted into a quoted field in an on-alert action command template.

3

Does exploitation require shell metacharacters or shell operators?

No. The injected quote alters the command tokenizer's argument boundaries, allowing additional arguments to be passed to the invoked process without requiring a shell operator.

4

What can be done if an immediate upgrade is not possible?

Avoid or review on-alert action command templates that place monitored statistic values inside quotes, particularly values that could be influenced through names such as mount points. Restrict who can create or alter monitored resources and Glances alert configuration until upgrading to 4.5.7.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203