{
  "id": "CVE-2026-32611",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-32611",
  "published_at": "2026-03-18T17:21:18.668Z",
  "title": "Glances has a SQL Injection in DuckDB Export via Unparameterized DDL Statements",
  "vendor": "nicolargo",
  "product": "glances",
  "cvss": {
    "score": 9.1,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Glances is an open-source system cross-platform monitoring tool. The GHSA-x46r fix (commit 39161f0) addressed SQL injection in the TimescaleDB export module by converting all SQL operations to use parameterized queries and `psycopg.sql` composable objects. However, the DuckDB export module (`glances/exports/glances_duckdb/__init__.py`) was not included in this fix and contains the same class of vulnerability: table names and column names derived from monitoring statistics are directly interpolated into SQL statements via f-strings. While DuckDB INSERT values already use parameterized queries (`?` placeholders), the DDL construction and table name references do not escape or parameterize identifier names. Version 4.5.3 provides a more complete fix.",
  "cwe": "CWE-89",
  "cpes": [
    "cpe:2.3:a:nicolargo:glances:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7,
    "nvd": 9.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "nicolargo",
        "product": "glances",
        "ranges": [
          "\u003c 4.5.2"
        ],
        "fixed_in": [
          "4.5.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade glances to 4.5.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/nicolargo/glances/security/advisories/GHSA-49g7-2ww7-3vf5"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/nicolargo/glances/commit/63b7da28895249d775202d639e5531ba63491a5c"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/nicolargo/glances/releases/tag/v4.5.2"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
