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-28792: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in @tinacms cli

0
Critical
VulnerabilityCVE-2026-28792cvecve-2026-28792cwe-22cwe-942
Published: Thu Mar 12 2026 (03/12/2026, 16:48:16 UTC)
Source: CVE Database V5
Vendor/Project: @tinacms
Product: cli

Description

CVE-2026-28792 is a critical path traversal vulnerability in the @tinacms CLI dev server prior to version 2. 1. 8. The vulnerability arises from a combination of a permissive CORS policy (Access-Control-Allow-Origin: *) and improper pathname limitation, allowing remote attackers to perform browser-based drive-by attacks. By tricking developers into visiting a malicious website while the tinacms dev server is running, attackers can enumerate, write, and delete arbitrary files on the developer's machine. This vulnerability affects versions before 2. 1. 8 and has a CVSS score of 9. 7, indicating critical severity. No known exploits are currently reported in the wild.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/20/2026, 02:30:45 UTC

Technical Analysis

CVE-2026-28792 is a critical security vulnerability identified in the @tinacms CLI development server component of TinaCMS, a headless content management system. The flaw is a path traversal vulnerability (CWE-22) combined with a permissive Cross-Origin Resource Sharing (CORS) configuration that allows any origin to interact with the dev server. Specifically, prior to version 2.1.8, the dev server does not properly restrict file pathnames, enabling attackers to traverse directories outside the intended scope. When combined with the Access-Control-Allow-Origin: * header, this allows a remote attacker to craft malicious web pages that, when visited by a developer running the vulnerable tinacms dev server, can enumerate the filesystem, write arbitrary files, and delete files on the developer's machine. This attack requires no authentication but does require user interaction (visiting a malicious website). The vulnerability impacts confidentiality, integrity, and availability of the developer's local environment, potentially leading to code tampering, data loss, or further compromise. The vulnerability has a CVSS v3.1 score of 9.7 (critical), reflecting its high impact and ease of exploitation. The issue was publicly disclosed on March 12, 2026, and fixed in version 2.1.8 of the @tinacms CLI. No known exploits have been reported in the wild yet, but the risk remains significant due to the nature of the vulnerability and the common use of TinaCMS in web development workflows.

Potential Impact

The impact of CVE-2026-28792 is severe for organizations and individual developers using TinaCMS CLI versions prior to 2.1.8. Attackers can remotely execute drive-by attacks that compromise the developer's local filesystem without requiring credentials, leading to unauthorized disclosure of sensitive source code and configuration files (confidentiality breach). They can also modify or delete files, potentially injecting malicious code or disrupting development workflows (integrity and availability impact). This can result in compromised software builds, introduction of backdoors, or loss of critical development data. Since the attack vector involves visiting a malicious website, social engineering risks increase. Organizations relying on TinaCMS for content management and development may face supply chain risks if compromised developer machines push malicious changes upstream. The vulnerability primarily affects development environments, but the consequences can cascade into production if compromised code is deployed. The broad CORS policy exacerbates the risk by allowing any website to interact with the vulnerable server, increasing the attack surface.

Mitigation Recommendations

To mitigate this vulnerability, organizations and developers should immediately upgrade the @tinacms CLI to version 2.1.8 or later, where the path traversal issue and CORS misconfiguration are fixed. Until upgrading is possible, restrict access to the tinacms dev server by binding it to localhost or using firewall rules to prevent external access. Avoid running the dev server on publicly accessible networks or untrusted environments. Educate developers about the risks of visiting untrusted websites while the dev server is running. Implement network segmentation to isolate development machines from the internet or untrusted networks. Use endpoint protection solutions to monitor and block suspicious file system activities. Review and audit development environments regularly for unauthorized file changes. Additionally, consider disabling or limiting CORS headers in development configurations to prevent cross-origin exploitation. Incorporate secure coding and dependency management practices to detect and respond to potential compromises quickly.

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: 69b30a4d2f860ef943dbc486

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

Last enriched: 3/20/2026, 2:30:45 AM

Last updated: 4/28/2026, 7:28:59 AM

Views: 86

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 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