CVE Explorer
CVE-2026-54760
Langroid is a framework for building large-language-model-powered applications. Prior to version 0.65.1, the `SQLChatAgent` SQL-injection mitigation, with default `allow_dangerous_operations=False`, combines a raw-text regex blocklist (`_DANGEROUS_SQL_PATTERNS`) with a `sqlglot` SELECT-only statement allowlist. The blocklist entries that target callable functions require the function name to be immediately followed by `\s*\(`. PostgreSQL accepts the same call with the name separated from `(` by
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-89","description":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:521771bcf0245dbb4f5774b94ceef1d8060a1f5366ab6bdf281dd13bb70fe38b · sha256:c652bff7c3344fb7… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:521771bcf0245dbb4f5774b94ceef1d8060a1f5366ab6bdf281dd13bb70fe38b · sha256:c652bff7c3344fb7… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"langroid","vendor":"langroid","versions":[{"status":"affected","version":"< 0.65.1"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:521771bcf0245dbb4f5774b94ceef1d8060a1f5366ab6bdf281dd13bb70fe38b · sha256:c652bff7c3344fb7… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":9.3,"baseSeverity":"CRITICAL","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:521771bcf0245dbb4f5774b94ceef1d8060a1f5366ab6bdf281dd13bb70fe38b · sha256:c652bff7c3344fb7… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
2 source assertions{"cweId":"CWE-89","description":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:521771bcf0245dbb4f5774b94ceef1d8060a1f5366ab6bdf281dd13bb70fe38b · sha256:c652bff7c3344fb7… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:521771bcf0245dbb4f5774b94ceef1d8060a1f5366ab6bdf281dd13bb70fe38b · sha256:c652bff7c3344fb7… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"tags":["exploit"],"url":"https://github.com/langroid/langroid/security/advisories/GHSA-6xc5-4r68-67fc"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:521771bcf0245dbb4f5774b94ceef1d8060a1f5366ab6bdf281dd13bb70fe38b · sha256:c652bff7c3344fb7… · /containers/adp/0/references/0
{"name":"https://github.com/langroid/langroid/security/advisories/GHSA-6xc5-4r68-67fc","tags":["x_refsource_CONFIRM"],"url":"https://github.com/langroid/langroid/security/advisories/GHSA-6xc5-4r68-67fc"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:521771bcf0245dbb4f5774b94ceef1d8060a1f5366ab6bdf281dd13bb70fe38b · sha256:c652bff7c3344fb7… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.