CVE-2026-29066: TinaCMS CLI Arbitrary File Read Vulnerability

@tinacms/cli Updated 14 Mar 2026

Summary

12/03/2026
Yes i
Moderate
6.2

CVE-2026-29066: TinaCMS CLI has Arbitrary File Read via Disabled Vite Filesystem Restriction. Affects @tinacms/cli versions < 2.1.8. Fixed in 2.1.8. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

TinaCMS is an open-source content management system that provides developers with the tools to create and manage content-rich applications. The TinaCMS CLI is a command-line interface that allows developers to run a local development server for testing and building applications. However, a misconfiguration in the Vite server settings exposes the system to security risks, allowing unauthorized file access.

Vulnerability Detail

The vulnerability arises from the TinaCMS CLI dev server's configuration, which sets Vite's filesystem access restriction to false. This allows unauthenticated attackers to read arbitrary files on the host system if they can access the dev server. The server's permissive CORS policy further exacerbates the risk, enabling potential browser-based attacks. Attackers can exploit this vulnerability to access sensitive files such as /etc/passwd, SSH keys, and environment variables, posing a significant security threat to developers and their systems.

How To Fix

Latest published version: 4.0.3 as of 22 Oct 2026

npm install @tinacms/cli@4.0.3

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.1.8

This is the first release that contains the fix.

npm install @tinacms/cli@2.1.8

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can configure the Vite server to enforce strict filesystem access by modifying the server settings in your configuration file. Ensure that the 'fs.strict' option is set to true to prevent unauthorized file access.

Conclusion

The CVE-2026-29066 vulnerability in the TinaCMS CLI poses a significant risk due to its arbitrary file read capability. Developers should promptly update to the patched version to secure their systems and prevent unauthorized access to sensitive information.

See every vulnerability recorded for @tinacms/cli →

Share this vulnerability

FAQ

CVE-2026-29066 is a vulnerability in the TinaCMS CLI that allows unauthorized file access due to misconfigured Vite server settings.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The risks include unauthorized access to sensitive files, exposure of environment variables, and potential exploitation through DNS rebinding attacks.

You can update the TinaCMS CLI package by running the command: npm install @tinacms/cli@2.1.8 in your terminal.

The CVSS score of this vulnerability is 6.2, indicating a moderate level of risk.

Related vulnerabilities

Recent vulnerabilities recorded for @tinacms/cli.

How To Fix

Latest published version: 4.0.3 as of 22 Oct 2026

npm install @tinacms/cli@4.0.3

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.1.8

This is the first release that contains the fix.

npm install @tinacms/cli@2.1.8

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback