SCA: security update for @tinacms/cli (GHSA-4936-9hrh-qqpw)

high Tenable Cloud Security Plugin ID 443619

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-54074)

Solution

Update the @tinacms/cli library and its related packages to version 2.4.3 or later.

See Also

https://github.com/advisories/GHSA-4936-9hrh-qqpw

Plugin Details

Severity: High

ID: 443619

Version: Revision 1.3

Type: Local

Family: SCA Checks

Published: 6/20/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.96

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.3

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2026-54074

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/19/2026

Vulnerability Publication Date: 6/19/2026

Reference Information

CVE: CVE-2026-54074

cwe: CWE-94