{"answers":{"affected":"3 open source packages ship an affected version, including langgraph-checkpoint-sqlite.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-64104 exists.","fix":"Upgrade langgraph-checkpoint-sqlite to 2.0.11 or later.","what":"CVE-2025-64104 is a high-severity SQL injection vulnerability in langchain-ai langgraph, published on 29 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-64104 and fix it if it is affected.\n\nWhat it is: CVE-2025-64104 is a high-severity SQL injection vulnerability in langchain-ai langgraph, published on 29 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-64104 exists.\n\nAffected packages and fixed versions:\n- langgraph-checkpoint-sqlite (PyPI): affected all versions; fixed in 2.0.11\n- langgraph-checkpoint-sqlite (PyPI): affected all versions; fixed in 2.0.11\n- langgraph-checkpoint-sqlite (PyPI): affected all versions; fixed in 2.0.11\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-64104/ (Markdown: https://insights.sbomify.com/CVE-2025-64104/index.md)","id":"CVE-2025-64104","markdown":"https://insights.sbomify.com/CVE-2025-64104/index.md","name":"CVE-2025-64104","record":{"aliases":["GHSA-7p73-8jqx-23r8","PYSEC-2026-1529"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"LangGraph SQLite Checkpoint","requires_auth":"low_privilege","summary":"Attackers can inject arbitrary SQL via filter keys in LangGraph's SQLite store, bypassing access controls and modifying or reading data.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"LangGraph SQLite Checkpoint is an implementation of LangGraph CheckpointSaver that uses SQLite DB (both sync and async, via aiosqlite). Prior to 2.0.11, LangGraph's SQLite store implementation contains SQL injection vulnerabilities using direct string concatenation without proper parameterization, allowing attackers to inject arbitrary SQL and bypass access controls. This vulnerability is fixed in 2.0.11.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"LangGraph SQLite Checkpoint Filter Key SQL Injection POC for SqliteStore","id":"CVE-2025-64104","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"sql_injection","year":"2025"},"n_packages":3,"n_references":2,"next":{"headline":"FOSSBilling: IDOR Vulnerability in Support Ticket Creation","id":"CVE-2025-64105"},"packages":[{"ecosystem":"PyPI","fixed":["2.0.11"],"introduced":["0"],"last_affected":[],"package":"langgraph-checkpoint-sqlite","purl":null,"source":"GHSA-7p73-8jqx-23r8"},{"ecosystem":"PyPI","fixed":["2.0.11"],"introduced":["0"],"last_affected":[],"package":"langgraph-checkpoint-sqlite","purl":"pkg:pypi/langgraph-checkpoint-sqlite","source":"GHSA-7p73-8jqx-23r8"},{"ecosystem":"PyPI","fixed":["2.0.11"],"introduced":["0"],"last_affected":[],"package":"langgraph-checkpoint-sqlite","purl":"pkg:pypi/langgraph-checkpoint-sqlite","source":"PYSEC-2026-1529"}],"prev":{"headline":"Zitadel Bypass Second Authentication Factor","id":"CVE-2025-64103"},"products":["langgraph"],"published":"2025-10-29","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-10-30","vendors":["langchain-ai"]},"summary":"Attackers can inject arbitrary SQL via filter keys in LangGraph's SQLite store, bypassing access controls and modifying or reading data.","url":"https://insights.sbomify.com/CVE-2025-64104/"}