Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-28793: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in @tinacms cli

0
High
VulnerabilityCVE-2026-28793cvecve-2026-28793cwe-22
Published: Thu Mar 12 2026 (03/12/2026, 16:50:20 UTC)
Source: CVE Database V5
Vendor/Project: @tinacms
Product: cli

Description

CVE-2026-28793 is a high-severity path traversal vulnerability in the @tinacms CLI development server prior to version 2. 1. 8. The vulnerability arises because the CLI's media endpoints improperly validate user-supplied path inputs, allowing attackers to read and write arbitrary files outside the intended media directory. This occurs when running the 'tinacms dev' command, which starts a local HTTP server exposing endpoints such as /media/list/* and /media/upload/*. The endpoints use decodeURI() and path. join() without ensuring the resolved path remains within the media directory, enabling directory traversal attacks. Exploitation requires local access to the development server (default port 4001) and no authentication or user interaction is needed. The vulnerability impacts confidentiality, integrity, and availability of the affected system. It is fixed in version 2.

AI-Powered Analysis

AILast updated: 03/12/2026, 18:49:54 UTC

Technical Analysis

CVE-2026-28793 is a path traversal vulnerability classified under CWE-22 affecting the @tinacms CLI development server versions prior to 2.1.8. TinaCMS is a headless content management system, and its CLI tool includes a development server that exposes media-related HTTP endpoints on the local machine, typically on port 4001. These endpoints (/media/list/*, /media/upload/*, /media/*) accept user-controlled path segments which are processed using JavaScript functions decodeURI() and path.join(). However, the implementation lacks proper validation to ensure that the resolved filesystem path remains confined within the designated media directory. This improper limitation allows an attacker with access to the development server to craft specially encoded path traversal sequences (e.g., ../) to escape the media directory and access arbitrary files on the host filesystem. The attacker can read sensitive files or write malicious files, potentially leading to full compromise of the development environment. The vulnerability does not require authentication or user interaction, but exploitation is limited to environments where the development server is accessible. The CVSS v3.1 base score is 8.4 (high), reflecting the ease of exploitation and the high impact on confidentiality, integrity, and availability. The issue was resolved in TinaCMS CLI version 2.1.8 by adding proper path validation to restrict file operations within the intended directory. No known exploits are reported in the wild as of the publication date.

Potential Impact

The vulnerability allows attackers to read and write arbitrary files on the filesystem hosting the TinaCMS CLI development server. This can lead to disclosure of sensitive information such as source code, configuration files, credentials, or other private data stored on the system. Writing arbitrary files can enable attackers to plant malicious scripts or binaries, potentially leading to further compromise of the development environment or pivoting to other systems. Since the development server often runs with the privileges of the developer, the impact can be significant, including loss of integrity and availability of critical files. Although the server is typically local and not exposed to the internet by default, misconfigurations or use in shared or cloud environments could increase exposure. Organizations relying on TinaCMS CLI for development risk intellectual property theft, disruption of development workflows, and potential escalation of privileges if exploited.

Mitigation Recommendations

Upgrade the TinaCMS CLI to version 2.1.8 or later, where the path traversal vulnerability is fixed by enforcing strict validation of file paths to ensure they remain within the media directory. Until upgrading, restrict access to the development server (default port 4001) using firewall rules or network segmentation to trusted users only. Avoid exposing the development server to untrusted networks or the internet. Developers should avoid running the CLI with elevated privileges and consider running it inside isolated environments such as containers or virtual machines to limit potential damage. Implement monitoring and logging of access to the development server endpoints to detect suspicious activity. Review and audit file system permissions to minimize the impact of any unauthorized file access or modification. Educate development teams about the risks of running development servers with exposed endpoints and encourage prompt patching of dependencies.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-03T14:25:19.245Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69b30a4f2f860ef943dbd353

Added to database: 3/12/2026, 6:47:43 PM

Last enriched: 3/12/2026, 6:49:54 PM

Last updated: 3/13/2026, 8:13:06 AM

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses