Skip to main content

SQLBot CVE-2026-121453

| EUVDEUVD-2026-115885 MEDIUM
Path Traversal (CWE-22)
2026-11-03 VulnCheck GHSA-fghj-qqgj-7rxf
5.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as workspace administrator
  2. Exploit
    Send importToDb request with ../ or absolute filePath
  3. Execution
    Server imports out-of-scope file into excel_ table
  4. Impact
    Query table to read disclosed file contents

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated workspace administrator account (CVSS PR:H) with access to the /datasource/importToDb endpoint; it is not reachable by anonymous or low-privilege users. The attacker must supply a crafted filePath (absolute path or ../ sequences) that the server joins onto the upload directory without containment validation. A practical limit on impact is that the targeted file must be parseable as CSV or a spreadsheet to be imported into the excel_* tables and read back, so arbitrary binary or non-tabular files are not straightforwardly disclosed. The fix in commit 3d15c67 enforces that the resolved path stays within the upload base directory, so updating to the patched build removes the condition; the vendor patch is the stated remediation.

Impact

This is a moderate-severity, high-privilege information-disclosure flaw rather than a top-tier emergency. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N/VC:L) scores 5.1 and is internally consistent with the description: network-reachable, low complexity, but requiring PR:H - the attacker must already hold a workspace administrator account, which is the single largest limiting factor. There is no EPSS score, no CISA KEV listing, and no SSVC decision in the supplied data; the only priority signal is vuln.today's 'this_month' label, which aligns with 'patch in normal cycle' rather than act_now/emergency. A patch commit is confirmed and the issue was reported by a credible source (VulnCheck). The GitHub issue reference (#1434) documents the flaw but is not confirmed as working exploit code, so active or widespread exploitation should not be assumed. Net: a real but bounded issue - the PR:H requirement and the CSV/spreadsheet parsing constraint (only files that parse as a spreadsheet become readable) keep real-world risk below what a raw 'path traversal / arbitrary file read' label might suggest. No key signals conflict; the main gap is the absence of EPSS/KEV/SSVC to gauge exploitation likelihood.

Exploit ScenarioDerived

A malicious or compromised workspace administrator calls the /datasource/importToDb endpoint and supplies a filePath containing ../ sequences or an absolute path instead of a legitimate upload name. The server joins this directly onto the upload directory (os.path.join(path, import_req.filePath)) with no containment check, so the attacker imports another workspace's upload or a server-side file that parses as CSV/spreadsheet into a queryable excel_* table and then reads it back. A public GitHub issue (#1434) describes the vulnerability, but no verified working exploit code is identified in the provided data.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available

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

Alert me

AnalysisAIv1 – Nov 03, 2026

Path traversal in SQLBot through 1.10.3 allows an authenticated workspace administrator to read files outside the upload directory by supplying an absolute path or ../ sequences in the filePath parameter of the /datasource/importToDb endpoint, with the imported content materialized into queryable excel_* tables. Impact is confidentiality-only and practically constrained: the targeted file must parse as CSV or a spreadsheet, so arbitrary binaries are not straightforwardly disclosed, and the attacker must already hold a high-privilege admin role (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N). The published score is 5.1 (CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N); a vendor fix exists in commit 3d15c67 and no public exploit code was identified at time of analysis, so this is a moderate-severity, high-privilege information-disclosure issue slotted for this-month remediation rather than an emergency.

RemediationAI

Patch available per vendor advisory: apply the upstream fix in commit 3d15c67b4de6ed9420daa9a34e4dc371ebbf4765 (https://github.com/dataease/SQLBot/commit/3d15c67b4de6ed9420daa9a34e4dc371ebbf4765), which resolves the client-supplied filePath with os.path.realpath and rejects any path that does not stay under the realpath of the upload base directory, including the base directory itself and null-byte payloads. No tagged release version is stated in the available data, so confirm with the vendor issue https://github.com/dataease/SQLBot/issues/1434 or the VulnCheck advisory which build carries the fix before treating a deployment as remediated. The vendor patch is the stated remediation; scheduling it within the current month matches the this_month decision label. Until the fix is deployed, the exposure is bounded by the prerequisite that the attacker must already be a workspace administrator able to call /datasource/importToDb, so limiting who holds workspace-admin rights and auditing that endpoint for unusual filePath values (absolute paths or ../ sequences) reduces the window without changing functionality for legitimate imports, at the cost of narrower administrative access and the need to review existing excel_* tables for imports that originated outside the expected upload directory.

Affected VersionsENISA

SQLBot 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 is a DataEase project with a Python/FastAPI backend (CPE cpe:2.3:a:dataease:sqlbot:*:*:*:*:*:*:*:*, version-bounded only by the advisory text 'through 1.10.3'). The vulnerable code sits in backend/apps/datasource/api/datasource.py around lines 580-585, where the import handler computes save_path = os.path.join(path, import_req.filePath) with path being the server-side excel upload directory and filePath taken directly from the client request body. Because os.path.join discards the base when the second component is absolute, and because ../ sequences are never normalized or containment-checked, the joined path can resolve to files belonging to other workspaces' uploads or to arbitrary server files. The referenced sink backend/apps/datasource/utils/excel.py lines 48-57 then parses the resolved file as a spreadsheet/CSV via read_import_dataframe and loads it into generated excel_* tables, converting the traversal into a read-back channel rather than a blind file read. This is classic CWE-22 (Improper Limitation of a Pathname to a Restricted Directory); authentication is required and the assessed vector's PR:H reflects that only workspace administrators reach the endpoint through the permission middleware stack (RequestContextMiddleware / system.schemas.permission). The fixing commit replaces the naive join with os.path.realpath plus os.path.commonpath containment against the realpath of the upload base, raises HTTPException(400) when the resolved path equals the base directory or escapes it, and catches ValueError for cases such as embedded null bytes, returning the new i18n_ds_invalid_file_path message. The commit also adds an offline HTTP regression suite (test_datasource_import_path_traversal.py) covering absolute paths and a sibling directory whose name shares the upload directory prefix.

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 5.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 2.7 LOW

Network endpoint with low complexity but requires a workspace-admin account (PR:H); impact is confined to disclosure of spreadsheet-parseable files (C:L), with no integrity or availability effect.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

DescriptionCVE.org

SQLBot through 1.10.3 contains a path traversal vulnerability in the importToDb endpoint that allows authenticated workspace administrators to read files via an unsanitized filePath parameter. Attackers can supply absolute paths or ../ sequences to import CSV or spreadsheet files, including other workspaces' uploads and server files, into queryable excel_* tables.

Threat Intelligence Overview

Prevalence
Low
niche open-source DataEase SQLBot tool, limited enterprise deployment footprint
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org Vulnrichment GitHub

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 N/A
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

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

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

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-53555 MEDIUM
5.1 Sep 17

Stored cross-site scripting in SQLBot prior to 1.9.0 lets an authenticated user with logo-upload privileges persist a ma

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