# CVE-2026-24125: Path Traversal in @tinacms/graphql

- Severity: Medium 6.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- 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.50%, higher than 44% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-12T16:31:56.860Z
- Modified: 2026-06-17T10:22:40.183Z
- Also known as: GHSA-2238-xc5r-v9hj
- Weaknesses: CWE-22
- 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.1.2, TinaCMS allows users to create, update, and delete content documents using relative file paths (relativePath, newRelativePath) via GraphQL mutations. Under certain conditions, these paths are combined with the collection path using path.join() without validating that the resolved path remains within the collection root directory. Because path.join() does not prevent directory traversal, paths containing ../ sequences can escape the intended directory boundary. This vulnerability is fixed in 2.1.2.

(As written by CVE List.)

## Affected

- @tinacms graphql: < 2.1.2
- @tinacms/graphql (npm): before 2.1.2
- ssw tinacms/graphql: before 2.1.2

## Every score

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

## References

- <https://github.com/tinacms/tinacms/security/advisories/GHSA-2238-xc5r-v9hj> (exploit, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-24125> (advisory)
- <https://github.com/tinacms/tinacms> (package)

## Sources

- CVE List: [CVE-2026-24125](https://www.cve.org/CVERecord?id=CVE-2026-24125), CVE Terms of Use, modified 2026-03-12
- GitHub Advisory Database: [GHSA-2238-xc5r-v9hj](https://github.com/advisories/GHSA-2238-xc5r-v9hj), CC-BY-4.0, modified 2026-03-14
- NVD: [CVE-2026-24125](https://nvd.nist.gov/vuln/detail/CVE-2026-24125), Public domain, modified 2026-06-17

---

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