{"id":"CVE-2026-34603","published":"2026-04-01T16:08:44Z","modified":"2026-04-01T17:54:25Z","title":"@tinacms/graphql's Media Endpoints Can Escape the Media Root via Symlinks or Junctions","vendor":"tinacms","product":"tinacms","tier":"tail","description":{"text":"Tina is a headless content management system. Prior to version 2.2.2, @tinacms/cli recently added lexical path-traversal checks to the dev media routes, but the implementation still validates only the path string and does not resolve symlink or junction targets. If a link already exists under the media root, Tina accepts a path like pivot/written-from-media.txt as \"inside\" the media directory and then performs real filesystem operations through that link target. This allows out-of-root media listing and write access, and the same root cause also affects delete. This issue has been patched in version 2.2.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00433,"percentile":0.38467,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"references":[{"url":"https://github.com/tinacms/tinacms/security/advisories/GHSA-g87c-r2jp-293w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tinacms/tinacms/commit/f124eabaca10dac9a4d765c9e4135813c4830955","tags":["x_refsource_MISC"]}],"priority":{"score":12.7,"factors":[{"name":"EPSS percentile","points":7.69},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"tinacms","affectedVersions":[{"vendor":"tinacms","product":"tinacms","versions":["< 2.2.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-04-01T17:52:31.840761Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@tinacms/graphql","vulnerableRanges":["<2.2.2"],"patched":["2.2.2"],"from":["GHSA-g87c-r2jp-293w"],"provenance":"source"}],"summary":{"text":"A path-validation flaw in the media endpoints of @tinacms/graphql (product: tinacms), which is part of the Tina headless CMS, checks only the path string and does not resolve symbolic links or junctions within the media root. An attacker who has low-privilege access and can reach the dev media routes, and who can rely on a link already existing under the media root, can list, write, and delete files outside the intended media directory, with the attack complexity noted as high.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:50:26Z"},"euvd":{"id":"EUVD-2026-17964","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-68278","published":"2025-12-18","fixed":"2.0.3","kev":false},{"cve":"CVE-2026-24125","published":"2026-03-12","fixed":"2.1.2","kev":false,"link":{"from":"CVE-2026-24125","to":"CVE-2026-34603","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@tinacms/graphql","fromFixed":"2.1.2","toFixed":"2.2.2","daysApart":20}]}},{"cve":"CVE-2026-33949","published":"2026-04-01","fixed":"2.2.2","kev":false},{"cve":"CVE-2026-34603","published":"2026-04-01","fixed":"2.2.2","kev":false},{"cve":"CVE-2026-34604","published":"2026-04-01","fixed":"2.2.2","kev":false}],"package":"npm:@tinacms/graphql"}}