SecurityContext

CVE-2024-27444: LangChain - Insecure Deserialization

  • Cve: CVE-2024-27444
  • Name: LangChain - Insecure Deserialization
  • Description: langchain_experimental (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 pal_chain/base.py.
  • Impact: Attackers can execute arbitrary code, potentially leading to full system compromise or data breach.
  • Remediation: Update to version 0.1.8 or later.
  • Vulnerability type: insecure_deserialization
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00773
  • Epss percentile: 0.56455
  • Assignee: [email protected]
  • Published at: 2024-02-26T16:28:00Z
  • Age in days: 1002
  • Modified at: 2026-06-17T07:19:54Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-27444
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-749Exposed Dangerous Method or Function

References

UrlSourceTags
https://github.com/langchain-ai/langchain/commit/de9a6cdf163ed00adaf2e559203ed0a9ca2f1de7nvdPatch

Products

ProductAffectedPlatform boundSourcesUrl
langchain:langchain-experimental< 0.1.8nonvd/v1/products/langchain/langchain-experimental

Projects

RepositoryLink kindsIndexedUrl
langchain-ai/langchaincommit, fix, packageyes/v1/repositories/langchain-ai/langchain

Index

  • Repositories: 33
  • Repositories high signal: 19
  • Packages: 1

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts