CVE-2026-54074
Tina is a headless content management system. @tinacms/cli versions …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/tinacms/tinacms/security/advisories/GHSA-4936-9hrh-qqpw
- github.com/tinacms/tinacms/pull/7006
- github.com/tinacms/tinacms/commit/77665ae73dd4f9563d339535e76fa811a8abdfbb
- github.com/tinacms/tinacms/releases/tag/@tinacms/[email protected]
- github.com/advisories/GHSA-4936-9hrh-qqpw
- nvd.nist.gov/vuln/detail/CVE-2026-54074
- cve.org/CVERecord?id=CVE-2026-54074
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.