{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-25879","published":"2026-06-01T23:16:21.930000Z","last_modified":"2026-07-21T19:10:00.107000Z","status":"Deferred","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-89","CWE-94"],"cpes":[],"cpes_truncated":false,"vendors":["langroid"],"products":["langroid/langroid"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-mxfr-6hcw-j9rq","ecosystem":"PyPI","name":"langroid","purl":"pkg:pypi/langroid","ranges":[{"introduced":"0","fixed":"0.63.0"}],"versions":["0.33.9","0.34.0","0.34.1","0.35.0","0.35.1","0.36.0","0.36.1","0.37.0","0.37.1","0.37.2","0.37.3","0.37.4","0.37.5","0.37.6","0.37.7","0.38.0","0.39.0","0.39.1","0.39.2","0.39.3","0.39.4","0.39.5","0.40.0","0.41.0","0.41.1","0.41.2","0.41.3","0.41.4","0.41.5","0.42.0","0.42.1","0.42.10","0.42.2","0.42.3","0.42.4","0.42.5","0.42.6","0.42.7","0.42.8","0.42.9","0.43.0","0.43.1","0.44.0","0.45.0","0.45.1","0.45.10","0.45.2","0.45.3","0.45.4","0.45.5","0.45.6","0.45.7","0.45.8","0.46.0","0.47.0","0.47.1","0.47.2","0.48.0","0.48.1","0.48.2","0.48.3","0.49.0","0.49.1","0.5.0","0.5.1","0.50.0","0.50.1","0.50.10","0.50.11","0.50.12","0.50.2","0.50.3","0.50.4","0.50.5","0.50.6","0.50.7","0.50.8","0.50.9","0.51.0","0.51.1","0.51.2","0.52.0","0.52.1","0.52.2","0.52.3","0.52.4","0.52.5","0.52.6","0.52.7","0.52.8","0.52.9","0.53.0","0.53.1","0.53.10","0.53.11","0.53.12","0.53.13","0.53.14","0.53.15","0.53.16","0.53.2","0.53.4","0.53.5","0.53.6","0.53.7","0.53.8","0.54.0","0.54.1","0.54.2","0.55.0","0.55.1","0.56.0","0.56.1","0.56.10","0.56.11","0.56.12","0.56.13","0.56.14","0.56.15","0.56.16","0.56.17","0.56.18","0.56.19","0.56.2","0.56.3","0.56.4","0.56.5","0.56.6","0.56.7","0.56.8","0.56.9","0.57.0","0.58.0","0.58.1","0.58.2","0.58.3","0.59.0","0.59.0b1","0.59.0b2","0.59.0b3","0.59.1","0.59.10","0.59.11","0.59.12","0.59.13","0.59.14","0.59.15","0.59.16","0.59.17","0.59.18","0.59.19","0.59.2","0.59.20","0.59.21","0.59.22","0.59.23","0.59.24","0.59.25","0.59.26","0.59.27","0.59.28","0.59.29","0.59.3","0.59.30","0.59.31","0.59.32","0.59.33","0.59.34","0.59.35","0.59.36","0.59.37","0.59.38","0.59.39","0.59.4","0.59.5","0.59.6","0.59.7","0.59.8","0.59.9","0.6.0","0.6.1","0.6.3","0.6.4","0.6.5","0.6.6","0.6.7","0.60.0","0.60.1","0.60.2","0.60.3","0.61.0","0.61.1","0.62.0","0.8.0","0.9.0","0.9.1","0.9.2","0.9.3","0.9.4","0.9.5"],"versions_truncated":false},{"advisory":"PYSEC-2026-382","ecosystem":"PyPI","name":"langroid","purl":"pkg:pypi/langroid","ranges":[{"introduced":"0","fixed":"0.63.0"}],"versions":["0.33.9","0.34.0","0.34.1","0.35.0","0.35.1","0.36.0","0.36.1","0.37.0","0.37.1","0.37.2","0.37.3","0.37.4","0.37.5","0.37.6","0.37.7","0.38.0","0.39.0","0.39.1","0.39.2","0.39.3","0.39.4","0.39.5","0.40.0","0.41.0","0.41.1","0.41.2","0.41.3","0.41.4","0.41.5","0.42.0","0.42.1","0.42.10","0.42.2","0.42.3","0.42.4","0.42.5","0.42.6","0.42.7","0.42.8","0.42.9","0.43.0","0.43.1","0.44.0","0.45.0","0.45.1","0.45.10","0.45.2","0.45.3","0.45.4","0.45.5","0.45.6","0.45.7","0.45.8","0.46.0","0.47.0","0.47.1","0.47.2","0.48.0","0.48.1","0.48.2","0.48.3","0.49.0","0.49.1","0.5.0","0.5.1","0.50.0","0.50.1","0.50.10","0.50.11","0.50.12","0.50.2","0.50.3","0.50.4","0.50.5","0.50.6","0.50.7","0.50.8","0.50.9","0.51.0","0.51.1","0.51.2","0.52.0","0.52.1","0.52.2","0.52.3","0.52.4","0.52.5","0.52.6","0.52.7","0.52.8","0.52.9","0.53.0","0.53.1","0.53.10","0.53.11","0.53.12","0.53.13","0.53.14","0.53.15","0.53.16","0.53.2","0.53.4","0.53.5","0.53.6","0.53.7","0.53.8","0.54.0","0.54.1","0.54.2","0.55.0","0.55.1","0.56.0","0.56.1","0.56.10","0.56.11","0.56.12","0.56.13","0.56.14","0.56.15","0.56.16","0.56.17","0.56.18","0.56.19","0.56.2","0.56.3","0.56.4","0.56.5","0.56.6","0.56.7","0.56.8","0.56.9","0.57.0","0.58.0","0.58.1","0.58.2","0.58.3","0.59.0","0.59.0b1","0.59.0b2","0.59.0b3","0.59.1","0.59.10","0.59.11","0.59.12","0.59.13","0.59.14","0.59.15","0.59.16","0.59.17","0.59.18","0.59.19","0.59.2","0.59.20","0.59.21","0.59.22","0.59.23","0.59.24","0.59.25","0.59.26","0.59.27","0.59.28","0.59.29","0.59.3","0.59.30","0.59.31","0.59.32","0.59.33","0.59.34","0.59.35","0.59.36","0.59.37","0.59.38","0.59.39","0.59.4","0.59.5","0.59.6","0.59.7","0.59.8","0.59.9","0.6.0","0.6.1","0.6.3","0.6.4","0.6.5","0.6.6","0.6.7","0.60.0","0.60.1","0.60.2","0.60.3","0.61.0","0.61.1","0.62.0","0.8.0","0.9.0","0.9.1","0.9.2","0.9.3","0.9.4","0.9.5"],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2026-25879/","html_en":"/en/cve/CVE-2026-25879/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-25879","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-25879"},"untrusted":{"vendor_name":"langroid","product_name":"langroid","desc_en":"Langroid is a framework for building large-language-model-powered applications. Prior to version 0.63.0, SQLChatAgent executes SQL produced by an LLM, which is influenceable by prompt injection. When configured with a database role that has privileges enabling code execution or filesystem access (e.g., PostgreSQL pg_execute_server_program, MySQL FILE, MSSQL xp_cmdshell), an attacker who can shape the agent's input — including indirectly via data returned to the LLM — can coerce execution of dialect-specific primitives such as `COPY ... FROM PROGRAM`, achieving RCE on the database host. Fixed in v0.63.0 by defaulting SQLChatAgent to a SELECT-only sqlglot-parsed statement allowlist with a dialect-aware dangerous-pattern blocklist; allow_dangerous_operations=True restores the previous unrestricted behavior for trusted deployments.","affected":[{"untrusted_vendor":"langroid","untrusted_product":"langroid","versions":[]}],"references":[{"url":"https://github.com/langroid/langroid/security/advisories/GHSA-mxfr-6hcw-j9rq","tags":[]}]}}