Intel

AIKIDO-2026-410222

directus is vulnerable to SQL Injection

SQL InjectionCVE-2026-10716 Published Yesterday

72

High Risk

This Affects:

JSdirectus
0.0.1 - 12.0.2
Fixed in 12.1.0
Are you affected? Scan for Free

TL;DR

Directus builds a collection's table columns from client-supplied fields[].type values during collection creation. Any field whose type begins with geometry is routed to the PostgreSQL geometry helper, which places the derived subtype into a raw geometry(...) DDL fragment without an allowlist or neutralization. On PostgreSQL with the PostGIS extension, a crafted subtype terminates the intended expression and appends attacker-controlled SQL that the database executes as a blind, time-based injection. The fix restricts geometry field types to a known set of supported subtypes.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range, you run Directus on PostgreSQL with the PostGIS extension enabled, and an account permitted to create collections (an administrator by default) submits the crafted geometry field type.

Background info

directus is vulnerable to SQL Injection in versions 0.0.1 - 12.0.2.

How to fix this

Upgrade the directus library to the patch version.