{"id":"CVE-2026-34603","state":"PUBLISHED","title":"@tinacms/graphql's Media Endpoints Can Escape the Media Root via Symlinks or Junctions","description":"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.","publishedAt":"2026-04-01T16:08:44.366Z","updatedAt":"2026-04-01T17:54:25.006Z","severity":{"score":7.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["tinacms tinacms"],"affected":[{"vendor":"tinacms","product":"tinacms","versions":[{"version":"< 2.2.2","status":"affected"}]}],"references":["https://github.com/tinacms/tinacms/security/advisories/GHSA-g87c-r2jp-293w","https://github.com/tinacms/tinacms/commit/f124eabaca10dac9a4d765c9e4135813c4830955"],"weaknesses":["CWE-22","CWE-59"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/34xxx/CVE-2026-34603.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-34603","state":"PUBLISHED","datePublished":"2026-04-01T16:08:44.366Z","dateUpdated":"2026-04-01T17:54:25.006Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-03-30T17:15:52.500Z"},"containers":{"cna":{"title":"@tinacms/graphql's Media Endpoints Can Escape the Media Root via Symlinks or Junctions","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"tinacms","product":"tinacms","versions":[{"version":"< 2.2.2","status":"affected"}]}],"references":[{"url":"https://github.com/tinacms/tinacms/security/advisories/GHSA-g87c-r2jp-293w","name":"https://github.com/tinacms/tinacms/security/advisories/GHSA-g87c-r2jp-293w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tinacms/tinacms/commit/f124eabaca10dac9a4d765c9e4135813c4830955","name":"https://github.com/tinacms/tinacms/commit/f124eabaca10dac9a4d765c9e4135813c4830955","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":7.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-59","lang":"en","description":"CWE-59: Improper Link Resolution Before File Access ('Link Following')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-04-01T16:08:44.366Z"},"source":{"advisory":"GHSA-g87c-r2jp-293w","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/tinacms/tinacms/security/advisories/GHSA-g87c-r2jp-293w","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-01T17:52:31.840761Z","id":"CVE-2026-34603","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-01T17:54:25.006Z"}}]}}}