# CVE-2026-5597: Griptape-ai Griptape path traversal in ComputerTool

Source: https://junglewise.ai/threats/cve-2026-5597-griptape-ai-griptape-path-traversal-in-computertool  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-05. Updated: 2026-07-24  
License: CC BY 4.0 with a link back

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

A path traversal vulnerability exists in Griptape, a framework used for building AI-powered applications. By manipulating file name arguments, a remote attacker can potentially access or modify files outside of the intended directory. This could lead to unauthorized data access or disruption of the application's operations.

Technologies: [Griptape](https://junglewise.ai/threats/technologies/griptape). Vendors: [Griptape](https://junglewise.ai/threats/vendors/griptape).

## Quick answers

**Is CVE-2026-5597 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-5597 being exploited in the wild.

**How severe is CVE-2026-5597?** 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-5597?** 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-5597 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-5597?** 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 path traversal vulnerability (CWE-22) exists in griptape-ai griptape version 0.19.4 within the ComputerTool component, specifically in griptape/tools/computer/tool.py. The flaw stems from insufficient sanitization of the 'filename' argument, allowing an attacker to use directory traversal sequences (e.g., ../) to escape the intended directory. This attack can be launched remotely by an authenticated user. Successful exploitation allows for unauthorized reading, writing, or deletion of files on the host system, depending on the permissions of the application process. A public exploit has been reported, and the vendor has reportedly not responded to disclosure attempts.

## Affected products

- griptape-ai griptape 0.19.4

## Timeline

- 2026-04-05: disclosed: Initial disclosure date
- 2026-04-05: advisory: NVD and VulDB publication

## References

- [https://github.com/Ka7arotto/cve/blob/main/griptape/SaveCodeTool/computeTool.md](https://github.com/Ka7arotto/cve/blob/main/griptape/SaveCodeTool/computeTool.md)
- [https://vuldb.com/submit/784465](https://vuldb.com/submit/784465)
- [https://vuldb.com/vuln/355391](https://vuldb.com/vuln/355391)
- [https://vuldb.com/vuln/355391/cti](https://vuldb.com/vuln/355391/cti)

## Related threats

- [Griptape-ai Griptape SQL injection in SqlTool](https://junglewise.ai/threats/cve-2026-5596-griptape-ai-griptape-sql-injection-in-sqltool)
- [Griptape-ai Griptape path traversal in FileManagerTool](https://junglewise.ai/threats/cve-2026-5595-griptape-ai-griptape-path-traversal-in-filemanagertool)
