# CVE-2026-28791: Path Traversal in Media Upload Handle in Tina

- Severity: High 7.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H`
- 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.38%, higher than 33% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-12T16:55:47.528Z
- Modified: 2026-06-17T10:29:03.097Z
- Also known as: GHSA-5hxf-c7j4-279c
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Tina is a headless content management system. Prior to 2.1.7, a path traversal vulnerability exists in the TinaCMS development server's media upload handler. The code at media.ts joins user-controlled path segments using path.join() without validating that the resulting path stays within the intended media directory. This allows writing files to arbitrary locations on the filesystem. This vulnerability is fixed in 2.1.7.

(As written by CVE List.)

## Affected

- tinacms tinacms: < 2.1.7
- tinacms (npm): before 2.1.7
- ssw tinacms/cli: before 2.1.7

## Every score

- GitHub_M: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H`
- NVD: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://github.com/tinacms/tinacms/security/advisories/GHSA-5hxf-c7j4-279c> (exploit, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-28791> (advisory)
- <https://github.com/tinacms/tinacms> (package)

## Sources

- CVE List: [CVE-2026-28791](https://www.cve.org/CVERecord?id=CVE-2026-28791), CVE Terms of Use, modified 2026-03-13
- GitHub Advisory Database: [GHSA-5hxf-c7j4-279c](https://github.com/advisories/GHSA-5hxf-c7j4-279c), CC-BY-4.0, modified 2026-03-14
- NVD: [CVE-2026-28791](https://nvd.nist.gov/vuln/detail/CVE-2026-28791), Public domain, modified 2026-06-17

---

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