CVE-2026-10716

Directus <12.1.0 - Authenticated time-based SQL injection in PostgreSQL/PostGIS collection creation

Published Aug 5, 2026 CVSS 4.0 · 7.5 High EPSS < 1% KEV · Not listed
Description
Directus contains an authenticated SQL injection vulnerability in the collection creation flow when the instance uses PostgreSQL with PostGIS enabled. An administrator can create a collection with a geometry field whose fields[].type value starts with geometry but contains attacker-controlled SQL syntax after the geometry subtype.This issue affects Directus: before 12.1.0.

Analysis

AI-generated

Technical impact

Directus allows an administrator to create a collection that includes a geometry field. When PostgreSQL with PostGIS is enabled, the field definition can be crafted so that the value of fields[].type begins with the word geometry and then embeds arbitrary SQL syntax. This leads to an authenticated SQL injection that can be used to run any statement against the underlying database. The consequence is a full compromise of confidentiality, integrity, and availability for data stored in the Directus instance, as well as the ability to modify or delete application data and potentially gain broader system access. The weakness is classified as a standard SQL injection (CWE‑89).

Affected Systems

All installations of Directus versions earlier than 12.1.0 that are running PostgreSQL with PostGIS activated are affected. The vulnerability applies regardless of operating system – Linux, macOS, or Windows. Deployments using other database back‑ends or without PostGIS are not impacted.

Risk and Exploitability

The vulnerability has a CVSS score of 7.5, indicating high severity. EPSS data is not available, and the issue is not listed in CISA’s KEV catalog. Attackers must possess administrator rights to create a collection, but the vulnerability allows the attacker to inject arbitrary SQL and therefore control the database’s contents. The exploitation path is relatively straightforward for an authenticated user and does not require additional privileges beyond those granted to a Directus administrator.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Directus deployment to version 12.1.0 or newer.
  • If an immediate upgrade is not possible, remove or disable PostGIS support in the database configuration until the patch is applied.
  • Restrict Directus administrator rights to a minimum set of trusted users and remove any super‑admin accounts not in active use.
  • Enable detailed logging of collection‑creation events and monitor for anomalous SQL patterns or delays that might indicate injection attempts.

Generated by OpenCVE AI on August 5, 2026 at 18:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Directus contains an authenticated SQL injection vulnerability in the collection creation flow when the instance uses PostgreSQL with PostGIS enabled. An administrator can create a collection with a geometry field whose fields[].type value starts with geometry but contains attacker-controlled SQL syntax after the geometry subtype.This issue affects Directus: before 12.1.0.
Title Directus <12.1.0 - Authenticated time-based SQL injection in PostgreSQL/PostGIS collection creation
First Time appeared Directus
Directus directus
Weaknesses CWE-89
CPEs cpe:2.3:a:directus:directus:*:*:linux:*:*:*:*:*
cpe:2.3:a:directus:directus:*:*:macos:*:*:*:*:*
cpe:2.3:a:directus:directus:*:*:windows:*:*:*:*:*
Vendors & Products Directus
Directus directus
References
Metrics cvssV4_0

{'score': 7.5, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
Fluid Attacks
Published
Updated
Aug 5, 2026, 5:45 PM
Reserved
Jun 2, 2026, 7:25 PM
Status
Deferred
Published
Aug 5, 2026, 6:16 PM
Modified
Aug 28, 2026, 3:31 PM