# CVE-2026-63123: Tina: Cross-origin `POST /media/upload/*` requests can write arbitrary files into the Tina dev server media root

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-19T21:41:18.687Z
- Modified: 2026-10-26T10:10:00.140Z
- Also known as: GHSA-rgr9-r7mj-mf6x
- Weaknesses: CWE-352
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Tina is a headless content management system. Prior to 2.5.2, the TinaCMS CLI package's Vite dev server packages/@tinacms/cli/src/next/vite/cors.ts origin callback returns false for a disallowed origin but does not reject the request, and packages/@tinacms/cli/src/next/vite/plugins.ts still routes POST /media/upload/* to mediaRouter.handlePost. The upload code in packages/@tinacms/cli/src/next/commands/dev-command/server/media.ts writes attacker-controlled multipart contents inside the configured media root. A remote attacker can cause a developer's browser to submit this state-changing request by inducing the developer to visit an attacker-controlled page while tinacms dev is running. This issue is fixed in version 2.5.2.

(As written by CVE List.)

## Affected

- tinacms tinacms: < 2.5.2
- @tinacms/cli (npm): before 2.5.2

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`

## References

- <https://github.com/tinacms/tinacms/security/advisories/GHSA-rgr9-r7mj-mf6x> (exploit, web)
- <https://github.com/tinacms/tinacms/pull/7111> (web)
- <https://github.com/tinacms/tinacms/commit/211997cdb53cbd43638bdee999faa65375cfc260> (web)
- <https://github.com/tinacms/tinacms/releases/tag/@tinacms/cli@2.5.2> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-63123> (advisory)
- <https://github.com/tinacms/tinacms> (package)

## Sources

- CVE List: [CVE-2026-63123](https://www.cve.org/CVERecord?id=CVE-2026-63123), CVE Terms of Use, modified 2026-08-25
- GitHub Advisory Database: [GHSA-rgr9-r7mj-mf6x](https://github.com/advisories/GHSA-rgr9-r7mj-mf6x), CC-BY-4.0, modified 2026-08-21
- NVD: [CVE-2026-63123](https://nvd.nist.gov/vuln/detail/CVE-2026-63123), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-63123 · Whole record: https://cve.day/CVE-2026-63123.json · Rebuilt by cve.day 2026-11-25T22:59:34.247Z
