CVE-2023-44467
Python vulnerability analysis and mitigation

Overview

CVE-2023-44467 is a critical vulnerability affecting LangChain Experimental (langchainexperimental) versions before 0.0.306. The vulnerability was discovered on September 1, 2023, and allows attackers to bypass the previous CVE-2023-36258 fix and execute arbitrary code via _import_ in Python code, which was not prohibited by palchain/base.py (NVD, Security Online).

Technical details

The vulnerability specifically affects the PALChain feature in LangChain Experimental, which is designed to enhance language models with program-aided language (PAL) capabilities. The flaw allows attackers to exploit PALChain's processing capabilities through prompt injections, enabling the execution of arbitrary code via the import function. The vulnerability has received a CVSS v3.1 base score of 9.8 (CRITICAL), with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

With over one million developers relying on LangChain's tools, this vulnerability exposes a significant risk to the security of countless AI-powered applications. The successful exploitation could allow attackers to execute harmful commands or code, potentially resulting in unauthorized access or system manipulation (Security Online).

Mitigation and workarounds

The vulnerability was patched in LangChain Experimental version 0.0.306. The fix involved adding import to the list of filtered command execution functions in the pal_chain/base.py file. Organizations and developers using LangChain Experimental are strongly advised to update to the latest patched version (Github Commit).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-67511CRITICAL9.6
  • PythonPython
  • cai-framework
NoNoDec 11, 2025
CVE-2025-13780CRITICAL9.1
  • PythonPython
  • cpe:2.3:a:pgadmin:pgadmin
NoYesDec 11, 2025
CVE-2025-67644HIGH7.3
  • PythonPython
  • langgraph-checkpoint-sqlite
NoYesDec 11, 2025
CVE-2025-67720MEDIUM6.5
  • PythonPython
  • pyrofork
NoYesDec 11, 2025
CVE-2025-67485MEDIUM5.3
  • PythonPython
  • mad-proxy
NoNoDec 10, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management