Skip to main content

PentestGPT EUVDEUVD-2026-67267

| CVE-2026-37012 HIGH
Use of Hard-coded Credentials (CWE-798)
2026-08-27 mitre GHSA-gmrc-gf77-xwpg
7.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Read public GitHub source
  2. Delivery
    Extract hardcoded Langfuse API key pair
  3. Exploit
    Authenticate directly to Langfuse API
  4. Execution
    Enumerate user telemetry traces
  5. Impact
    Exfiltrate sensitive pentest session data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Credential externalization
MITRE ATT&CK

2 techniques across 2 tactics: Persistence, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker requires only the ability to read the public PentestGPT GitHub repository, which imposes no authentication or network privilege requirement. For the leaked credentials to yield live data, PentestGPT 1.0.0 must have been deployed with the default Langfuse telemetry integration active - meaning pentestgpt/core/langfuse.py must have been loaded and the hardcoded credentials must have been used to submit at least one telemetry trace. Additionally, the Langfuse project owner must not yet have rotated the compromised API keys; rotation immediately invalidates the hardcoded values and prevents further unauthorized access. Exploitation does not require authentication to PentestGPT, network adjacency, or any user interaction. The sensitive data returned depends on how extensively affected deployments have used PentestGPT and what telemetry content Langfuse was configured to capture.

Impact

Despite the CVSS 7.5 score with AV:N/PR:N vector, real-world exploitation requires only the ability to read a public GitHub repository - effectively zero barrier. The primary impact is confidentiality loss on the Langfuse telemetry system, which for a security tool likely contains highly sensitive data including pentest target hostnames, vulnerability findings, and full AI conversation histories. EPSS of 0.22% at the 12th percentile reflects that mass automated exploitation is unlikely given the narrow affected population. No active exploitation is confirmed and no CISA KEV listing exists; no standalone POC is needed given the credential location is publicly documented in a GitHub reference. Any security consultancy or individual practitioner running PentestGPT 1.0.0 with the default Langfuse integration would passively expose client engagement telemetry to anyone who examines the repository. The 'Authentication Bypass' tag in the input is inaccurate and mischaracterizes the vulnerability - this is information disclosure via hardcoded credential exposure, not a bypass of PentestGPT's own authentication mechanism.

Exploit ScenarioDerived

An attacker visits the public PentestGPT GitHub repository, navigates to pentestgpt/core/langfuse.py line 114, and copies the hardcoded Langfuse API public and secret key pair. Using the Langfuse SDK or REST API directly, they authenticate to the Langfuse backend as the PentestGPT application and enumerate all recorded telemetry traces, which may include pentest target IP addresses, discovered vulnerabilities, and full AI prompt-response session histories for every user whose telemetry was submitted to that Langfuse project. No access to any victim's PentestGPT instance is required.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 01, 2026

Hardcoded Langfuse API credentials embedded in PentestGPT 1.0.0's core telemetry module expose all user session telemetry to unauthorized third parties. Any actor who reads the public GitHub repository can extract the literal API key pair from pentestgpt/core/langfuse.py:114 and authenticate directly to the Langfuse observability backend, gaining read access to pentest session traces that may contain targets, findings, and full AI prompt-response histories. No public exploit or CISA KEV listing exists, though the source reference functionally serves as exploit documentation; EPSS is 0.22% at the 12th percentile.

RemediationAI

The immediate fix is to remove the hardcoded Langfuse API key pair from pentestgpt/core/langfuse.py and replace them with environment variable lookups (for example, LANGFUSE_PUBLIC_KEY and LANGFUSE_SECRET_KEY) or a secrets management solution. Any currently exposed Langfuse API keys must be treated as fully compromised and rotated immediately in the Langfuse project dashboard, since they have been publicly visible in the repository; rotation invalidates the hardcoded values and closes the active exposure window. Organizations that have used PentestGPT 1.0.0 with Langfuse telemetry enabled should audit their Langfuse project's trace history for unauthorized access originating from unexpected IP addresses or API clients. If Langfuse integration is not required, disabling telemetry entirely by removing the langfuse.py module or setting the relevant configuration to no-op eliminates the attack surface with no functional impact on pentesting capability. No vendor-released patch with a confirmed fixed version number has been identified at time of analysis; operators should monitor the upstream repository at https://github.com/GreyDGL/PentestGPT for a remediated release and the blog post at https://yerangamage.com/cves/detail/?slug=pentestgpt-hardcoded-credentials for researcher updates.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

PentestGPT is an AI-assisted penetration testing assistant that integrates with Langfuse, an open-source LLM observability and tracing platform, to log user interactions and model outputs for telemetry. CWE-798 (Use of Hard-coded Credentials) is the root cause: the Langfuse public/secret API key pair required to authenticate with the Langfuse backend is embedded as literal strings in pentestgpt/core/langfuse.py at line 114, rather than being loaded from environment variables or a secrets manager. Because PentestGPT's source code is publicly available on GitHub, these credentials are effectively fully public. The CPE string in the input (cpe:2.3:a:n/a:n/a) is a placeholder and does not correctly identify the product; the real affected software is PentestGPT 1.0.0 by GreyDGL.

Know when Hardcoded Credentials gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 8.6 HIGH

Credentials are in public source (PR:N/AV:N); impact falls on the separate Langfuse telemetry system rather than PentestGPT itself, warranting S:C.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

3
CVSS changed
Sep 01, 2026 - 20:22 NVD
7.5 (HIGH)
CVE Published
Aug 27, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)
CVE Published
Aug 27, 2026 - 00:00 cve.org
HIGH 7.5

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

PentestGPT 1.0.0 contains hardcoded Langfuse API credentials embedded in publicly visible source code on GitHub, enabling any actor to extract the credentials and gain unauthorized access to all users' pentest session telemetry. Exposed data includes pentest targets, security findings, and complete AI-generated prompt-response histories. Organizations using this version face immediate risk of sensitive engagement and methodology disclosure.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: immediately revoke the hardcoded Langfuse API credentials in your Langfuse backend to block unauthorized access; disable telemetry if configuration options exist; restrict PentestGPT 1.0.0 usage to non-sensitive engagements; monitor Langfuse access logs for unauthorized API key usage; consider retiring PentestGPT 1.0.0 from production until patched.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Low
niche AI-assisted pentesting tool, limited to security professional users
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy