{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-34540","id":"CVE-2023-34540","title":"Langchain OS Command Injection vulnerability","description":"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.","descriptionLong":"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":"2023-06-14T00:00:00.000Z","updated":"2026-10-28T02:31:00.023701059Z","reserved":"2023-06-07T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"4.0","score":null,"vector":"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","rating":"critical","source":"GitHub"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"langchain","purl":"pkg:pypi/langchain","ranges":["<0.0.225"],"fixed":["0.0.225"],"advisory":"GHSA-x32c-59v5-h7fg"}],"cwes":["CWE-78"],"aliases":["GHSA-x32c-59v5-h7fg","PYSEC-2023-91"],"references":[{"url":"https://github.com/hwchase17/langchain/issues/4833","tags":["x_transferred","Exploit","Issue Tracking","report","web"]},{"url":"https://github.com/langchain-ai/langchain/pull/6992","tags":["x_transferred","fix","web"]},{"url":"https://github.com/langchain-ai/langchain/releases/tag/v0.0.225","tags":["x_transferred","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/34xxx/CVE-2023-34540.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34540","tags":["advisory"]},{"url":"https://github.com/langchain-ai/langchain/issues/4833","tags":["web","evidence","report"]},{"url":"https://github.com/langchain-ai/langchain/commit/a2f191a32229256dd41deadf97786fe41ce04cbb","tags":["web"]},{"url":"https://github.com/langchain-ai/langchain","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/langchain/PYSEC-2023-91.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-x32c-59v5-h7fg","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01667,"epssPercentile":0.77267,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-34540","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34540","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-34540","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-x32c-59v5-h7fg","ok":true,"note":"GHSA-x32c-59v5-h7fg"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-34540","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}