Skip to content
OpenAdvisories
High · 7.4 CVE-2026-28791 EUVD-2026-11609GHSA-5hxf-c7j4-279c

Path Traversal in Media Upload Handle in Tina

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

Description

Tina is a headless content management system. Prior to 2.1.7, a path traversal vulnerability exists in the TinaCMS development server's media upload handler. The code at media.ts joins user-controlled path segments using path.join() without validating that the resulting path stays within the intended media directory. This allows writing files to arbitrary locations on the filesystem. This vulnerability is fixed in 2.1.7.

Affected products

VendorProductAffectedFixed
tinacms tinacms < 2.1.7 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm tinacms < 2.1.7 2.1.7 GHSA-5hxf-c7j4-279c

References