{"id":"CVE-2026-28793","published":"2026-03-12T16:50:20Z","modified":"2026-03-13T16:28:33Z","title":"Path Traversal Leading to Arbitrary File Read, Write and Delete in TinaCMS","vendor":"@tinacms","product":"cli","tier":"tail","description":{"text":"Tina is a headless content management system. Prior to 2.1.8, the TinaCMS CLI development server exposes media endpoints that are vulnerable to path traversal, allowing attackers to read and write arbitrary files on the filesystem outside the intended media directory. When running tinacms dev, the CLI starts a local HTTP server (default port 4001) exposing endpoints such as /media/list/*, /media/upload/*, and /media/*. These endpoints process user-controlled path segments using decodeURI() and path.join() without validating that the resolved path remains within the configured media directory. This vulnerability is fixed in 2.1.8.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00235,"percentile":0.14812,"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-2f24-mg4x-534q","tags":["x_refsource_CONFIRM"]}],"priority":{"score":8.8,"factors":[{"name":"EPSS percentile","points":2.96},{"name":"CVSS severity","points":5.88}]},"vendorSlug":"tinacms","affectedVersions":[{"vendor":"@tinacms","product":"cli","versions":["< 2.1.8"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-03-13T16:28:28.663530Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@tinacms/cli","vulnerableRanges":["<2.1.8"],"patched":["2.1.8"],"from":["GHSA-2f24-mg4x-534q"],"provenance":"source"}],"summary":{"text":"Path traversal in the media endpoints of the TinaCMS CLI development server (the local HTTP server started by tinacms dev, default port 4001), where user-supplied path segments are decoded and joined without checking that the result stays inside the configured media directory. An attacker with local access and no authentication or user interaction can read, write or delete arbitrary files on the filesystem through these endpoints, and the flaw is fixed in version 2.1.8.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:09:15Z"},"euvd":{"id":"EUVD-2026-11613","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-45391","published":"2024-09-03","fixed":"1.6.2","kev":false},{"cve":"CVE-2025-68278","published":"2025-12-18","fixed":"2.0.4","kev":false,"link":{"from":"CVE-2025-68278","to":"CVE-2026-28793","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@tinacms/cli","fromFixed":"2.0.4","toFixed":"2.1.8","daysApart":84}]}},{"cve":"CVE-2026-28792","published":"2026-03-12","fixed":"2.1.8","kev":false},{"cve":"CVE-2026-28793","published":"2026-03-12","fixed":"2.1.8","kev":false},{"cve":"CVE-2026-29066","published":"2026-03-12","fixed":"2.1.8","kev":false},{"cve":"CVE-2026-54074","published":"2026-07-01","fixed":"2.4.3","kev":false},{"cve":"CVE-2026-63123","published":"2026-08-19","fixed":"2.5.2","kev":false}],"package":"npm:@tinacms/cli"}}