GHSA-6m59-8fmv-m5f9 · Severity: low · Ecosystem: npm — @langchain/community SQL Injection vulnerability
A vulnerability in the GraphCypherQAChain class of langchain-ai/langchainjs versions 0.2.5 and all versions with this class allows for prompt injection, leading to SQL injection. This vulnerability permits unauthorized data manipulation, data exfiltration, denial of service (DoS) by deleting all data, breaches in multi-tenant security environments, and data integrity issues. Attackers can create, update, or delete nodes and relationships without proper authorization, extract sensitive data, disrupt services, access data across different tenants, and compromise the integrity of the database.
Conclusion & alert: CVE-2024-7042 is rated High Exploit Risk (62.3/100): CVSS Critical severity, with low exploitation likelihood (EPSS 0.31%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.06% | 0.31% | +0.25% |
| 2 | 2025-12-18 | 0.03% | 0.06% | +0.03% |
| 3 | 2025-12-07 | — | 0.03% | — |
Full EPSS history (11 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
| 4.9 | 3.0 | MEDIUM |
|
1.4 | 3.4 | [email protected] |
GHSA-6m59-8fmv-m5f9 · Severity: low · Ecosystem: npm — @langchain/community SQL Injection vulnerability
| URL | Tags |
|---|---|
| https://github.com/langchain-ai/langchainjs/commit/615b9d9ab30a2d23a2f95fb8d7acfdf4b41ad7a6 | Patch |
| https://huntr.com/bounties/b612defb-1104-4fff-9fef-001ab07c7b2d | Exploit Third Party Advisory |