CVE-2026-29066: TinaCMS CLI Arbitrary File Read Vulnerability
Summary
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 ↓
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.
No signup required · Results in about 60 seconds
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 →
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.
References
Related vulnerabilities
Recent vulnerabilities recorded for @tinacms/cli.