CVE-2026-30930
HIGH 7.3CVSS 4.0Glances has SQL Injection via Process Names in TimescaleDB Export
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.
- Published
- 10 Mar 2026
- Last modified
- 13 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-89
- Also known as
- GHSA-x46r-mf5g-xpr6PYSEC-2026-2165
- Sources
- NVDJSONOSV GHSA-x46r-mf5g-xpr6JSONOSV PYSEC-2026-2165JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 7.3 | 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nicolargo | glancescpe:2.3:a:nicolargo:glances:*:*:*:*:*:*:*:* |
< 4.5.1 | 4.5.1 |
| OSV | PyPI | glances | < 4.5.1 | 4.5.1 |
References
- https://github.com/nicolargo/glances/commit/39161f0d6fd723d83f534b48f24cdca722573336 · Patch, WEB, FIX
- https://github.com/nicolargo/glances/releases/tag/v4.5.1 · Product, WEB
- https://github.com/nicolargo/glances/security/advisories/GHSA-x46r-mf5g-xpr6 · Exploit, Vendor Advisory, WEB, EVIDENCE
- https://nvd.nist.gov/vuln/detail/CVE-2026-30930 · ADVISORY
- https://github.com/nicolargo/glances · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 10 Mar 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Mar 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Mar 2026)