Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRead public GitHub source
-
DeliveryExtract hardcoded Langfuse API key pair
-
ExploitAuthenticate directly to Langfuse API
-
ExecutionEnumerate user telemetry traces
-
ImpactExfiltrate 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Credentials are in public source (PR:N/AV:N); impact falls on the separate Langfuse telemetry system rather than PentestGPT itself, warranting S:C.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
3DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
More in Hardcoded Credentials
View allXiongmai XM530 IP cameras running firmware HMT.CM2005-v220608.1837 or earlier ship with static, hardcoded administrative
The EVbee DC-80 firmware ships with a hardcoded root password, allowing unauthenticated remote attackers to log in via S
Brocade Active Support Connectivity Gateway (ASCG) builds prior to 3.5.0 embed a static cryptographic key inside shipped
LightRAG's JWT authentication can be bypassed via a hardcoded default secret 'lightrag-jwt-default-secret' when TOKEN_SE
EUVD-2026-67267
GHSA-gmrc-gf77-xwpg
NVD
CVE.org
EPSS
Exploit-DB