Advisory

GHSA-57fc-8q82-gfp3

Also known as: CVE-2023-36188, PYSEC-2023-109

Summary

langchain vulnerable to arbitrary code execution

Details

An issue in langchain allows a remote attacker to execute arbitrary code via the PALChain parameter in the Python exec method.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2023-07-06 15:30 UTC
Modified
2026-07-06 15:00 UTC

Affected packages and fixes

langchain

PyPI · All systems

Affected

  • introduced 0, fixed 0.0.247 (ecosystem)

Fixed versions

0.0.247

Fix

  • Fixed version 0.0.247
    pip install --upgrade langchain==0.0.247

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences