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

- Severity: High 7.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-09T19:51:35.000Z
- Modified: 2026-07-13T07:26:31.888Z
- Also known as: GHSA-x46r-mf5g-xpr6, PYSEC-2026-2165
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- nicolargo glances: < 4.5.1; before 4.5.1
- glances (PyPI): before 4.5.1

## Every score

- GitHub_M: CVSS:4.0 7.3 High `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`
- GitHub: CVSS:4.0 High `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: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/nicolargo/glances/security/advisories/GHSA-x46r-mf5g-xpr6> (exploit, evidence, vendor-advisory, web)
- <https://github.com/nicolargo/glances/commit/39161f0d6fd723d83f534b48f24cdca722573336> (fix, patch, web)
- <https://github.com/nicolargo/glances/releases/tag/v4.5.1> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-30930> (advisory)
- <https://github.com/nicolargo/glances> (package)

## Sources

- CVE List: [CVE-2026-30930](https://www.cve.org/CVERecord?id=CVE-2026-30930), CVE Terms of Use, modified 2026-03-11
- GitHub Advisory Database: [GHSA-x46r-mf5g-xpr6](https://github.com/advisories/GHSA-x46r-mf5g-xpr6), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-30930](https://nvd.nist.gov/vuln/detail/CVE-2026-30930), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-2165](https://osv.dev/vulnerability/PYSEC-2026-2165), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-30930 · Whole record: https://cve.day/CVE-2026-30930.json · Rebuilt by cve.day 2026-11-25T22:59:15.616Z
