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.
Published: 2026-08-05
Score: 7.5 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

History

Wed, 05 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 05 Aug 2026 17:30:00 +0000

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'}


Subscriptions

Directus Directus
cve-icon MITRE

Status: PUBLISHED

Assigner: Fluid Attacks

Published:

Updated: 2026-08-05T17:45:11.813Z

Reserved: 2026-06-02T19:25:29.287Z

Link: CVE-2026-10716

cve-icon Vulnrichment

Updated: 2026-08-05T17:38:42.865Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T18:30:16Z

Weaknesses
  • CWE-89

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