SCA: security update for @tinacms/graphql (GHSA-2238-xc5r-v9hj)

medium Tenable Cloud Security Plugin ID 438682

Description

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

- Tina is a headless content management system. Prior to 2.1.2, TinaCMS allows users to create, update, and
delete content documents using relative file paths (relativePath, newRelativePath) via GraphQL mutations.
Under certain conditions, these paths are combined with the collection path using path.join() without
validating that the resolved path remains within the collection root directory. Because path.join() does
not prevent directory traversal, paths containing ../ sequences can escape the intended directory
boundary. This vulnerability is fixed in 2.1.2. (CVE-2026-24125)

Solution

Update the @tinacms/graphql library and its related packages to version 2.1.2 or later.

See Also

https://github.com/advisories/GHSA-2238-xc5r-v9hj

Plugin Details

Severity: Medium

ID: 438682

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 3/12/2026

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 2.8

Percentile: 22.6

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.1

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

CVSS Score Source: CVE-2026-24125

CVSS v3

Risk Factor: Medium

Base Score: 6.3

Temporal Score: 5.7

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/12/2026

Vulnerability Publication Date: 3/12/2026

Reference Information

CVE: CVE-2026-24125

cwe: CWE-22