CVE-2024-27444: Critical severity Langchain langchain-experimental vulnerability

Published Feb 26, 2024
·
Updated

langchainexperimental (aka LangChain Experimental) before 0.0.52, part of LangChain before 0.1.8, allows an attacker to bypass the CVE-2023-44467 fix and execute arbitrary code via the import, subclasses, builtins, globals, getattribute, bases, mro, or base attribute in Python code. These are not prohibited by palchain/base.py.

Other sources

langchainexperimental (aka LangChain Experimental) in LangChain before 0.1.8 allows an attacker to bypass the CVE-2023-44467 fix and execute arbitrary code via the import, subclasses, builtins, globals, getattribute, bases, mro, or base attribute in Python code. These are not prohibited by palchain/base.py.

MITRE

Affected Software

2 affected componentsFixes available
pip/langchain-experimental<0.0.52
0.0.52
Langchain langchain-experimental<0.1.8

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/langchain-experimental to a version that resolves this vulnerability.

    Fixed in 0.0.52
  2. Upgrade

    Upgrade langchain_experimental (aka LangChain Experimental) to a version that resolves this vulnerability.

    Fixed in 0.0.52
  3. Upgrade

    Upgrade LangChain to a version that resolves this vulnerability.

    Fixed in 0.1.8

Event History

Feb 26, 2024
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·04:28 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:28 PM
RemedyAffected Software
Advisory Published
via GitHub·06:30 PM

Frequently Asked Questions

1

What is the severity of CVE-2024-27444?

CVE-2024-27444 is considered a high severity vulnerability that allows arbitrary code execution.

2

How do I fix CVE-2024-27444?

To fix CVE-2024-27444, upgrade langchain-experimental to version 0.0.52 or later.

3

What versions are affected by CVE-2024-27444?

CVE-2024-27444 affects langchain-experimental versions prior to 0.0.52.

4

What types of attacks can exploit CVE-2024-27444?

CVE-2024-27444 can be exploited via various Python built-in functions, allowing attackers to execute arbitrary code.

5

Is CVE-2024-27444 related to any previous vulnerabilities?

Yes, CVE-2024-27444 allows bypassing the fix for CVE-2023-44467.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203