๐Ÿ” CVE Alert

CVE-2026-54074

HIGH 7.8

@tinacms/cli: Remote Code Execution via Forestry migration โ€” unsanitised __TINA_INTERNAL__ marker in user-controlled YAML labels

CVSS Score
7.8
EPSS Score
0.2%
EPSS Percentile
7th

Tina is a headless content management system. @tinacms/cli versions prior to 2.4.3 contain a Remote Code Execution vulnerability in the Forestry-to-Tina migration command. The internal helper addVariablesToCode unquotes any value matching the marker "__TINA_INTERNAL__:::(.*?):::" inside the stringified collection JSON. User-supplied label and name fields from .forestry/**/*.yml are placed into that JSON without any sanitisation. An attacker who controls a Forestry-style project can therefore inject arbitrary JavaScript into the generated tina/templates.{ts,js} file. The injected code is written at module top level, so it executes the moment the developer runs tinacms dev or tinacms build, with the developer's privileges. This issue has been fixed in version 2.4.3.

CWE CWE-94
Vendor tinacms
Product tinacms
Published Jul 1, 2026
Last Updated Jul 2, 2026
Stay Ahead of the Next One

Get instant alerts for tinacms tinacms

Be the first to know when new high vulnerabilities affecting tinacms tinacms are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

tinacms / tinacms
< 2.4.3

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/tinacms/tinacms/security/advisories/GHSA-4936-9hrh-qqpw