{"schemaVersion":4,"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":"LangChain affected by SSRF via image_url token counting in ChatOpenAI.get_num_tokens_from_messages","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.00424,"percentile":0.38617,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":-0.006000000000000016,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.0043},"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":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00472,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00472,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00472,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00472,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00472,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00424,"percentile":0.38617}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00424,"percentile":0.38617}]},"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","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,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.8.3-r0","endInclusive":false}}],"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,"bounds":{"kind":"all"}}],"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,"bounds":{"kind":"all"}}],"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,"bounds":{"kind":"all"}}],"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,"bounds":{"kind":"all"}}],"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,"bounds":{"kind":"all"}}],"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,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.8.3-r0","endInclusive":false}}],"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,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.2.11","endInclusive":false}}],"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,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.2.11","endInclusive":false}}],"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,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.2.11","endInclusive":false}}],"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}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,37],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00424,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-02-11T21:26:34.029Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1","headline":true},{"type":"cvss","source":"osv_pypi","date":"2026-02-11T21:26:34.029Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},{"type":"cvss","source":"osv_wolfi","date":"2026-02-11T21:26:34.029Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},{"type":"cvss","source":"osv_chainguard","date":"2026-02-11T21:26:34.029Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-02-11T21:26:34.029Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-02-11T21:26:20.888Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00424,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T12:01:28.220Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T12:01:28.725Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T12:01:28.919Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T12:01:03.802Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T12:01:26.562Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T12:01:25.560Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T12:43:11.902Z","stale":false,"partial":false}}