CVE-2026-108259

High

Description

Tina is a headless content management system. Prior to 3.0.0, @tinacms/cli reads Git branch values from VERCEL_GIT_COMMIT_REF, GITHUB_BRANCH, or HEAD, incorporates the raw value into the API URL, and interpolates that URL into JavaScript string literals in 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 expression that executes when the generated client module is imported during a preview build. The injected code runs with the build process privileges and can read environment credentials, modify deployment artifacts, or make network requests. This issue is fixed in version 3.0.0.

SeverityHigh
CVSS8.2
Exploit probability—
Product@tinacms/cli
PublishedOct 9, 2026
First seenOct 9, 2026

How to fix

Update
  • @tinacms/cli3.0.0 or later

Affected products

ProductAffected versionsFixed in
@tinacms/clinpmv < 3.0.03.0.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-108259 · @tinacms/cli · Dark Radar