Skip to content
Heist/ feed
Back to feed
Unrated

Security advisory

Type: advisorySources: OSVCVE: CVE-2023-32786

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-32786
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 17:33 UTC · Revision 1

Source evidence

CVE-2023-32786

core-osv · Original source

Published 20 Oct 2023, 00:00 UTC

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.

osv:CVE-2023-32786
Complete source record
{
  "id": "bc7dbaf61875d59df233fec471ae93135596710049b36da41c32aaf5af128d37",
  "url": "https://osv.dev/vulnerability/CVE-2023-32786",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2023-32786",
    "summary": "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.",
    "evidence": "osv:CVE-2023-32786",
    "products": [],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2023-32786",
      "aliases": [
        "CVE-2023-32786",
        "GHSA-6h8p-4hx9-w66c",
        "PYSEC-2026-1508"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/langchain-ai/langchain",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "8fcb56e74ac1d3e8e7b81a3dd636aa4d26ce427b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:langchain:langchain:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.0.155"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.0.155",
            "v0.0.154",
            "v0.0.153",
            "v0.0.152",
            "v0.0.151",
            "v0.0.150",
            "v0.0.149",
            "v0.0.147",
            "v0.0.146",
            "v0.0.145",
            "v0.0.144",
            "v0.0.143",
            "v0.0.142",
            "v0.0.141",
            "v0.0.140",
            "v0.0.139",
            "v0.0.138",
            "v0.0.137",
            "v0.0.136",
            "v0.0.135",
            "v0.0.134",
            "v0.0.133",
            "v0.0.132",
            "v0.0.131",
            "v0.0.130",
            "v0.0.129",
            "v0.0.128",
            "v0.0.127",
            "v0.0.126",
            "v0.0.125",
            "v0.0.124",
            "v0.0.123",
            "v0.0.122",
            "v0.0.121",
            "v0.0.120",
            "v0.0.119",
            "v0.0.118",
            "v0.0.117",
            "v0.0.116",
            "v0.0.115",
            "v0.0.114",
            "v0.0.113",
            "v0.0.112",
            "v0.0.111",
            "v0.0.110",
            "v0.0.109",
            "v0.0.108",
            "v0.0.107",
            "v0.0.106",
            "v0.0.105",
            "v0.0.104",
            "v0.0.103",
            "v0.0.102",
            "v0.0.101",
            "v0.0.100",
            "v0.0.99",
            "v0.0.98",
            "v0.0.97",
            "v0.0.96",
            "v0.0.95",
            "v0.0.94",
            "v0.0.93",
            "v0.0.92",
            "v0.0.91",
            "v0.0.90",
            "v0.0.89",
            "v0.0.88",
            "v0.0.87",
            "v0.0.86",
            "v0.0.85",
            "v0.0.84",
            "v0.0.83",
            "v0.0.82",
            "v0.0.81",
            "v0.0.80",
            "v0.0.79",
            "v0.0.78",
            "v0.0.77",
            "v0.0.76",
            "v0.0.75",
            "v0.0.74",
            "v0.0.73",
            "v0.0.72",
            "v0.0.71",
            "v0.0.70",
            "v0.0.69",
            "v0.0.68",
            "v0.0.67",
            "v0.0.66",
            "v0.0.65",
            "v0.0.64"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-32786.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:44.627612775Z",
      "provider": "osv",
      "references": [
        "https://gist.github.com/rharang/d265f46fc3161b31ac2e81db44d662e1",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/32xxx/CVE-2023-32786.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-32786"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/32xxx/CVE-2023-32786.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-32786",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 512540,
  "published_at": "2023-10-20T00:00:00+00:00"
}