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

> Quoted stat values can inject extra arguments into Glances on-alert action commands, affecting users of on-alert action templates.

- **Severity:** Medium 6.5 (`CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Harmful if only installed:** No
- **Needs a specific call:** No
- **Fix available:** Yes
- **Published:** 25 Nov 2026
- **Updated:** 25 Nov 2026
- **Also known as:** GHSA-56xw-p9qm-r437, UBUNTU-CVE-2026-133465

## What is CVE-2026-133465?

CVE-2026-133465 is a medium-severity command injection vulnerability in nicolargo glances, published on 25 Nov 2026. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

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.

Weakness: CWE-88 (Improper Neutralization of Argument Delimiters in a Command)

## Which versions are affected by CVE-2026-133465?

Only installations with a non-default setting turned on are exposed.


## How do I fix CVE-2026-133465?

Upgrade nicolargo glances to 4.5.7 or later. The advisory says that version fixes it.

## Is CVE-2026-133465 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-133465 exists.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-133465 and fix it if it is affected.

What it is: CVE-2026-133465 is a medium-severity command injection vulnerability in nicolargo glances, published on 25 Nov 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-133465 exists.
Exposure: Only installations with a non-default setting turned on are exposed.

Affected product: nicolargo glances. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-133465/ (Markdown: https://insights.sbomify.com/CVE-2026-133465/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-133465
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-133465
- OSV: https://osv.dev/vulnerability/CVE-2026-133465

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-133465/
Summaries are generated and may contain mistakes; the official description above is the record.
