CVE-2026-108259Tina: Code injection via unescaped Git branch name in generated client source
Updated under an hour ago ()
Does this affect you?
It affects tinacms and 1 other product. Add what you run to find out whether that includes you.
EPSS puts the chance of exploitation in the next 30 days at 0.25%, higher than 16% of scored CVEs.
Do this next
Free account, 1 product
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.
- CVSS
- 8.2 HIGH (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
- Weakness (CWE)
- CWE-94
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- 0.25% (percentile 16)
- Assigned by
- GitHub_M
- NVD analysis
- Deferred
- Record last updated
- Oct 14, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
tinacms tinacms tinacms:tinacms (from the name) | before 3.0.0 | CNA record |
@tinacms cli tinacms:cli (from the name) | before 3.0.0 | CNA record |
References
- https://github.com/tinacms/tinacms/security/advisories/GHSA-pwhx-cvv3-qj5cx-refsource-confirm
- https://github.com/tinacms/tinacms/pull/7526x-refsource-misc
- https://github.com/tinacms/tinacms/commit/d030d414d39e15de79bf36e4c728d57205e71ddex-refsource-misc
- https://github.com/tinacms/tinacms/releases/tag/@tinacms/cli@3.0.0x-refsource-misc
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.