CVE Explorer
CVE-2026-50180
Langroid is a framework for building large-language-model-powered applications. Prior to version 0.64.0, `SQLChatAgent` in `langroid` ships a `_validate_query` defense-in-depth layer whose `_DANGEROUS_SQL_PATTERNS` regex blocklist enumerates dangerous SQL primitives by specific function name. The list misses the canonical PostgreSQL filesystem-disclosure family `pg_read_file()`, `pg_stat_file()`, `pg_ls_logdir()`, `pg_ls_waldir()`, `pg_current_logfile()` (and similar `SELECT`-shaped functions in
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-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:3c799d8b79afd9172fa73681186a37e495487be935c8df8b84089a884c6abdc3 · sha256:d892856be842e317… · /containers/cna/problemTypes/0/descriptions/0
{"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:3c799d8b79afd9172fa73681186a37e495487be935c8df8b84089a884c6abdc3 · sha256:d892856be842e317… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"langroid","vendor":"langroid","versions":[{"status":"affected","version":"< 0.64.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:3c799d8b79afd9172fa73681186a37e495487be935c8df8b84089a884c6abdc3 · sha256:d892856be842e317… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":8.7,"baseSeverity":"HIGH","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:N/VA:N/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:3c799d8b79afd9172fa73681186a37e495487be935c8df8b84089a884c6abdc3 · sha256:d892856be842e317… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
2 source assertions{"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:3c799d8b79afd9172fa73681186a37e495487be935c8df8b84089a884c6abdc3 · sha256:d892856be842e317… · /containers/cna/problemTypes/0/descriptions/0
{"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:3c799d8b79afd9172fa73681186a37e495487be935c8df8b84089a884c6abdc3 · sha256:d892856be842e317… · /containers/cna/problemTypes/1/descriptions/0
Source references
2 source assertions{"name":"https://github.com/langroid/langroid/commit/00b7dd7b79c5d03c94be284cf3459d98195ebfba","tags":["x_refsource_MISC"],"url":"https://github.com/langroid/langroid/commit/00b7dd7b79c5d03c94be284cf3459d98195ebfba"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3c799d8b79afd9172fa73681186a37e495487be935c8df8b84089a884c6abdc3 · sha256:d892856be842e317… · /containers/cna/references/1
{"name":"https://github.com/langroid/langroid/security/advisories/GHSA-pmch-g965-grmr","tags":["x_refsource_CONFIRM"],"url":"https://github.com/langroid/langroid/security/advisories/GHSA-pmch-g965-grmr"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3c799d8b79afd9172fa73681186a37e495487be935c8df8b84089a884c6abdc3 · sha256:d892856be842e317… · /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.