Skip to main content

Directus EUVDEUVD-2026-53519

| CVE-2026-10716 HIGH
SQL Injection (CWE-89)
2026-08-05 Fluid Attacks GHSA-c4h6-c3hj-2qc3
7.5
CVSS 4.0 · Vendor: Fluid Attacks
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain Directus admin credentials
  2. Delivery
    Authenticate to network-accessible Directus API
  3. Exploit
    Craft collection payload with SQL-injected geometry field type
  4. Execution
    Submit collection creation request
  5. Persist
    Injected SQL executes in PostgreSQL context
  6. Impact
    Exfiltrate or manipulate database contents

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires all three of the following conditions to be simultaneously present: (1) the attacker must hold Directus administrator-level credentials (PR:H per CVSS - lower privilege roles cannot access the collection creation flow in a way that triggers this path); (2) the Directus instance must be configured to use PostgreSQL as its database backend (not MySQL or SQLite); and (3) the PostGIS extension must be installed and enabled on that PostgreSQL instance, enabling the geometry column type handling that contains the injection point. The injected value must begin with the string 'geometry' to enter the vulnerable code path, with attacker-controlled SQL appended after the subtype prefix. No special network positioning is required beyond being able to reach the Directus API. The AT:P metric in the CVSS 4.0 vector explicitly encodes the PostGIS dependency as a required attack target prerequisite, and PR:H encodes the admin credential requirement - both of which meaningfully limit exploitation beyond what the raw CVSS score alone conveys.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H) scores 7.5 and reflects network reachability with high potential impact, but the two key gatekeeping signals are PR:H (administrator credentials required) and AT:P (PostGIS must be installed and active). These factors together mean this is not a broadly exploitable, opportunistic vulnerability - it requires a compromised or malicious administrator on a non-default PostGIS-enabled deployment. No EPSS score was provided in the source data, and no KEV listing or POC exploit code has been identified, which further supports treating this as a medium-priority issue for most organizations rather than an emergency. The primary residual risk is an insider-threat or post-compromise scenario where an attacker has already elevated to Directus admin and uses this to pivot deeper into the database layer. Instances running MySQL, SQLite, or PostgreSQL without PostGIS are entirely unaffected.

Exploit ScenarioDerived

An attacker who has acquired Directus administrator credentials - through phishing, credential stuffing against a reused password, or by acting as a malicious insider - authenticates to a Directus instance backed by PostgreSQL with PostGIS enabled. During collection creation, they submit a field definition where the type value begins with a valid geometry subtype string but appends crafted SQL syntax, such as a UNION SELECT or stacked query, causing Directus to construct and execute a malicious SQL statement against PostgreSQL. This results in unauthorized read access to sensitive data across the database, potential data manipulation, or denial of service against the database layer.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 05, 2026

SQL injection in Directus before 12.1.0 enables an authenticated administrator to execute arbitrary SQL against the underlying PostgreSQL database during collection creation by embedding attacker-controlled SQL syntax within a geometry field type value. The attack is gated behind two non-default prerequisites - administrator-level credentials and a PostgreSQL backend with the PostGIS extension installed - which together constrain the realistic threat surface to insider risk or compromised admin accounts. A vendor patch is confirmed available in v12.1.0; no public exploit code or CISA KEV listing has been identified at time of analysis.

RemediationAI

The primary remediation is upgrading Directus to version 12.1.0 or later, which resolves the injection by properly sanitizing geometry field type input during collection creation. The patched release is available at https://github.com/directus/directus/releases#release-v12.1.0, and the full security advisory is published at https://github.com/directus/directus/security/advisories/GHSA-chfm-g7r3-vv42. If an immediate upgrade is not feasible, operators should consider the following compensating controls: first, disable the PostGIS extension on the PostgreSQL instance if geospatial features are not actively required - this eliminates the vulnerable code path entirely but loses all geospatial column type support. Second, strictly limit Directus administrator-level access to the minimum number of trusted accounts and enforce MFA on those accounts, since the vulnerability is only reachable with admin credentials. Third, audit collection creation API activity in Directus logs for anomalous geometry type strings containing SQL metacharacters as a detection measure.

Affected VersionsENISA

directus 0 <12.1.0

Affected Packages

euvd directus fix: 12.1.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Directus is an open-source headless CMS and data platform (cpe:2.3:a:directus:directus:*:*:*:*:*:*:*:*) that abstracts SQL databases behind a REST/GraphQL API. When the database backend is PostgreSQL with the PostGIS geospatial extension enabled, Directus supports geometry field types during collection schema creation. The vulnerability (CWE-89 - Improper Neutralization of Special Elements used in an SQL Command) arises because the collection creation flow parses the fields[].type value and, when the value begins with the string 'geometry', uses the remainder of that string to construct a PostGIS column definition without adequate sanitization or parameterization. This allows an attacker to append raw SQL beyond the expected geometry subtype, which is then interpolated directly into a DDL or DML statement executed against PostgreSQL.

Know when Directus gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Fluid Attacks) PRIMARY 7.5 HIGH
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
vuln.today AI 6.6 MEDIUM

PostGIS must be installed and enabled on PostgreSQL (condition beyond attacker control → AC:H); Directus administrator credentials required → PR:H; full database confidentiality, integrity, and availability impact within unchanged scope.

3.1 AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (Fluid Attacks).

CVSS VectorVendor: Fluid Attacks

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A SQL injection vulnerability in Directus before v12.1.0 could allow compromised administrator accounts to directly access and manipulate production data in PostgreSQL databases. Organizations using Directus with PostgreSQL should prioritize upgrading and reviewing administrator credentials immediately, as this vulnerability represents a material insider risk. No public exploit identified at time of analysis.

Business Impact: High
Compensating Controls

Apply vendor patch. Interim mitigations: restrict and monitor administrator credentials closely, disable PostGIS extension on instances where geometry fields are not business-critical, implement real-time alerting on collection creation operations by administrators, and strengthen logging of all administrative actions.

Threat Intelligence Overview

EPSS Score
0.3%
Top 77% exploitable
Prevalence
Medium
popular open-source headless CMS with active enterprise and developer adoption
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2018-10723 CRITICAL POC
9.8 May 05

Directus 6.4.9 has a hardcoded admin password for the Admin account because of an INSERT statement in api/schema.sql. Ra

CVE-2025-55746 CRITICAL POC
9.3 Aug 20

Directus is a real-time API and App dashboard for managing SQL database content. Rated critical severity (CVSS 9.3), thi

CVE-2026-126539 CRITICAL POC
9.2 Nov 11

Directus instances that expose the WebSocket REST interface in public authentication mode can be driven into a state whe

CVE-2021-29641 HIGH POC
8.8 Apr 07

Directus 8 before 8.8.2 allows remote authenticated users to execute arbitrary code because file-upload permissions incl

CVE-2021-26594 HIGH POC
8.8 Feb 23

In Directus 8.x through 8.8.1, an attacker can switch to the administrator role (via the PATCH method) without any contr

CVE-2025-30353 HIGH POC
8.6 Mar 26

Directus is a real-time API and App dashboard for managing SQL database content. Rated high severity (CVSS 8.6), this vu

CVE-2024-27295 HIGH POC
8.2 Mar 01

Directus is a real-time API and App dashboard for managing SQL database content. Rated high severity (CVSS 8.2), this vu

CVE-2024-39701 HIGH POC
7.7 Jul 08

Directus is a real-time API and App dashboard for managing SQL database content. Rated high severity (CVSS 7.7), this vu

CVE-2024-54151 HIGH POC
7.5 Dec 09

Directus is a real-time API and App dashboard for managing SQL database content. Rated high severity (CVSS 7.5), this vu

CVE-2024-36128 HIGH POC
7.5 Jun 03

Directus is a real-time API and App dashboard for managing SQL database content. Rated high severity (CVSS 7.5), this vu

CVE-2023-26492 HIGH POC
7.5 Mar 03

Directus is a real-time API and App dashboard for managing SQL database content. Rated high severity (CVSS 7.5), this vu

CVE-2021-26593 HIGH POC
7.5 Feb 23

In Directus 8.x through 8.8.1, an attacker can see all users in the CMS using the API /users/{id}. Rated high severity (

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy