Skip to main content

SQLBot EUVDEUVD-2026-127009

| CVE-2026-130595 MEDIUM
Incomplete List of Disallowed Inputs (CWE-184)
2026-11-17 VulnCheck GHSA-f9wg-44c5-frh4
6.0
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to SQLBot with valid account
  2. Exploit
    Prompt LLM to emit pg_read_file/lo_export SQL
  3. Execution
    Bypass empty PostgreSQL denylist in check_sql_read()
  4. Impact
    Read or write files on database host

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation completeness
Exploitation Conditions

Exploitation requires: (1) a valid authenticated SQLBot account (PR:L); (2) the target datasource configured as PostgreSQL - the denylist bypass is specific to the 'pg' type whose rules were disabled; (3) an affected version in the range 1.10.0 through 1.10.3; and (4) the ability to steer LLM-generated SQL into emitting one of the file functions (pg_read_file, pg_read_binary_file, pg_ls_dir, pg_stat_file, pg_write_file, lo_import, lo_export). LIMITING FACTORS: the attack is not fully deterministic (AC:H/AT:P reflects reliance on shaping LLM output and on the PostgreSQL-only code path), and actual file read/write succeeds only if the PostgreSQL role used by the datasource connection holds the privileges those functions demand (historically superuser, or the pg_read_server_files/pg_write_server_files roles). A non-PostgreSQL datasource, or a patched build, is not exploitable via this flaw.

Impact

This is a moderate-severity, authenticated vulnerability (CVSS 4.0 6.0; vendor vector CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N) that is a real but not emergency priority. Multiple decision signals point the same direction: it is network-reachable (AV:N) but requires valid SQLBot credentials (PR:L), is not trivially reliable (AC:H plus AT:P, reflecting that the attacker must coax LLM-generated SQL into the right shape and that the bypass only matters for PostgreSQL datasources), and no CISA KEV listing or confirmed exploit code is present. The vuln.today Decision label is 'this_month', consistent with a patch-this-cycle item rather than act_now/emergency. No EPSS score was supplied, so widespread automated exploitation probability cannot be quantified from the input. The root cause is well-evidenced by the vendor commit (CWE-184 incomplete denylist: the table was keyed 'postgresql' while lookups use the DB type code 'pg', silently disabling the entire PostgreSQL rule set), so the mechanism is confirmed, not inferred. The primary impact is confidentiality (server-side file read via pg_read_file/pg_read_binary_file/pg_ls_dir/pg_stat_file) with limited integrity (file write via pg_write_file/lo_export); VC:H/VI:L reflects this read-heavy impact. Net: a genuine security-relevant flaw worth patching this cycle, not a high-CVSS-but-no-real-risk item, but gated behind authentication, PostgreSQL usage, and the database role's own file-access privileges.

Exploit ScenarioDerived

An authenticated SQLBot user connected to a PostgreSQL datasource prompts the LLM to generate a query that invokes pg_read_file('/etc/passwd') (or pg_write_file/lo_export); because the denylist key mismatch leaves check_sql_read() with no PostgreSQL dangerous-function rules, the query passes validation and executes on the database host. No public exploit code is identified at time of analysis, though the GitHub issue (1438) and VulnCheck advisory describe the flaw in detail. Success further depends on the underlying PostgreSQL role holding the privileges these file functions require.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 17, 2026

Authenticated SQLBot users on versions 1.10.0 through 1.10.3 can bypass the product's PostgreSQL dangerous-function denylist and invoke server-side file functions - pg_read_file, pg_write_file, lo_import or lo_export - against the database host, because the denylist is keyed 'postgresql' while runtime lookups use the datasource type 'pg'. Exploitation is not deterministic: it requires a PostgreSQL-configured datasource, the ability to steer LLM-generated SQL past check_sql_read(), and a database role holding the privileges those functions demand (historically superuser, or pg_read_server_files/pg_write_server_files), which is why it scores CVSS 4.0 6.0 (AV:N/AC:H/AT:P/PR:L/UI:N) rather than critical. No public exploit has been identified at time of analysis and no EPSS or KEV signal is present; the vendor has published an upstream fix commit, and the vuln.today decision label is this_month.

RemediationAI

Upstream fix available (commit 67d213fc3920c29e8ca7c27c5ea2334bdebe284d); a released patched version number is not independently confirmed, so deployments on 1.10.0-1.10.3 should apply that commit or move to the first build containing it, verifying afterwards that get_dangerous_functions('pg') resolves the PostgreSQL file-function set. Where the update cannot be applied immediately, reduce exposure by pointing PostgreSQL datasources at a low-privilege role that is neither superuser nor a member of pg_read_server_files/pg_write_server_files - the file functions then fail on permission checks, at the cost of any legitimate administrative capability that role provided - and by restricting which accounts may create or query PostgreSQL datasources, since exploitation needs an authenticated user able to influence LLM-generated SQL. Deployments without PostgreSQL datasources are not reachable through this flaw and need no compensating change. Vendor references: https://github.com/dataease/SQLBot/commit/67d213fc3920c29e8ca7c27c5ea2334bdebe284d and https://github.com/dataease/SQLBot/issues/1438.

Affected VersionsENISA

SQLBot 1.10.0 ≤1.10.3

Affected Packages

euvd sqlbot no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

SQLBot generates SQL from natural-language prompts and gates execution through check_sql_read(), which consults a per-datasource deny table (DS_SPECIFIC_DANGEROUS_FUNCTIONS) via get_dangerous_functions(ds.type). The PostgreSQL entry was written under the key 'postgresql', but the DB enum in apps/db/constant.py exposes the PostgreSQL type code as 'pg', so the PostgreSQL-specific rules never matched and the entire dialect rule set was silently inactive - a CWE-184 incomplete-list-of-disallowed-inputs logic error rather than a parsing or sanitisation bug. The commit 67d213fc3920c29e8ca7c27c5ea2334bdebe284d renames the key to 'pg' and broadens the set to pg_read_file, pg_read_binary_file, pg_ls_dir, pg_stat_file, pg_write_file, lo_import and lo_export, noting that even read-only connections can be used to read local files on the database host. The added regression tests pin every denylist key to a DB type code and drive the real check_sql_read() guard, asserting that write statements (INSERT/UPDATE/DELETE/TRUNCATE/COPY/DROP) are rejected while ordinary SELECTs still pass and that other dialects (MSSQL xp_cmdshell, MySQL LOAD_FILE) keep their own scoped rules. CPE cpe:2.3:a:dataease:sqlbot:*:*:*:*:*:*:*:* identifies DataEase SQLBot as the affected product; the trigger depends on LLM output shaping and the PostgreSQL-only code path, and successful file read or write further depends on the privileges of the PostgreSQL role configured for the datasource.

Know when Sqlbot gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 6.0 MEDIUM
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 5.9 MEDIUM

Network-reachable but requires a valid account (PR:L) and non-deterministic LLM/SQL steering plus PostgreSQL-only path (AC:H); server-side file read drives C:H, limited file write gives I:L, no availability impact.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N
4.0 AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

SQLBot 1.10.0 through 1.10.3 fails to apply its PostgreSQL dangerous-function denylist because DS_SPECIFIC_DANGEROUS_FUNCTIONS uses 'postgresql' while lookups use the 'pg' type. Authenticated users can steer LLM-generated SQL past check_sql_read() using pg_read_file, pg_write_file, lo_import or lo_export to read or write files on the database host.

Threat Intelligence Overview

EPSS Score
0.4%
Top 71% exploitable
Prevalence
Low
niche open-source LLM-to-SQL assistant, limited production/enterprise footprint
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Sqlbot

View all
CVE-2025-69285 MEDIUM POC
6.1 Jan 21

SQLBot is an intelligent data query system based on a large language model and RAG. [CVSS 6.1 MEDIUM]

CVE-2026-33324 CRITICAL
9.4 May 05

Prompt injection in SQLBot 1.7.0 and earlier allows authenticated attackers to execute arbitrary SQL statements through

CVE-2026-72743 MEDIUM POC
5.1 Aug 10

Stored cross-site scripting in SQLBot's SQText dashboard component allows any authenticated low-privilege user who can e

CVE-2026-32622 HIGH
8.8 Mar 19

Remote code execution in SQLBot 1.5.0 and below allows authenticated users to inject malicious prompts through unsanitiz

CVE-2026-32950 HIGH
8.8 Mar 20

SQLBot, an intelligent data query system based on large language models and RAG, contains a critical SQL injection vulne

CVE-2026-42463 HIGH
8.6 May 13

Cross-workspace IDOR in SQLBot (DataEase) versions prior to 1.8.0 allows authenticated low-privilege users to read and m

CVE-2026-32949 HIGH
7.5 Mar 20

A Server-Side Request Forgery (SSRF) vulnerability in SQLBot, an intelligent data query system based on large language m

CVE-2026-93660 HIGH
7.1 Sep 18

Authenticated workspace members in DataEase SQLBot through 1.10.1 can rename and rewrite other users' private dashboards

CVE-2025-15598 LOW POC
2.9 Mar 03

A vulnerability was found in Dataease SQLBot up to 1.5.1. This impacts the function validateEmbedded of the file backend

CVE-2025-15597 LOW POC
2.1 Mar 02

A vulnerability has been found in Dataease SQLBot up to 1.4.0. This affects an unknown function of the file backend/apps

CVE-2026-5417 LOW POC
2.0 Apr 02

Server-side request forgery (SSRF) in Dataease SQLBot up to version 1.6.0 allows high-privileged remote attackers to man

CVE-2026-129127 MEDIUM
5.9 Nov 13

SQLBot stores local account passwords - including administrator credentials - as unsalted MD5 digests in sys_user.passwo

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy