Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. langchain
  4. ›
  5. CVE-2023-32786

CVE-2023-32786: Langchain Server-Side Request Forgery vulnerability

October 20, 2023 (updated October 27, 2023)

In Langchain through 0.0.155, prompt injection allows an attacker to force the service to retrieve data from an arbitrary URL, essentially providing SSRF and potentially injecting content into downstream tasks.

References

  • gist.github.com/rharang/d265f46fc3161b31ac2e81db44d662e1
  • github.com/advisories/GHSA-6h8p-4hx9-w66c
  • nvd.nist.gov/vuln/detail/CVE-2023-32786

Code Behaviors & Features

Detect and mitigate CVE-2023-32786 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.0.155

Fixed versions

  • 0.0.156

Solution

Upgrade to version 0.0.156 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Source file

pypi/langchain/CVE-2023-32786.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:48 +0000.