CVE-2026-108259 json
Tina: Code injection via unescaped Git branch name in generated client source
published last mo. modified 24d ago also EUVD-2026-95987 , GHSA-pwhx-cvv3-qj5c
- cvss
- 8.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 26%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm @tinacms/cli 3.0.0
- tinacms cli 3.0.0
- ssw tinacms/cli 3.0.0
- tina @tinacms/cli 3.0.0
Is CVE-2026-108259 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 27d ago
Exploit prediction
0.33% chance of exploitation in the next 30 days, higher than 26% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/tinacms/tinacms/security/advisories/GHSA-pwhx-cvv3-qj5c referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N |
| GitHub | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @tinacms/cli | <3.0.0 |
3.0.0 |
Affected products
- tinacms tinacms
- @tinacms cli
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
github.com
/tinacms/tinacms/pull/7526
web
-
github.com
/tinacms/tinacms/commit/d030d414d39e15de79bf36e4c728d57205e71dde
web
-
github.com
/tinacms/tinacms/security/advisories/GHSA-pwhx-cvv3-qj5c
exploit, web
-
github.com
/tinacms/tinacms/releases/tag/@tinacms/cli@3.0.0
web
-
github.com
/tinacms/tinacms
package
Sources
- CVE List CVE-2026-108259
- GitHub Advisory GHSA-pwhx-cvv3-qj5c
- NVD CVE-2026-108259
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.