Advisory

PYSEC-2026-2165

Also known as: CVE-2026-30930, GHSA-x46r-mf5g-xpr6

Summary

The record has no summary.

Details

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.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2026-03-10 18:18 UTC
Modified
2026-07-13 07:15 UTC

Affected packages and fixes

glances

PyPI · All systems

Affected

  • introduced 0, fixed 4.5.1 (ecosystem)

Fixed versions

4.5.1

Fix

  • Fixed version 4.5.1
    pip install --upgrade glances==4.5.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences