INCIDENT MAP

Browse / Improper Output Handling / CVE-2023-36189

langchain SQL Injection vulnerability

CVE-2023-36189 ยท 2023-07-06 high

Class
Improper Output Handling (filed by a model that read the advisory)
Technique
SQL and query injection
Also involves
Sensitive Data Disclosure
Affected
langchain (PyPI)
CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
1.2% chance of exploitation in 30 days

How it works, in short

Attacker-influenced input reaching the SQL chain produces injected queries that run against the database and return sensitive records. (Our summary, written by a model. The source text is below.)

Details

SQL injection vulnerability in langchain allows a remote attacker to obtain sensitive information via the SQLDatabaseChain component.

References

Source: GitHub Advisory Database, used under CC BY 4.0.