{"answers":{"affected":"2 open source packages ship an affected version, including flexible-graphrag.","exploited":"There is no known exploitation of CVE-2026-114510 in the wild and no public exploit code.","fix":"Upgrade flexible-graphrag to 0.8.2 or later.","what":"CVE-2026-114510 is a high-severity vulnerability in stevereiner flexible-graphrag, published on 22 Oct 2026."},"fix_prompt":"Check this codebase for CVE-2026-114510 and fix it if it is affected.\n\nWhat it is: CVE-2026-114510 is a high-severity vulnerability in stevereiner flexible-graphrag, published on 22 Oct 2026. \nExploitation: There is no known exploitation of CVE-2026-114510 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- flexible-graphrag (PyPI): affected from 0.6.0; fixed in 0.8.2\n- flexible-graphrag (PyPI): affected from 0.6.0; fixed in 0.8.2\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-2026-114510/ (Markdown: https://insights.sbomify.com/CVE-2026-114510/index.md)","id":"CVE-2026-114510","markdown":"https://insights.sbomify.com/CVE-2026-114510/index.md","name":"CVE-2026-114510","record":{"aliases":["GHSA-vqrg-773h-4wxc"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-943","name":"Improper Neutralization of Special Elements in Data Query Logic"},{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"description":"Flexible GraphRAG is a Python framework for building graph and retrieval-augmented generation applications across multiple graph, vector, and search backends. From 0.6.0 until 0.8.2, the _escape() helper in flexible-graphrag/langchain/graph/pg_store_adapters/falkordb_adapter.py escapes quotes before backslashes and then interpolates the result into Cypher assembled by FalkorDBAdapter.add_graph_documents, allowing an inserted escape to be doubled and a quote to terminate the string early. When GRAPH_BACKEND=langchain and GRAPH_DB=falkordb are configured, attacker-influenced ingested document content can cause the extraction model to produce malicious entity or relationship values that reach these queries, allowing injected Cypher clauses to modify or delete graph data and, when the calling code surfaces query results to the user or LLM, disclose graph data. Dynamic node and relationship type identifiers are also inserted into backtick-quoted query positions without safe parameterization. The LlamaIndex FalkorDB store is not affected. This issue is fixed in version 0.8.2.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Flexible GraphRAG: Cypher/Graph Injection via broken string-escaping in FalkorDB adapter (_escape()) - full graph wipe from ingested-document content","id":"CVE-2026-114510","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":null,"year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"OCO-Server: Self-Service Portal uninstall-job authorization bypass","id":"CVE-2026-114515"},"packages":[{"ecosystem":"PyPI","fixed":["0.8.2"],"introduced":["0.6.0"],"last_affected":[],"package":"flexible-graphrag","purl":null,"source":"GHSA-vqrg-773h-4wxc"},{"ecosystem":"PyPI","fixed":["0.8.2"],"introduced":["0.6.0"],"last_affected":[],"package":"flexible-graphrag","purl":"pkg:pypi/flexible-graphrag","source":"GHSA-vqrg-773h-4wxc"}],"prev":{"headline":"Laravel TokenGuard authentication bypass through non-string API credentials","id":"CVE-2026-114509"},"products":["flexible-graphrag"],"published":"2026-10-22","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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-10-22","vendors":["stevereiner"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-114510/"}