Security mailing lists by PureSourceCode

CVE-2023-36258

CRITICAL 9.8CVSS 3.1

langchain arbitrary code execution vulnerability

An issue in LangChain before 0.0.236 allows an attacker to execute arbitrary code because Python code with os.system, exec, or eval can be used.

Published
3 Jul 2023
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-94
Also known as
GHSA-2qmj-7962-cjq8PYSEC-2023-98
Sources
NVDJSONOSV GHSA-2qmj-7962-cjq8JSONOSV PYSEC-2023-98JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub 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
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD langchain langchain
cpe:2.3:a:langchain:langchain:0.0.199:*:*:*:*:*:*:*
= 0.0.199
OSV PyPI langchain < 0.0.247 0.0.247

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 3 Jul 2023)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 3 Jul 2023)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Jul 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.