CVE-2026-87936
JSON

6.5medium

amazee.ai Private AI Provider - Critical - SQL injection - SA-CONTRIB-2026-134

Severity
6.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.27% (higher than 21% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
drupal
Also known as
DRUPAL-CONTRIB-2026-134

Description

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Drupal amazee.ai Private AI Provider allows SQL Injection. This issue affects amazee.ai Private AI Provider versions: from 0.0.0 to 1.3.7, from 1.4.0 to 1.4.3.

Affected

Product or packageVersionsReported by
Drupal amazee.ai Private AI Providerfrom 0.0.0 before 1.3.7, from 1.4.0 before 1.4.3CVE List
drupal/ai_provider_amazeeio (Packagist:https://packages.drupal.org/8)before 1.3.7, from 1.4.0 before 1.4.3Drupal Security Team

Classification

CWE-89

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Drupal amazee.ai Private AI Provider allows SQL Injection. This issue affects amazee.ai Private AI Provider versions: from 0.0.0 to 1.3.7, from 1.4.0 to 1.4.3.

Drupal Security Team

Update 2026-09-11: Increased risk score to reflect publicly documented methods for developing exploits.

This module integrates amazee.ai's AI services into Drupal, including a Postgres/pgvector vector database backend for use with Search API AI Search.

The module doesn't sufficiently sanitize filter values before using them to build SQL queries in its Postgres/pgvector backend, allowing SQL injection.

This vulnerability is mitigated by the fact that a site must be using the module's Postgres/pgvector vector database backend for a Search API AI Search index, and must expose one of that index's non-string fields as a filter (for example, through a View) that is reachable by the attacker.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-87936 changed 2026-10-22CVE Terms of Use
Drupal Security TeamDRUPAL-CONTRIB-2026-134 changed 2026-09-16MIT
NVDCVE-2026-87936 changed 2026-10-22Public domain