Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2024-8309

35
FAUCET Score

CVE-2024-8309 is a critical SQL injection vulnerability affecting the GraphCypherQAChain class in langchain-ai/langchain version 0.2.5. This flaw allows attackers to inject malicious SQL commands via prompt injection, leading to unauthorized data manipulation, exfiltration, and denial of service. With a CVSS score of 9.8 (Critical), the vulnerability is easily exploitable over the network without user interaction, enabling full compromise of data confidentiality, integrity, and availability. While there is no known active exploitation or public exploit code, the vulnerability has garnered some community attention, indicating awareness of its severe potential impact.

Impacted Technologies

VendorProductVersion(s)CPE
0.2.5CPE matchmatch criteria
cpe:2.3:a:langchain:langchain:0.2.5:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.0

4.9MEDIUM

CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Attack Vector
LOCAL
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
LOW
Integrity Impact
LOW
Availability Impact
LOW
Exploitability Score
1.4
Impact Score
3.4
CvssVersion
3.0

Exploit Intelligence

EPSS Score
13.80%
Probability of exploitation in next 30 days
EPSS Percentile
96.1%
Percentile rank of EPSS score among Peer Group
As of 2026-07-25
Model: v2026.06.15
This CVE's current EPSS score of 0.1380 is in the 92nd percentile among its peer group of 36,835 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (5)

github_advisorypatch availablevia nvd_reference
View patch
pippatch availablevia ghsa
Product: langchainFixed in: 0.2.0
pippatch availablevia ghsa
Product: langchain-communityFixed in: 0.2.19
redhatvendor investigatingvia redhat_api
Product: Red Hat Ansible Automation Platform 2Fixed in: ansible-automation-platform-24/ee-dellemc-openmanage-rhel8
redhatvendor investigatingvia redhat_api
Product: Red Hat Ansible Automation Platform 2Fixed in: ansible-automation-platform-24/platform-resource-runner-rhel8

Vendor Advisories (2)

pipGHSA-45pg-36p6-83v9low

Langchain SQL Injection vulnerability

Oct 29, 2024
redhatCVE-2024-8309Low

langchain: SQL Injection in langchain-ai/langchain

Oct 29, 2024

References

github.com / langchain-ai/langchain/commit/c2a3021bb0c5f54649d380b42a0684ca5778c255
Patch
huntr.com / bounties/8f4ad910-7fdc-4089-8f0a-b5df5f32e7c5
ExploitThird Party Advisory