CVE-2026-45722 Nextcloud: Tables app allows limited SQLi in ORDER BY with malicious sort order argument for Table Views

High 7.1 Published Updated

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.

Sources

Also known as GHSA-5h2w-c7px-hp4j.

Is CVE-2026-45722 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free