CVE-2026-54760
Last modified
CVE-2026-54760 is a critical-severity vulnerability rated 9.3/10 on the CVSS scale. 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. EPSS estimates a 0.65% chance of exploitation in the next 30 days.
Description
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 a quoted identifier, an inline comment, or schema qualification. These forms evade the regex, still parse as `SELECT`, and execute the same PostgreSQL function. This restores the `pg_read_file` server-side file-read primitive that the prior CVE-2026-25879 / GHSA-pmch-g965-grmr fix was meant to block: the parent advisory fixed a missing `pg_read_file` blocklist entry, while this report shows that the added regex is bypassable. Version 0.65.1 fixes the issue.
Metrics
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| langroid | langroid | < 0.65.1 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-54760?
How severe is CVE-2026-54760?
How do I fix CVE-2026-54760?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-5474A vulnerability was found in NASA cFS up to 7.0.0. This affe…8.8
- CVE-2026-5475A vulnerability was determined in NASA cFS up to 7.0.0. This…5.5
- CVE-2026-54753Nx is a monorepo solution for TypeScript and polyglot codeba…5.9
- CVE-2026-54756Jodit Editor is a WYSIWYG editor with written in pure TypeSc…6.3
- CVE-2026-54759SiYuan is an open-source personal knowledge management syste…8.7
- CVE-2026-5476A vulnerability was identified in NASA cFS up to 7.0.0 on 32…4.6
- CVE-2026-54761Traefik is an HTTP reverse proxy and load balancer. Prior to…7.1
- CVE-2026-54762Traefik is an HTTP reverse proxy and load balancer. From 3.7…8.6
- CVE-2026-54763Traefik is an HTTP reverse proxy and load balancer. Prior to…10
- CVE-2026-54764Traefik is an HTTP reverse proxy and load balancer. Prior to…5.8
- CVE-2026-54765Traefik is an open source HTTP reverse proxy and load balanc…8.5
- CVE-2026-54768WPGraphQL provides a GraphQL API for WordPress sites. From 2…6.9
Are you affected by CVE-2026-54760?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
