Remote Code Execution Vulnerability in Tina CMS by TinaCMS
CVE-2026-54074

7.8HIGH

Key Information:

Vendor

Tinacms

Status
Vendor
CVE Published:
1 July 2026

What is CVE-2026-54074?

Tina CMS, a headless content management system, has a vulnerability in its CLI tool affecting versions prior to 2.4.3. This flaw exists within the Forestry-to-Tina migration command, where user-supplied data that is inserted into a stringified JSON lacks proper sanitization. The internal method 'addVariablesToCode' fails to validate inputs containing the 'TINA_INTERNAL:::(.*?):::' marker, allowing attackers with control over a Forestry-style project to inject malicious JavaScript into the generated code files. When a developer executes 'tinacms dev' or 'tinacms build', this injected code runs with the developer’s privileges, leading to potential exploitation of the environment. The problem has been rectified in version 2.4.3.

Affected Version(s)

tinacms < 2.4.3

References

CVSS V3.1

Score:
7.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.