9.8

CVE-2024-46946: langchain langchain-experimental Improper Input Validation

CVSS: 9.8v3.1CriticalAnalyzed
AliasesGHSA-p2qj-r53j-h3xjPYSEC-2026-374
Published 19-09-2024Last modified 19-09-2024

Vulnerability summary

CVE-2024-46946 is a critical (CVSS 9.8) Improper Input Validation vulnerability in langchain langchain-experimental. EPSS estimates a 1.39% chance of exploitation in the next 30 days, higher than 71.8% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (CVE.org)
EPSS score
1.39%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Timeline

  1. 19-09-2024
    PublishedVulnerability first disclosed.
  2. 19-09-2024
    Last modifiedVulnerability information updated.

Description

langchain_experimental (aka LangChain Experimental) 0.1.17 through 0.3.0 for LangChain allows attackers to execute arbitrary code through sympy.sympify (which uses eval) in LLMSymbolicMathChain. LLMSymbolicMathChain was introduced in fcccde406dd9e9b05fc9babcbeb9ff527b0ec0c6 (2023-10-05).

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

1.39%

Chance of exploitation in the next 30 days

Percentile

72%

Versus all other CVEs

30-day change

0.00 pp

From 1.39% on 19-09-2026

19-09-202619-10-2026
EPSS score
1.39%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    68C0C58D2564Ef4141Bccd4651480820

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Langchain1 product
PyPI1 product
  • langchain-experimental≥ 0.1.17, ≤ 0.3.0

2 vendors · 2 products

References

8 links