Intel

AIKIDO-2026-10282

@tinacms/cli is vulnerable to Path Traversal

Path TraversalGHSA-5hxf-c7j4-279c Published Mar 4, 2026

70

High Risk

This Affects:

JS@tinacms/cli
1.0.0 - 2.1.6
Fixed in 2.1.7
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to a path traversal vulnerability that allowed directory escape via CLI media and filesystem operations due to insufficient validation of resolved paths against a trusted base directory. An attacker could exploit this by supplying crafted file paths (including percent-encoded traversal payloads such as ..%2f..%2f) to media upload, delete, list, or filesystem get/put/glob routes, potentially reading, overwriting, or deleting arbitrary files outside the intended project scope, leading to unauthorized data exposure or integrity compromise.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

@tinacms/cli is vulnerable to Path Traversal in versions 1.0.0 - 2.1.6.

How to fix this

Upgrade the @tinacms/cli library to a patch version.