CVE-2023-36281
langchain vulnerable to arbitrary code execution
9.8
CRITICAL
CVSS 3.1
EPSS 62.2%
Description
An issue in langchain v.0.0.171 allows a remote attacker to execute arbitrary code via the via the a json file to the load_prompt parameter.
How to fix CVE-2023-36281
To remediate CVE-2023-36281, upgrade the affected package to a fixed version below.
- PyPI/langchain—upgrade to 0.0.312 or later
- PyPI/langchain—upgrade to 0.0.171 or later
Is CVE-2023-36281 being exploited?
Likely — EPSS is 62.2%, placing CVE-2023-36281 in the top tier of vulnerabilities by exploitation probability. Prioritise patching.
Affected packages (2)
- from 0, < 0.0.312
- from 0, < 0.0.171
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |