PT-2026-109314 · Npm · @Tinacms/Cli

CVE-2026-108259

·

Published

2026-10-09

·

Updated

2026-10-12

CVSS v3.1

8.2

High

VectorAV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions @tinacms/cli versions prior to 3.0.0
Description @tinacms/cli fails to properly escape or encode Git branch values read from VERCEL GIT COMMIT REF, GITHUB BRANCH, or HEAD. These raw values are incorporated into the API URL and interpolated into JavaScript string literals within packages/@tinacms/cli/src/next/codegen/index.ts and packages/@tinacms/cli/src/next/codegen/codegen/plugin.ts. A crafted Git-valid branch name containing a quote can terminate the generated string and inject an arbitrary JavaScript expression. This expression executes with the privileges of the build process when the generated client module is imported during a preview build, potentially allowing an attacker to read environment credentials, modify deployment artifacts, or make network requests.
Recommendations Update @tinacms/cli to version 3.0.0.

Exploit

Fix

Code Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-108259
GHSA-PWHX-CVV3-QJ5C

Affected Products

@Tinacms/Cli