CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-29066

CVE-2026-29066: Arbitrary File Read in TinaCMS CLI via Permissive Vite Configuration

Alon Barad
Alon Barad
Software Engineer

Mar 12, 2026·6 min read·72 visits

Executive Summary (TL;DR)

TinaCMS CLI versions prior to 2.1.8 explicitly disable Vite's strict filesystem checks, enabling an unauthenticated arbitrary file read vulnerability via the development server's /@fs/ endpoint.

The @tinacms/cli package prior to version 2.1.8 contains a medium-severity vulnerability that allows unauthenticated local or adjacent attackers to read arbitrary files from the host filesystem. This occurs due to an insecure Vite development server configuration that explicitly disables filesystem strict boundaries.

Vulnerability Overview

The @tinacms/cli package provides a command-line interface and development server for managing headless content in TinaCMS projects. Under the hood, this development environment utilizes Vite, a popular frontend tooling mechanism that handles asset serving and module resolution. A critical part of Vite's security model involves restricting the files it serves to the immediate project root, preventing unauthorized access to sensitive system files.

In versions of @tinacms/cli prior to 2.1.8, the configuration explicitly overrides this security mechanism. The vulnerability, tracked as CVE-2026-29066, manifests when the CLI initializes the Vite development server with the server.fs.strict option set to false. This configuration flaw exposes the underlying host's entire filesystem to unauthenticated read access.

By exploiting this misconfiguration, an attacker with network reachability to the development server port can extract sensitive data from the developer's machine. This includes environment variables, SSH keys, and cloud provider credentials stored outside the project workspace. The vulnerability represents a classic instance of CWE-552: Files or Directories Accessible to External Parties.

Root Cause Analysis

Vite incorporates a dedicated middleware known as @fs to serve files that reside outside the immediate project root. This feature exists primarily to support monorepo architectures where imported modules may exist in adjacent workspace directories. To secure this functionality, Vite defaults to server.fs.strict: true, which restricts the @fs middleware to a predefined list of allowed workspace directories.

The root cause of CVE-2026-29066 is the deliberate disabling of this strict mode within the TinaCMS CLI configuration. When @tinacms/cli instantiates the Vite server, it injects a configuration object containing the directive server.fs.strict: false. This setting disables the workspace boundary checks entirely, instructing the @fs middleware to serve any valid file path provided in the request URL.

When strict mode is disabled, the Vite server relies solely on the underlying operating system permissions of the running node process. Since development servers typically run under the context of the logged-in user, the server gains read access to the user's home directory, configuration files, and system-level configuration data. The application fails to validate whether the requested absolute path belongs to the expected project scope before returning the file content to the client.

Code Analysis

The vulnerability stems directly from the hardcoded configuration object passed to the Vite server instantiation. The vulnerable implementation explicitly disables the filesystem boundary check without implementing alternative path validation or access controls.

// Vulnerable Vite configuration in @tinacms/cli < 2.1.8
const serverConfig = {
  server: {
    port: 4001,
    fs: {
      strict: false // Disables the workspace boundary security feature
    }
  }
}

The remediation requires restoring the default security posture provided by the Vite framework. The patch implemented in version 2.1.8 removes the strict: false override, allowing Vite to enforce the workspace boundary and reject requests for files outside the allowed project directories.

// Patched Vite configuration in @tinacms/cli >= 2.1.8
const serverConfig = {
  server: {
    port: 4001,
    fs: {
      strict: true // Restores the workspace boundary security feature
    }
  }
}

By enforcing strict mode, Vite automatically denies requests to absolute paths that attempt to traverse outside the defined workspace root. If a developer requires access to specific external directories for legitimate workflow reasons, the server.fs.allow array must be used to explicitly whitelist those paths instead of disabling the restriction globally.

Exploitation Methodology

Exploitation of CVE-2026-29066 requires unauthenticated access to the port hosting the TinaCMS development server, which defaults to 4001. The attacker must construct an HTTP GET request utilizing the /@fs/ route prefix followed by the absolute path of the targeted file.

On Unix-based operating systems, an attacker can extract system-level user information by requesting /etc/passwd. The following curl command demonstrates the proof-of-concept payload required to achieve this file read:

# Extract the system password file on Linux/macOS
curl http://localhost:4001/@fs/etc/passwd

The exploit methodology is identical on Windows environments, modifying only the absolute file path to match Windows drive letter conventions. An attacker targeting a Windows developer machine can read the win.ini file using the following request:

# Extract system configuration on Windows
curl http://localhost:4001/@fs/C:/Windows/win.ini

While the CVSS vector designates the Attack Vector as Local (AV:L), real-world exploitation frequently occurs over the network. If the developer binds the server to 0.0.0.0 or operates on an untrusted local area network, any adjacent device can exploit the flaw. Furthermore, if a developer browses a malicious website while the dev server runs locally, an attacker can execute the file read via a DNS rebinding attack or cross-origin requests.

Impact Assessment

The impact of this vulnerability is isolated to the Confidentiality metric, resulting in a High severity rating for information disclosure. The Integrity and Availability of the system remain unaffected because the @fs middleware only provides read access. The vulnerability strictly maps to CWE-200, representing the exposure of sensitive information to unauthorized actors.

In a typical development environment, the consequences of arbitrary file read are severe due to the presence of unencrypted secrets. An attacker exploiting this flaw will prioritize extracting .env files located in the user's home directory or adjacent project folders. These files frequently contain database connection strings, API tokens, and cryptographic signing keys.

Beyond project-specific secrets, the vulnerability exposes global developer credentials. An attacker can request well-known paths such as ~/.aws/credentials, ~/.ssh/id_rsa, or ~/.kube/config. The successful extraction of these assets facilitates lateral movement into cloud environments, remote source code repositories, and production infrastructure.

Remediation and Mitigation

The primary remediation for CVE-2026-29066 is updating the @tinacms/cli package to version 2.1.8 or later. This update restores the Vite development server's strict filesystem boundary checks. Developers should execute their respective package manager update commands to apply the patch.

If immediate patching is not technically feasible, developers must implement network-level mitigations. Ensure the development server strictly binds to the loopback interface (127.0.0.1 or localhost) rather than all network interfaces (0.0.0.0). This configuration prevents adjacent network devices from establishing a connection to the vulnerable port.

Security teams should audit the usage of @tinacms/cli within continuous integration pipelines and shared development servers. If the vulnerable server was historically exposed to a shared or untrusted network, organizations must proactively rotate all credentials, API keys, and access tokens stored on the affected host.

Technical Appendix

CVSS Score
6.2/ 10
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected Systems

TinaCMS CLI (< 2.1.8)Vite Development Server (Embedded via TinaCMS)

Affected Versions Detail

Product
Affected Versions
Fixed Version
@tinacms/cli
TinaCMS
< 2.1.82.1.8
AttributeDetail
CWE IDCWE-552 / CWE-200
Attack VectorLocal / Adjacent Network
CVSS Score6.2
ImpactHigh Confidentiality (Arbitrary File Read)
Exploit StatusProof of Concept (PoC) Available
KEV StatusNot Listed

MITRE ATT&CK Mapping

T1005Data from Local System
Collection
T1552Unsecured Credentials
Credential Access
CWE-552
Files or Directories Accessible to External Parties

The software explicitly disables access restrictions, allowing an unauthorized actor to access sensitive files outside the intended web root.

Vulnerability Timeline

Vulnerability Published
2026-03-12
Vulnerability Last Modified
2026-03-12

References & Sources

  • [1]NVD Record for CVE-2026-29066
  • [2]GitHub Security Advisory GHSA-m48g-4wr2-j2h6
  • [3]CVE.org Record for CVE-2026-29066

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•25 minutes ago•CVE-2026-118748
7.5

CVE-2026-118748: Unbounded Memory Allocation Denial of Service in ASP.NET Core Blazor Static-SSR

CVE-2026-118748 is a remote Denial of Service (DoS) vulnerability in Microsoft ASP.NET Core (.NET 11.0 preview releases prior to 11.0.0) and Microsoft Visual Studio 2026 (prior to 18.12.0). The flaw originates from unbounded resource allocation (CWE-770) within the Blazor static server-side rendering (static-SSR) validation pipeline, where dynamic or attacker-supplied form field identifiers are cached in a singleton-scoped memory structure without size limits or eviction policies. Unauthenticated remote attackers can exploit this condition over the network by sending repeated HTTP requests with unique field names, exhausting heap memory and terminating the host process via an unhandled OutOfMemoryException.

Alon Barad
Alon Barad
1 views•9 min read
•about 1 hour ago•CVE-2026-114150
5.9

CVE-2026-114150: Remote Information Disclosure via Uninitialized Pooled Memory in ASP.NET Core Response Buffering

CVE-2026-114150 is a network-accessible information disclosure vulnerability affecting Microsoft ASP.NET Core in .NET 11.0 preview releases and Microsoft Visual Studio 2026 prior to version 18.12.0. The flaw stems from the use of uninitialized resources (CWE-908) within response buffering components, specifically ResponseBufferingStream used by middleware such as HTTP Logging and Output Caching. Because rented memory segments from ArrayPool<byte> or MemoryPool<byte> are not cleared upon return or strictly bounded to the exact written byte count during subsequent reads, residual response payloads from earlier HTTP requests remain in the buffer tail. Downstream consumers or log sinks reading these buffers expose confidential cross-session data, including authentication tokens and personally identifiable information.

Amit Schendel
Amit Schendel
2 views•11 min read
•about 2 hours ago•CVE-2026-114146
9.0

CVE-2026-114146: Elevation of Privilege in ASP.NET Core SignalR Connection Dispatcher

An incorrect authorization vulnerability (CWE-863) exists in the ASP.NET Core SignalR HTTP Connection Dispatcher (`Microsoft.AspNetCore.Http.Connections`). The connection negotiation process failed to bind the authenticated caller identity to the generated connection state, and subsequent transport or message dispatch handlers failed to verify caller consistency. Consequently, an authenticated low-privilege attacker who obtains a valid connection identifier or token can inject messages into or hijack another user's SignalR session, achieving an elevation of privilege across security boundaries.

Alon Barad
Alon Barad
5 views•11 min read
•about 3 hours ago•CVE-2026-109478
7.5

CVE-2026-109478: Algorithmic Complexity Denial of Service in ASP.NET Core Header Parsing

CVE-2026-109478 is a network-accessible Denial of Service (DoS) vulnerability in ASP.NET Core caused by inefficient algorithmic complexity (CWE-407) when parsing comma-separated HTTP request headers. Prior to the patch, the internal helper method ParsingHelpers.GetHeaderSplit repeatedly called StringValues.Concat inside a loop iterating over each comma-separated token. Because StringValues allocates a new array of size k + 1 and copies all existing elements upon each concatenation, processing N tokens incurs O(N^2) time and space complexity. An unauthenticated remote attacker can send HTTP requests with headers containing thousands of short, comma-separated values to exhaust CPU cycles and induce severe Garbage Collection (GC) pauses, rendering the web application unresponsive.

Alon Barad
Alon Barad
6 views•11 min read
•about 4 hours ago•CVE-2026-114147
7.5

CVE-2026-114147: Denial of Service via Memory Leak in ASP.NET Core SignalR Redis Backplane

CVE-2026-114147 is a high-severity Denial of Service (DoS) vulnerability affecting ASP.NET Core and specifically the Microsoft.AspNetCore.SignalR.StackExchangeRedis scale-out provider across .NET 8.0, 9.0, 10.0, and 11.0 preview releases. The vulnerability originates from a string comparison mismatch between internal per-connection group collections and the centralized Redis channel subscription registry, compounded by a race condition during connection teardown. Remote unauthenticated attackers can exploit this flaw to leave orphaned connection contexts and active Redis pub/sub listeners pinned in memory, leading to unbounded memory exhaustion and application process termination.

Amit Schendel
Amit Schendel
3 views•10 min read
•about 5 hours ago•CVE-2026-114156
6.5

CVE-2026-114156: Path Equivalence Security Feature Bypass in Microsoft ASP.NET Core

CVE-2026-114156 is an improper resolution of path equivalence vulnerability (CWE-41) in Microsoft ASP.NET Core affecting .NET 11.0 preview releases and Microsoft Visual Studio 2026. The vulnerability stems from a discrepancy between how path prefix validation helpers (such as PathString.StartsWithSegments) and downstream routing mechanisms handle alternate path separators and percent-encoded characters. An unauthenticated remote attacker can exploit this mismatch over the network to bypass path-based authorization middleware and access restricted endpoints.

Amit Schendel
Amit Schendel
5 views•8 min read