← Back to search

CVE-2026-108259

8.2 HIGHpublic exploit available

Published 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.
code-injectioncmsbuild-processprivilege-escalation

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

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.