CVE-2026-108259
8.2 HIGHpublic exploit availablePublished 2026-10-09 · Updated 2026-10-14
AI risk analysis
- Summary
- A headless CMS system is vulnerable to code injection through Git branch names that contain quotes, allowing attackers to inject malicious JavaScript into generated API URLs during preview builds. This can lead to privilege escalation and access to sensitive deployment artifacts or environment credentials.
- Exploitability
- Exploitation requires a Git branch name with a quote character that terminates the string literal in the generated code, which is moderately difficult to achieve as it depends on the specific branch naming convention used by developers.
- Blast radius
- If exploited, attackers could gain access to deployment artifacts, environment credentials, and potentially make unauthorized network requests during preview builds, affecting the integrity of the content management system's deployment pipeline.
- Detection
- No reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Upgrade to version 3.0.0 or later to fix the code injection vulnerability in @tinacms/cli.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD description
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 vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
Weaknesses
CWE-94
Public exploit & PoC references
- https://github.com/tinacms/tinacms/commit/d030d414d39e15de79bf36e4c728d57205e71dde
- https://github.com/tinacms/tinacms/pull/7526
- https://github.com/tinacms/tinacms/releases/tag/@tinacms/[email protected]
- https://github.com/tinacms/tinacms/security/advisories/GHSA-pwhx-cvv3-qj5c
- https://github.com/tinacms/tinacms/security/advisories/GHSA-pwhx-cvv3-qj5c
All references
- https://github.com/tinacms/tinacms/commit/d030d414d39e15de79bf36e4c728d57205e71dde
- https://github.com/tinacms/tinacms/pull/7526
- https://github.com/tinacms/tinacms/releases/tag/@tinacms/[email protected]
- https://github.com/tinacms/tinacms/security/advisories/GHSA-pwhx-cvv3-qj5c
- https://github.com/tinacms/tinacms/security/advisories/GHSA-pwhx-cvv3-qj5c
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2026-102863
- HIGHCVE-2026-105865PoC
- HIGHCVE-2026-107914PoC
- HIGHCVE-2024-42002PoC
- HIGHCVE-2026-100856PoC
- HIGHCVE-2026-103071
- HIGHCVE-2026-103572
- CRITICALCVE-2026-105135PoC
Related by shared AI tags and CWE weakness class. Browse the full archive.