Vulnerability · Published Mar 10, 2026 · Assigned by GitHub_M
CVE-2026-30930Glances has SQL Injection via Process Names in TimescaleDB Export
High 7.3
In plain English
A high-severity SQL injection in glances from nicolargo. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:14 | glances | 4.5.1+dfsg-1 | DEBIAN-CVE-2026-30930 |
| PyPI | glances | 4.5.1 | GHSA-x46r-mf5g-xpr6 |
| PyPI | glances | 4.5.1 | PYSEC-2026-2165 |
| Ubuntu:22.04:LTS | glances | no fix listed | UBUNTU-CVE-2026-30930 |
| Ubuntu:24.04:LTS | glances | no fix listed | UBUNTU-CVE-2026-30930 |
| Ubuntu:25.10 | glances | no fix listed | UBUNTU-CVE-2026-30930 |
| Ubuntu:26.04:LTS | glances | no fix listed | UBUNTU-CVE-2026-30930 |
| Ubuntu:26.10 | glances | no fix listed | UBUNTU-CVE-2026-30930 |
Affected products (as reported)
Weakness: CWE-89 · 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
References
- https://github.com/nicolargo/glances/security/advisories/GHSA-x46r-mf5g-xpr6 x_refsource_CONFIRM
- https://github.com/nicolargo/glances/commit/39161f0d6fd723d83f534b48f24cdca722573336 x_refsource_MISC
- https://github.com/nicolargo/glances/releases/tag/v4.5.1 x_refsource_MISC