CRITICAL🇵🇱 Wersja polska

CVE-2026-28792

CVSS 9.6v3.1pub. 2026-03-12upd. 2026-03-13

Tina is a headless content management system. Prior to 2.1.8 , the TinaCMS CLI dev server combines a permissive CORS configuration (Access-Control-Allow-Origin: *) with the path traversal vulnerability (previously reported) to enable a browser-based drive-by attack. A remote attacker can enumerate the filesystem, write arbitrary files, and delete arbitrary files on developer's machines by simply tricking them into visiting a malicious website while tinacms dev is running. This vulnerability is fixed in 2.1.8.

🤖 AI Analysis
How it works

The TinaCMS CLI development server sets the CORS header with a wildcard value (Access-Control-Allow-Origin: *), allowing any website to send requests to the local server. Combined with the path traversal flaw (CWE-22), it is possible to escape the allowed working directory and gain access to arbitrary operating system files. The attacker prepares a malicious website that the victim visits in a browser — this website automatically sends requests to the locally running TinaCMS server and performs file operations without the user's knowledge. This type of attack is referred to as a drive-by attack.

Impact

An attacker can remotely read, write, and delete arbitrary files on a developer's computer, which may lead to theft of sensitive data (e.g., API keys, environment configurations), project takeover, or malicious code execution through file substitution.

Mitigation & patch

Update TinaCMS CLI to version 2.1.8 or newer, in which the vulnerability has been fixed. Until updating, it is recommended not to visit untrusted websites while the TinaCMS development server is running and to restrict access to the local server using firewall or operating system mechanisms.

Who is affected

TinaCMS CLI (package @tinacms/cli) in versions before 2.1.8 — affects developer machines running the development server with 'tinacms dev' command.

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
  • Ssw Tinacms\/cli

    APP
    Ssw
    < 2.1.8
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
Tags
Path Traversal
CWE
References

Related vulnerabilities

CVE-2026-34603HIGH7.1same product

Tina is a headless content management system. Prior to version 2.2.2, @tinacms/cli recently added lexical path...

CVE-2026-28791HIGH7.4same product

Tina is a headless content management system. Prior to 2.1.7, a path traversal vulnerability exists in the Tin...

CVE-2026-28793HIGH8.4same product

Tina is a headless content management system. Prior to 2.1.8, the TinaCMS CLI development server exposes media...

CVE-2025-68278HIGH7.3same product

Tina is a headless content management system. In tinacms prior to version 3.1.1, tinacms uses the gray-matter ...

CVE-2024-45391HIGH7.5same product

Tina is an open-source content management system (CMS). Sites building with Tina CMS's command line interface ...