Skip to content

CVE-2026-24125 Path Traversal in @tinacms/graphql

MediumCVSS 6.3 EPSS 0.50%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

Description

Tina is a headless content management system. Prior to 2.1.2, TinaCMS allows users to create, update, and delete content documents using relative file paths (relativePath, newRelativePath) via GraphQL mutations. Under certain conditions, these paths are combined with the collection path using path.join() without validating that the resolved path remains within the collection root directory. Because path.join() does not prevent directory traversal, paths containing ../ sequences can escape the intended directory boundary. This vulnerability is fixed in 2.1.2.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
ssw tinacmsgraphql < 2.1.2 2.1.2 Fixed
tinacms graphql(npm) < 2.1.2; <= 2.1.1 2.1.2 Fixed
tinacms graphql = < 2.1.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
tinacms graphql = < 2.1.2 No fix listed
tinacms graphql(npm) <= 2.1.1 No fix listed
ssw tinacmsgraphql < 2.1.2 2.1.2
tinacms graphql(npm) < 2.1.2 2.1.2

References