CVE-2026-108259
HIGH 8.2Tina 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.
Severe if exploited (CVSS 8.2), but no known exploitation and low modeled probability. Patch on a normal cadence.
Exploitation likelihood
0.3%chance of exploitation in 30 days · 26th percentile
Impact if exploited
8.2CVSS 3.1 · HIGH
- ConfidentialityHigh
- IntegrityHigh
- AvailabilityNone
What an attacker needs
- ✓Access: Reachable over the network — no local access needed
- ⚠Privileges: Requires a low-privilege account
- ✓User interaction: No user interaction needed
- ⚠Complexity: Needs a race window or specific setup
✓ lowers the bar for an attacker · ⚠ raises it
Proof of concept
No public PoC is currently catalogued.
Search for new PoCs
Search GitHub now — results may be empty or unverified.
Tracked sources are checked daily for recent CVEs, including PoCs published after the original disclosure. A later release appears after a tracked source lists it and a refresh succeeds.
Data snapshot:
Weakness (CWE)
- CWE-94: : Improper Control of Generation of Code ('Code Injection')
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
References and research data (JSON)
Packages and version ranges
Each advisory describes its own package and affected ranges. A boundary applies to that range; it is not a universal upgrade recommendation.
@tinacms/cli npm
pkg:npm/%40tinacms/cli
SEMVER range- All earlier versions (introduced 0)
- Fixed boundary (excluded): 3.0.0
GitHub Advisory Database · GHSA-pwhx-cvv3-qj5c · Updated 2026-10-09T21:15:04.859057455ZAdditional upstream package constraints
{ "database": { "last_known_affected_version_range": "<= 2.7.0", "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-pwhx-cvv3-qj5c/GHSA-pwhx-cvv3-qj5c.json" } }
All CVSS metrics
- HIGH 8.2 v3.1 · CNA Primary
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N - HIGH 8.2 v3.1 · NVD Secondary
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
References
Exploit-tagged references (not proof of a PoC)
- https://github.com/tinacms/tinacms/security/advisories/GHSA-pwhx-cvv3-qj5c CVE record · GitHub_M · Updated 2026-10-09T20:37:19.094Z
CVE record · CISA-ADP · Updated 2026-10-14T02:12:59.336Z
NVD · CVE-2026-108259 · Updated 2026-10-16T20:04:29.760
GitHub Advisory Database · GHSA-pwhx-cvv3-qj5c
GitHub Advisory Database · GHSA-pwhx-cvv3-qj5c · Updated 2026-10-09T21:15:04.859057455Z
Advisories
- https://osv.dev/vulnerability/GHSA-pwhx-cvv3-qj5c GitHub Advisory Database · GHSA-pwhx-cvv3-qj5c
GitHub Advisory Database · GHSA-pwhx-cvv3-qj5c · Updated 2026-10-09T21:15:04.859057455Z - https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-95987 EUVD · EUVD-2026-95987
Technical & other
- https://github.com/tinacms/tinacms/pull/7526 CVE record · GitHub_M · Updated 2026-10-09T20:37:19.094Z
NVD · CVE-2026-108259 · Updated 2026-10-16T20:04:29.760
GitHub Advisory Database · GHSA-pwhx-cvv3-qj5c
GitHub Advisory Database · GHSA-pwhx-cvv3-qj5c · Updated 2026-10-09T21:15:04.859057455Z - https://github.com/tinacms/tinacms/commit/d030d414d39e15de79bf36e4c728d57205e71dde CVE record · GitHub_M · Updated 2026-10-09T20:37:19.094Z
NVD · CVE-2026-108259 · Updated 2026-10-16T20:04:29.760
GitHub Advisory Database · GHSA-pwhx-cvv3-qj5c
GitHub Advisory Database · GHSA-pwhx-cvv3-qj5c · Updated 2026-10-09T21:15:04.859057455Z - https://github.com/tinacms/tinacms/releases/tag/@tinacms/[email protected] CVE record · GitHub_M · Updated 2026-10-09T20:37:19.094Z
NVD · CVE-2026-108259 · Updated 2026-10-16T20:04:29.760
GitHub Advisory Database · GHSA-pwhx-cvv3-qj5c
GitHub Advisory Database · GHSA-pwhx-cvv3-qj5c · Updated 2026-10-09T21:15:04.859057455Z - https://github.com/tinacms/tinacms GitHub Advisory Database · GHSA-pwhx-cvv3-qj5c
GitHub Advisory Database · GHSA-pwhx-cvv3-qj5c · Updated 2026-10-09T21:15:04.859057455Z