Vulnerability · Published Mar 12, 2026 · Assigned by GitHub_M

CVE-2026-28793Path Traversal Leading to Arbitrary File Read, Write and Delete in TinaCMS

High 8.4

In plain English

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

Severity (CVSS 3.1)8.4High
Exploit odds (30 days)0.2%top 88.0% 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.8, the TinaCMS CLI development server exposes media endpoints that are vulnerable to path traversal, allowing attackers to read and write arbitrary files on the filesystem outside the intended media directory. When running tinacms dev, the CLI starts a local HTTP server (default port 4001) exposing endpoints such as /media/list/*, /media/upload/*, and /media/*. These endpoints process user-controlled path segments using decodeURI() and path.join() without validating that the resolved path remains within the configured media directory. This vulnerability is fixed in 2.1.8.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@tinacms/cli2.1.8GHSA-2f24-mg4x-534q

Affected products (as reported)

VendorProductVersions
@tinacms cli < 2.1.8

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

References