{"id":"CVE-2026-28791","published":"2026-03-12T16:55:47Z","modified":"2026-03-13T16:27:56Z","title":"Path Traversal in Media Upload Handle in Tina","vendor":"tinacms","product":"tinacms","tier":"tail","description":{"text":"Tina is a headless content management system. Prior to 2.1.7, a path traversal vulnerability exists in the TinaCMS development server's media upload handler. The code at media.ts joins user-controlled path segments using path.join() without validating that the resulting path stays within the intended media directory. This allows writing files to arbitrary locations on the filesystem. This vulnerability is fixed in 2.1.7.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00517,"percentile":0.37296,"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-5hxf-c7j4-279c","tags":["x_refsource_CONFIRM"]}],"priority":{"score":12.6,"factors":[{"name":"EPSS percentile","points":7.46},{"name":"CVSS severity","points":5.18}]},"vendorSlug":"tinacms","affectedVersions":[{"vendor":"tinacms","product":"tinacms","versions":["< 2.1.7"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-03-13T16:27:52.236019Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"tinacms","vulnerableRanges":["<2.1.7"],"patched":["2.1.7"],"from":["GHSA-5hxf-c7j4-279c"],"provenance":"source"}],"summary":{"text":"A path traversal flaw exists in the media upload handler of TinaCMS, a headless content management system, where user-controlled path segments are joined with path.join() without checking that the result stays inside the intended media directory. An attacker who can reach the TinaCMS development server's upload handler can write files to arbitrary locations on the filesystem, provided the attack is made without needing authentication or user interaction and is subject to a high-complexity condition.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:58:17Z"},"euvd":{"id":"EUVD-2026-11609","exploited":false,"provenance":"source"}}