{"id":"CVE-2026-24125","published":"2026-03-12T16:31:56Z","modified":"2026-03-12T17:55:19Z","title":"Path Traversal in @tinacms/graphql","vendor":"@tinacms","product":"graphql","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00635,"percentile":0.44947,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/tinacms/tinacms/security/advisories/GHSA-2238-xc5r-v9hj","tags":["x_refsource_CONFIRM"]}],"priority":{"score":13.4,"factors":[{"name":"EPSS percentile","points":8.99},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"tinacms","affectedVersions":[{"vendor":"@tinacms","product":"graphql","versions":["< 2.1.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-12T17:54:30.695250Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@tinacms/graphql","vulnerableRanges":["<2.1.2"],"patched":["2.1.2"],"from":["GHSA-2238-xc5r-v9hj"],"provenance":"source"}],"summary":{"text":"A path traversal flaw in the graphql component of @tinacms (TinaCMS, a headless content management system) lets GraphQL create, update, and delete mutations accept relative file paths that are joined to the collection path without checking that the result stays inside the collection root. An attacker with network access and low-privilege authentication, acting without user interaction, can use ../ sequences in relativePath or newRelativePath under certain conditions to read or modify files outside the intended directory.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:34Z"},"euvd":{"id":"EUVD-2026-11601","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-68278","published":"2025-12-18","fixed":"2.0.3","kev":false,"link":{"from":"CVE-2025-68278","to":"CVE-2026-24125","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@tinacms/graphql","fromFixed":"2.0.3","toFixed":"2.1.2","daysApart":84}]}},{"cve":"CVE-2026-24125","published":"2026-03-12","fixed":"2.1.2","kev":false},{"cve":"CVE-2026-33949","published":"2026-04-01","fixed":"2.2.2","kev":false,"link":{"from":"CVE-2026-24125","to":"CVE-2026-33949","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@tinacms/graphql","fromFixed":"2.1.2","toFixed":"2.2.2","daysApart":20},{"kind":"similar","provenance":"machine","score":0.24,"basis":"same package + description similarity"}]}},{"cve":"CVE-2026-34603","published":"2026-04-01","fixed":"2.2.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-34604","published":"2026-04-01","fixed":"2.2.2","kev":false,"link":{"from":"CVE-2026-24125","to":"CVE-2026-34604","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}]}}],"package":"npm:@tinacms/graphql"}}