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.
Published: 2026-08-27
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Sensitive Data Exposure
Action: Immediate Patch
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Wed, 02 Sep 2026 08:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 02 Sep 2026 06:45:00 +0000

Type Values Removed Values Added
Title Hardcoded API Credentials in PentestGPT Leaking Telemetry Data

Wed, 02 Sep 2026 00:30:00 +0000

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

Tue, 01 Sep 2026 22:00:00 +0000

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'}


Fri, 28 Aug 2026 08:45:00 +0000

Type Values Removed Values Added
First Time appeared Greydgl
Greydgl pentestgpt
Vendors & Products Greydgl
Greydgl pentestgpt

Fri, 28 Aug 2026 06:45:00 +0000

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

Thu, 27 Aug 2026 18:00:00 +0000

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

Subscriptions

Greydgl Pentestgpt
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-09-01T19:32:01.197Z

Reserved: 2026-04-06T00:00:00.000Z

Link: CVE-2026-37012

cve-icon Vulnrichment

Updated: 2026-09-01T19:31:57.186Z

cve-icon NVD

Status : Deferred

Published: 2026-08-27T20:17:41.843

Modified: 2026-09-01T20:17:14.130

Link: CVE-2026-37012

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-02T06:30:07Z

Weaknesses
  • CWE-798

    Use of Hard-coded Credentials