Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @tinacms/cli
  4. ›
  5. CVE-2026-108259

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

October 9, 2026

@tinacms/cli inserts the raw Git branch value into the generated client.ts source without escaping or encoding. A Git-valid branch name can close the string literal and inject an arbitrary JavaScript expression that executes when the consumer build imports the generated client module.

References

  • github.com/advisories/GHSA-pwhx-cvv3-qj5c
  • github.com/tinacms/tinacms/commit/d030d414d39e15de79bf36e4c728d57205e71dde
  • github.com/tinacms/tinacms/pull/7526
  • github.com/tinacms/tinacms/releases/tag/@tinacms/cli@3.0.0
  • github.com/tinacms/tinacms/security/advisories/GHSA-pwhx-cvv3-qj5c
  • nvd.nist.gov/vuln/detail/CVE-2026-108259

Code Behaviors & Features

Detect and mitigate CVE-2026-108259 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.0.0

Fixed versions

  • 3.0.0

Solution

Upgrade to version 3.0.0 or above.

Impact 8.2 HIGH

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/@tinacms/cli/CVE-2026-108259.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 11 Oct 2026 00:18:52 +0000.