Skip to main content
VulnerabilityPublished

CVE-2026-108259: Tina · Code injection via unescaped Git branch name in generated client source

Affects @tinacms/cliSource GCVE Database

0
Compare

Not known to be exploited · CVSS 8.2 High : upgrade to 3.0.0 soon.

Data as of 22 Nov 2026, 21:14 UTC

CVSS 3.1 base score
8.2High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 26% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.0.0
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 22 Nov 2026.

What to do

Upgrade @tinacms/cli to 3.0.0.

Affected software

ProductAffectedFixed in
npm@tinacms/cliAffected
  • <3.0.0
Fixed in
  • 3.0.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available for @tinacms/cli to address this vulnerability. The fix involves properly escaping or encoding the Git branch name before inserting it into generated source code, specifically by using JSON.stringify for serialization and encodeURIComponent for URL components. Users should upgrade to version 3.0.0 or later where this issue is resolved. Until patched, avoid using untrusted branch names in environments that trigger TinaCMS code generation during builds.

Description

A code injection vulnerability exists in @tinacms/cli prior to version 3.0.0 where unescaped Git branch names are directly interpolated into generated client source code. This allows an attacker controlling the branch name to inject arbitrary JavaScript expressions that execute during the consumer build process. The vulnerability arises because the branch name is inserted into a string literal without proper escaping or encoding. The impact includes arbitrary code execution with build process privileges, potentially exposing environment variables and enabling supply-chain compromise. A patch is available to fix this issue.

References

Community reviews

Loading reviews…