CVE-2026-5596: Griptape-ai Griptape SQL injection in SqlTool

CVE-2026-5596 · Severity: medium · CVSS 6.3 · Published 2026-04-05

A security vulnerability has been identified in Griptape, a framework used for building AI applications with Large Language Models (LLMs). The flaw exists in the SQL tool component, which allows AI agents to interact with databases. If exploited, a remote attacker could perform unauthorized database queries, potentially leading to the exposure or modification of sensitive business data.

Technologies: Griptape. Vendors: Griptape.

Quick answers

Is CVE-2026-5596 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-5596 being exploited in the wild.
How severe is CVE-2026-5596?
Medium severity, with a CVSS score of 6.3, published 5 April 2026.
Which products and versions are affected?
Griptape 0.19.4.
Is there a fix for CVE-2026-5596?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-5596 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-5596?
Check whether you run Griptape at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A SQL injection vulnerability exists in griptape-ai griptape version 0.19.4 within the SqlTool component, specifically located in 'griptape/tools/sql/tool.py'. The vulnerability stems from improper neutralization of special elements used in SQL commands (CWE-89). A remote attacker with low privileges can exploit this by providing manipulated input that alters the intended SQL logic. This can lead to unauthorized data access, modification, or deletion within the connected database. A public exploit (PoC) is reportedly available, and the vendor has not yet provided a patch or official response.

Affected products

  • griptape-ai griptape 0.19.4

Timeline

  • 2026-04-05: disclosed: Vulnerability disclosed and exploit made public.
  • 2026-04-05: advisory: Initial advisory published by VulDB.

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.