Skip to content

CVE-2026-28791 Path Traversal in Media Upload Handle in Tina

HighCVSS 7.4 EPSS 0.38%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
npm tinacms(npm) < 2.1.7 2.1.7 Fixed
ssw tinacmscli < 2.1.7 2.1.7 Fixed
tinacms = < 2.1.7 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
tinacms = < 2.1.7 No fix listed
npm tinacms(npm) < 2.1.7 2.1.7
ssw tinacmscli < 2.1.7 2.1.7

References