Skip to content
OpenAdvisories
Medium · 6.3 CVE-2026-24125 EUVD-2026-11601GHSA-2238-xc5r-v9hj

Path Traversal in @tinacms/graphql

Published Mar 12, 2026 · Updated Mar 12, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
@tinacms graphql < 2.1.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @tinacms/graphql < 2.1.2 2.1.2 GHSA-2238-xc5r-v9hj

References