Skip to main content
← All vulnerabilities
CVE-2026-32610GHSA-9JFM-9RC6-2HFQPYSEC-2026-2169

Glances's Default CORS Configuration Allows Cross-Origin Credential Theft

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.5.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

Glances is an open-source system cross-platform monitoring tool. Prior to version 4.5.2, the Glances REST API web server ships with a default CORS configuration that sets `allow_origins=["*"]` combined with `allow_credentials=True`. When both of these options are enabled together, Starlette's `CORSMiddleware` reflects the requesting `Origin` header value in the `Access-Control-Allow-Origin` response header instead of returning the literal `*` wildcard. This effectively grants any website the ability to make credentialed cross-origin API requests to the Glances server, enabling cross-site data theft of system monitoring information, configuration secrets, and command line arguments from any user who has an active browser session with a Glances instance. Version 4.5.2 fixes the issue.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • nicolargo glances

    fixed in 4.5.2

  • glancesPyPI

    fixed in 4.5.2

References 3

GitHub · nicolargo/glances