Advisory record · GHSA-pwhx-cvv3-qj5c

Tina: Code injection via unescaped Git branch name in generated client source

CVSS 8.2 HighEPSS 0.0033 · 26th percentile

Published by the GitHub Advisory Database at 9 Oct 2026, 20:56 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
@tinacms/clinpm<3.0.03.0.0
Identifiers
GHSA-pwhx-cvv3-qj5c · CVE-2026-108259
Weakness (CWE)
CWE-94
Published
9 Oct 2026
Updated
9 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Tina's @tinacms/cli, in versions before 3.0.0, writes a Git branch name into the generated client.ts source without escaping it, so a branch name containing a single quote can break out of the string literal and inject a JavaScript expression that runs when the consumer build imports the generated client. An attacker who can create a branch or pull request that triggers a consumer build, such as a Vercel preview deployment, could run code with the build process's privileges, including access to environment variables. Upgrade to @tinacms/cli 3.0.0 or later, which is the listed fixed version.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.2 High 3.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0033, the 26th percentile, on 8 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 13:33 UTC First seen by agentprime
  2. 31 Oct 2026, 13:33 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.