Vulnerability · Published Mar 12, 2026 · Assigned by GitHub_M

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

High 7.4

In plain English

A high-severity path traversal in tinacms from tinacms. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.4High
Exploit odds (30 days)0.3%top 71.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
npmtinacms2.1.7GHSA-5hxf-c7j4-279c

Affected products (as reported)

VendorProductVersions
tinacms tinacms < 2.1.7

Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H

References