CVE-2023-34540
CRITICAL 9.8CVSS 3.1Langchain OS Command Injection vulnerability
Langchain before v0.0.225 was discovered to contain a remote code execution (RCE) vulnerability in the component JiraAPIWrapper (aka the JIRA API wrapper). This vulnerability allows attackers to execute arbitrary code via crafted input. As noted in the "releases/tag" reference, a fix is available.
- Published
- 14 Jun 2023
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-78
- Also known as
- GHSA-x32c-59v5-h7fgPYSEC-2023-91
- Sources
- NVDJSONOSV GHSA-x32c-59v5-h7fgJSONOSV PYSEC-2023-91JSON
Scores
| Source | Scored by | Version | Score | Vector / 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
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | langchain | langchaincpe:2.3:a:langchain:langchain:0.0.171:*:*:*:*:*:*:* |
= 0.0.171 | |
| OSV | PyPI | langchain | < 0.0.225 | 0.0.225 |
References
- https://github.com/hwchase17/langchain/issues/4833 · Exploit, Issue Tracking, WEB
- https://github.com/langchain-ai/langchain/pull/6992 · WEB, FIX
- https://github.com/langchain-ai/langchain/releases/tag/v0.0.225 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-34540 · ADVISORY
- https://github.com/langchain-ai/langchain/issues/4833 · WEB, EVIDENCE, REPORT
- https://github.com/langchain-ai/langchain/commit/a2f191a32229256dd41deadf97786fe41ce04cbb · WEB
- https://github.com/langchain-ai/langchain · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/langchain/PYSEC-2023-91.yaml · WEB
- https://github.com/advisories/GHSA-x32c-59v5-h7fg · ADVISORY
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 14 Jun 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 14 Jun 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 14 Jun 2023)