CVE-2026-37012

Hardcoded API Credentials in PentestGPT Leaking Telemetry Data

Published Aug 27, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
A vulnerability in pentestgpt/core/langfuse.py in PentestGPT 1.0.0 allows remote attackers to disclose sensitive user telemetry data via hardcoded API credentials.

Analysis

AI-generated

Technical impact

A weakness in PentestGPT’s core language integration file, langfuse.py, embeds static API credentials. This flaw permits a remote adversary to retrieve telemetry gathered by the tool, exposing privacy‑sensitive user data. The vulnerability aligns with attempts to misuse hard‑coded secrets (CWE‑798) and directly reveals protected information.

Affected Systems

The vulnerability affects the open‑source PentestGPT tool, version 1.0.0, which includes the langfuse.py file with hard‑coded API credentials. No specific vendor was listed, but individuals using this version of the product are at risk.

Risk and Exploitability

The EPSS score is <1%, and the CVSS score is 7.5, indicating a high severity vulnerability. The attack vector is inferred to be remote, as the hard‑coded credentials allow an attacker to access the telemetry endpoint if it is exposed or reachable. While the exact exploitation conditions are not detailed, the exposed credential could enable retrieval of sensitive user telemetry, leading to confidentiality compromise. Given the CVSS score, the risk level is high, but the potential impact warrants prompt remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update PentestGPT to the latest release where the hard‑coded credentials are removed or protected.
  • If an updated release is not available, manually edit langfuse.py to delete the hard‑coded API key and replace it with a secure placeholder or an environment variable; then re‑configure the tool to load the key at runtime.
  • Restrict network access to the telemetry service and enforce least‑privilege restrictions on any remaining API keys to limit exposure if an attacker obtains accidental credential leakage.

Generated by OpenCVE AI on September 2, 2026 at 06:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Hardcoded API Credentials in PentestGPT Leaking Telemetry Data
Type Values Removed Values Added
Title Hardcoded API Credentials Expose Telemetry Data in PentestGPT 1.0.0
Weaknesses CWE-200
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

Type Values Removed Values Added
First Time appeared Greydgl
Greydgl pentestgpt
Vendors & Products Greydgl
Greydgl pentestgpt
Type Values Removed Values Added
Title Hardcoded API Credentials Expose Telemetry Data in PentestGPT 1.0.0
Weaknesses CWE-200
CWE-798
Type Values Removed Values Added
Description A vulnerability in pentestgpt/core/langfuse.py in PentestGPT 1.0.0 allows remote attackers to disclose sensitive user telemetry data via hardcoded API credentials.
References
Weaknesses
  • CWE-798

    Use of Hard-coded Credentials

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Sep 1, 2026, 7:32 PM
Reserved
Apr 6, 2026, 12:00 AM
Status
Deferred
Published
Aug 27, 2026, 8:17 PM
Modified
Sep 1, 2026, 8:17 PM