{"id":"CVE-2026-108259","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-108259","generatedAt":"2026-10-28T11:32:47.632Z","title":"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.","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.","published":"2026-10-09T21:17:04.000Z","lastModified":"2026-10-16T20:04:30.000Z","status":"Deferred","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"3.1","score":8.2,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N"},"cwe":["CWE-94"],"affected":[],"epss":{"score":0.00332,"percentile":0.26195,"date":"2026-10-27","history":[{"date":"2026-10-10","score":0.00252,"percentile":0.15363}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (0.33%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[{"kind":"new","label":"New CVE","at":"2026-10-09T21:17:04.000Z","detail":{"score":"8.2","severity":"HIGH","publishedAt":"2026-10-09T21:17:04.017Z"},"summary":"New CVE, high severity (CVSS 8.2)."}],"references":[{"url":"https://github.com/tinacms/tinacms/commit/d030d414d39e15de79bf36e4c728d57205e71dde","source":"security-advisories@github.com"},{"url":"https://github.com/tinacms/tinacms/pull/7526","source":"security-advisories@github.com"},{"url":"https://github.com/tinacms/tinacms/releases/tag/@tinacms/cli@3.0.0","source":"security-advisories@github.com"},{"url":"https://github.com/tinacms/tinacms/security/advisories/GHSA-pwhx-cvv3-qj5c","source":"security-advisories@github.com"},{"url":"https://github.com/tinacms/tinacms/security/advisories/GHSA-pwhx-cvv3-qj5c","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-108259","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}