Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. langchain
  4. ›
  5. CVE-2023-34540

CVE-2023-34540: Langchain OS Command Injection vulnerability

June 14, 2023 (updated September 30, 2024)

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.

References

  • github.com/advisories/GHSA-x32c-59v5-h7fg
  • github.com/hwchase17/langchain/issues/4833
  • github.com/langchain-ai/langchain
  • github.com/langchain-ai/langchain/commit/a2f191a32229256dd41deadf97786fe41ce04cbb
  • github.com/langchain-ai/langchain/issues/4833
  • github.com/langchain-ai/langchain/pull/6992
  • github.com/langchain-ai/langchain/releases/tag/v0.0.225
  • github.com/pypa/advisory-database/tree/main/vulns/langchain/PYSEC-2023-91.yaml
  • nvd.nist.gov/vuln/detail/CVE-2023-34540

Code Behaviors & Features

Detect and mitigate CVE-2023-34540 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.0.225

Fixed versions

  • 0.0.225

Solution

Upgrade to version 0.0.225 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

pypi/langchain/CVE-2023-34540.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:15 +0000.