{"schemaVersion":3,"id":"CVE-2026-26013","aliases":["GHSA-2g6r-c272-w58r","PYSEC-2026-2562","CGA-8gfw-c59j-7hqh","CGA-phmr-8wp7-23w7","CGA-539c-4jf4-xg5h","CGA-5gpq-qhc3-w96r","CGA-7v3m-v487-3p9q","CGA-8v29-222x-wgvv","CGA-f34m-ghc4-3vv7","CGA-fhx9-fmqr-hmxj","CGA-ggqh-262p-phqm","CGA-hcf6-w7pw-x37p","CGA-hx3c-hxww-8288","CGA-wj66-h5pc-p4hh"],"status":"published","duplicateOf":null,"title":null,"description":"LangChain is a framework for building agents and LLM-powered applications. Prior to 1.2.11, the ChatOpenAI.get_num_tokens_from_messages() method fetches arbitrary image_url values without validation when computing token counts for vision-enabled models. This allows attackers to trigger Server-Side Request Forgery (SSRF) attacks by providing malicious image URLs in user input. This vulnerability is fixed in 1.2.11.","dates":{"published":"2026-02-10T21:51:07.741Z","modified":"2026-02-11T21:26:34.029Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":3.7,"severity":"low","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":5.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":5.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":5.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00472,"percentile":0.39487,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.07899999999999999,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00393},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00472,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00472,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00472,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00472,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00472,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00472,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00472,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00472,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00472,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00472,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00472,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00472,"percentile":0.39487}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00393,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00431,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00472,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00472,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00472,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00472,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00472,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00472,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00472,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00472,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00472,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00472,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00472,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00472,"percentile":0.39487}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-918","name":"Server-Side Request Forgery (SSRF)","description":"The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/918.html"}],"affected":[{"vendor":"chainguard","product":"open-webui","name":"open-webui","label":"open-webui","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/open-webui","purlType":"apk","versions":[{"text":"< 0.8.3-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.8.3-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"py3-langchain","name":"py3-langchain","label":"py3-langchain","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/py3-langchain","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"py3.10-langchain","name":"py3.10-langchain","label":"py3.10-langchain","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/py3.10-langchain","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"py3.11-langchain","name":"py3.11-langchain","label":"py3.11-langchain","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/py3.11-langchain","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"py3.12-langchain","name":"py3.12-langchain","label":"py3.12-langchain","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/py3.12-langchain","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"py3.13-langchain","name":"py3.13-langchain","label":"py3.13-langchain","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/py3.13-langchain","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"open-webui","name":"open-webui","label":"open-webui","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/open-webui","purlType":"apk","versions":[{"text":"< 0.8.3-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.8.3-r0","eol":null,"hubHref":null},{"vendor":"langchain-ai","product":"langchain","name":"langchain","label":"langchain","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.2.11","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.2.11","eol":null,"hubHref":"/vendor/langchain-ai/langchain"},{"vendor":"langchain","product":"langchain_core","name":"langchain core","label":"langchain_core","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.2.11","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.2.11","eol":null,"hubHref":"/vendor/langchain/langchain_core"},{"vendor":"PyPI","product":"langchain-core","name":"langchain-core","label":"langchain-core","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/langchain-core","purlType":"pypi","versions":[{"text":"< 1.2.11","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.2.11","eol":null,"hubHref":null}],"affectedCount":10,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/langchain-ai/langchain/security/advisories/GHSA-2g6r-c272-w58r","label":"github.com/langchain-ai/langchain/security/advisories/GHSA-2g6r-c272-w58r","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","Mitigation","Vendor Advisory"]},{"url":"https://github.com/langchain-ai/langchain/commit/2b4b1dc29a833d4053deba4c2b77a3848c834565","label":"github.com/langchain-ai/langchain/commit/2b4b1dc29a833d4053deba4c2b77a3848c834565","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Patch"]},{"url":"https://github.com/langchain-ai/langchain/releases/tag/langchain-core%3D%3D1.2.11","label":"github.com/langchain-ai/langchain/releases/tag/langchain-core%3D%3D1.2.11","hostname":"github.com","tags":["X Refsource MISC","WEB","Product","Release Notes"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-26013","label":"nvd.nist.gov/vuln/detail/CVE-2026-26013","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/langchain-ai/langchain","label":"github.com/langchain-ai/langchain","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pypi.org/project/langchain-core","label":"pypi.org/project/langchain-core","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-2g6r-c272-w58r","label":"github.com/advisories/GHSA-2g6r-c272-w58r","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26013.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26013.json","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-HJGH-MVQV-83HV"]},"timeline":[{"kind":"published","date":"2026-02-10T21:51:07.741Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-02-11T21:26:34.029Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":15,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T19:13:37.639Z","stale":false,"partial":false}}