{"id":"CVE-2026-87936","aliases":["CVE-2026-87936","DRUPAL-CONTRIB-2026-134"],"related":[],"kind":"vulnerability","state":"published","title":"amazee.ai Private AI Provider - Critical - SQL injection - SA-CONTRIB-2026-134","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"**Update 2026-09-11:** Increased risk score to reflect publicly documented methods for developing exploits.\n\nThis module integrates amazee.ai's AI services into Drupal, including a Postgres/pgvector vector database backend for use with Search API AI Search.\n\nThe module doesn't sufficiently sanitize filter values before using them to build SQL queries in its Postgres/pgvector backend, allowing SQL injection.\n\nThis 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.","format":"markdown","source":"drupal"}],"published":"2026-09-09T17:14:00.000Z","modified":"2026-10-22T18:17:31.253Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0","fixed":"1.3.7","status":"affected"},{"type":"semver","introduced":"1.4.0","fixed":"1.4.3","status":"affected"}],"vendor":"Drupal","product":"amazee.ai Private AI Provider","repo":"https://git.drupalcode.org/project/ai_provider_amazeeio","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.3.7"},{"type":"ecosystem","introduced":"1.4.0","status":"affected","fixed":"1.4.3"}],"ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/ai_provider_amazeeio","purl":"pkg:composer/drupal/ai_provider_amazeeio?repository_url=https:%2F%2Fpackages.drupal.org%2F8","source":"drupal"}],"references":[{"url":"https://www.drupal.org/sa-contrib-2026-134","tags":["web"],"sources":["cvelist","drupal","nvd"]}],"credits":["Matan Kotick (matank001)","Dan Lemon (dan2k3k4)","Dimitris Spachos (dspachos)","Bram Driesen (bramdriesen)","Juraj Nemec (poker10)","Jess  (xjm)","Swan Kalata (akalata)"],"assigner":"drupal","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-22T17:18:53.248Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-87936","url":"https://www.cve.org/CVERecord?id=CVE-2026-87936","licence":"CVE Terms of Use","modified":"2026-10-22T17:18:56.762Z"},{"source":"drupal","name":"Drupal Security Team","id":"DRUPAL-CONTRIB-2026-134","url":"https://osv.dev/vulnerability/DRUPAL-CONTRIB-2026-134","licence":"MIT","modified":"2026-09-16T21:30:03.257Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-87936","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-87936","licence":"Public domain","modified":"2026-10-22T18:17:31.253Z"}],"updatedAt":"2026-11-25T22:59:46.735Z","epss":{"score":0.00273,"percentile":0.21066,"date":"2026-12-01T12:00:22.000Z"}}