CVE-2026-45722 Nextcloud: Tables app allows limited SQLi in ORDER BY with malicious sort order argument for Table Views
A user with access to the Nextcloud Tables app can perform limited SQL injection to extract data or cause delays via malicious sort order arguments.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-45722?
CVE-2026-45722 is a high-severity SQL injection vulnerability in nextcloud security-advisories, published on 1 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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.
Weakness: CWE-89
Which versions are affected by CVE-2026-45722?
It affects 1 product.
Products include Nextcloud Tables.
How do I fix CVE-2026-45722?
No fix has been published for CVE-2026-45722 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2026-45722 being exploited?
There is no known exploitation of CVE-2026-45722 in the wild and no public exploit code.
Other vulnerabilities in nextcloud security-advisories
- CVE-2026-45545 Nextcloud: SQL Injection in Column Type Parameter Allows Arbitrary SQL Execution
- CVE-2025-66551 Nextcloud Tables is missing an ownership check which allows moving columns into tables of other users
- CVE-2024-52511 Nextcloud Tables has an Authorization Bypass Through User-Controlled Key in Tables
- CVE-2026-45544 Nextcloud: Information Disclosure of view filter metdata via Broken Sensitive Data Masking in ViewService
- CVE-2025-66513 Nextcloud Tables app share information not limited to relevant users
Sources
Also known as GHSA-5h2w-c7px-hp4j.