Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Nextcloud as low-privilege user
-
DeliveryOpen Tables app with accessible table
-
ExploitSubmit sort request with malicious mode parameter
-
ExecutionInject conditional ORDER BY payload
-
PersistIterate requests to extract data bit-by-bit
-
ImpactReconstruct sensitive database contents
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must have a valid Nextcloud account and be granted access to the Tables app (PR:L in the CVSS vector); no user interaction is required and the attack is performed over the network against the standard Nextcloud HTTP endpoints. The vulnerable code path is reached by submitting a sort operation against a table the user can query, so at least one table the attacker can read must exist. Exploitation is inherently rate-limited because ORDER BY injection only leaks one bit per HTTP request, making bulk data exfiltration noisy and slow but still feasible against the entire database the Nextcloud service account can reach. |
| Impact | The CVSS 7.1 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L) accurately reflects a network-reachable, low-complexity issue requiring authenticated access with high confidentiality impact and low availability impact (consistent with time-based DoS via SLEEP-style payloads). EPSS and CISA KEV status were not provided in the source data, so widespread exploitation probability cannot be quantified. The PR:L requirement plus the inherent slowness of blind ORDER BY exfiltration (one bit per request) materially lowers real-world urgency compared to a typical pre-auth SQLi, but any tenant where untrusted users have Tables access - common in shared-hosting or community Nextcloud deployments - should treat this as a priority because confidentiality impact extends to the entire Nextcloud database, not just Tables data. No public exploit identified at time of analysis, though the HackerOne report (#3446689) and detailed PR diff give a clear roadmap for one. |
| Exploit ScenarioDerived | An authenticated low-privilege Nextcloud user with access to the Tables app crafts a request to sort a table, injecting a conditional expression into the sort mode parameter (e.g., a CASE WHEN clause that orders rows differently based on a single bit of a target value such as an oc_users password hash). By scripting hundreds of such requests, the attacker reconstructs arbitrary database content byte-by-byte; alternatively, they inject a database SLEEP() to confirm exploitability or cause minor availability degradation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 01, 2026
Blind SQL injection in the Nextcloud Tables app affects versions 0.9.0 through 0.9.6 and 1.0.0 through 1.0.1, allowing authenticated users with access to the Tables app to inject SQL into the ORDER BY clause of database queries. The flaw permits bit-by-bit data extraction or time-based exfiltration against the underlying database, and no public exploit identified at time of analysis. Patches are available in versions 0.9.7 and 1.0.2.
RemediationAI
Upgrade the Nextcloud Tables app to version 0.9.7 (for the 0.9.x branch) or 1.0.2 (for the 1.0.x branch), both of which contain the fix in PR https://github.com/nextcloud/tables/pull/2186 that adds an ASC/DESC allowlist for sort modes and replaces raw createFunction() string concatenation with parameterized query-builder methods. If immediate upgrade is not possible, restrict access to the Tables app to trusted users only via Nextcloud's app group restrictions (Settings → Apps → Tables → limit to groups) - note that this disables Tables for all other users and is not a substitute for patching. Consult the GHSA advisory at https://github.com/nextcloud/security-advisories/security/advisories/GHSA-5h2w-c7px-hp4j for the authoritative fix guidance.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Nextcloud Tables is a first-party app for the Nextcloud collaboration platform that lets users create spreadsheet-like tables backed by the Nextcloud database. The vulnerability is a classic CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) located in lib/Db/Row2Mapper.php, specifically in the addSortQueryForMultipleSleeveFinder method that builds ORDER BY clauses. User-controlled sort mode values were concatenated into the query without validation; the patch in PR #2186 adds an allowlist check (in_array($sortData['mode'], ['ASC', 'DESC'])) and replaces raw createFunction() calls with parameter-safe $qb->func()->max() builder methods. Because ORDER BY injection cannot return rows directly, exploitation is necessarily blind - confined to single-bit extraction via conditional ordering or time-delay primitives.
Know when Nextcloud 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
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
Nextcloud is an open source content collaboration platform. From versions 0.9.0 to before 0.9.7, and 1.0.0 to before 1.0.2, a missing sanitization in the Tables app allowed a user with access to the tables app to perform a limited SQL injection in the ORDER BY statement of a query. Compared to normal SQL injections, the ORDER BY is limited to extracting a single bit of information per request or to make the database wait for a given time. This issue has been patched in versions 0.9.7 and 1.0.2.
Executive ViewAI
Nextcloud Tables versions 0.9.0-0.9.6 and 1.0.0-1.0.1 contain a SQL injection vulnerability (CVE-2026-45722) that allows authenticated users with Tables app access to extract sensitive data from the underlying database through time-based or bit-by-bit exfiltration. Organizations using Nextcloud Tables face confidentiality breach risk if users have been compromised or are acting maliciously. Patching to versions 0.9.7 or 1.0.2 is available and must be prioritized.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Nextcloud server is an open source home cloud implementation. Rated high severity (CVSS 8.8), this vulnerability is remo
A too lax check in Nextcloud Talk 6.0.4, 7.0.2 and 8.0.7 allowed a code injection when a not correctly sanitized talk co
Nextcloud Server provides data storage for Nextcloud, an open source cloud platform. Rated critical severity (CVSS 9.8),
Unauthenticated OS command injection in the Collabora Online Built-in CODE Server Nextcloud app (richdocumentscode) befo
Unauthenticated vector-store tampering in Nextcloud MCP Server before 0.117.2 lets any network attacker who can reach th
Nextcloud Server before 9.0.54 and 10.0.1 & ownCloud Server before 9.1.2, 9.0.6, and 8.2.9 suffer from SMB User Authenti
NextCloud Cookbook is a recipe library app. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable,
Nextcloud server is an open source home cloud implementation. Rated high severity (CVSS 8.8), this vulnerability is remo
Nextcloud Desktop Client prior to 3.1.3 is vulnerable to resource injection by way of missing validation of URLs, allowi
lib/Controller/ExtractionController.php in the Extract add-on before 1.2.0 for Nextcloud allows Remote Code Execution vi
Authorization bypass in Windmill 1.56.0-1.614.0 enables Operator role users to escalate privileges to remote code execut
Insufficient protection of the server-side encryption keys in Nextcloud Server 19.0.1 allowed an attacker to replace the
EUVD-2026-33719
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB