Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-30930: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in nicolargo glances

0
High
VulnerabilityCVE-2026-30930cvecve-2026-30930cwe-89
Published: Tue Mar 10 2026 (03/10/2026, 16:16:59 UTC)
Source: CVE Database V5
Vendor/Project: nicolargo
Product: glances

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.

AI-Powered Analysis

AILast updated: 03/10/2026, 17:04:05 UTC

Technical Analysis

Glances is a cross-platform open-source system monitoring tool that supports exporting monitoring data to TimescaleDB, a time-series database built on PostgreSQL. Prior to version 4.5.1, the TimescaleDB export module in Glances constructs SQL queries by concatenating strings that include system monitoring data such as process names, filesystem mount points, network interface names, and container names. The normalize() method attempts to wrap string values in single quotes but fails to escape embedded single quotes within these values. This improper neutralization of special characters (CWE-89) leads to a trivial SQL injection vulnerability. An attacker who can control or influence monitored data fields can inject malicious SQL commands, potentially compromising the database's confidentiality, integrity, and availability. The vulnerability does not require authentication or user interaction but does require local or container-level access to supply crafted data. The CVSS 4.0 base score is 7.3 (high severity), reflecting the high impact on confidentiality, integrity, and availability, combined with low attack complexity and no privileges required. The issue was publicly disclosed on March 10, 2026, and fixed in Glances 4.5.1. No known exploits are currently reported in the wild.

Potential Impact

The SQL injection vulnerability in Glances' TimescaleDB export module can allow attackers to execute arbitrary SQL commands on the backend database. This can lead to unauthorized disclosure of sensitive monitoring data, data tampering, or denial of service by corrupting or deleting database contents. Organizations relying on Glances for system monitoring and storing data in TimescaleDB are at risk of database compromise if running affected versions. Since Glances is often deployed in server environments and containers, attackers with local or container access can exploit this flaw to escalate their privileges or move laterally by compromising monitoring infrastructure. The impact is significant for organizations that rely on accurate and secure monitoring data for operational and security decisions. Additionally, compromised monitoring data integrity can hinder incident response and forensic investigations.

Mitigation Recommendations

The primary mitigation is to upgrade Glances to version 4.5.1 or later, where the vulnerability is fixed by properly escaping embedded single quotes in SQL queries. Organizations should audit their deployments to identify any instances running affected versions. For environments where immediate upgrade is not feasible, consider disabling the TimescaleDB export feature temporarily to eliminate the attack surface. Additionally, restrict local and container access to trusted users only, as exploitation requires the ability to supply attacker-controlled data. Implement network segmentation and monitoring to detect anomalous database queries. Database permissions should be minimized to limit the impact of any injection. Finally, consider employing Web Application Firewalls or SQL query monitoring tools that can detect and block suspicious SQL injection attempts targeting the monitoring infrastructure.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-07T16:40:05.885Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69b04b8dea502d3aa873bac7

Added to database: 3/10/2026, 4:49:17 PM

Last enriched: 3/10/2026, 5:04:05 PM

Last updated: 3/10/2026, 7:00:21 PM

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses