{"answers":{"affected":"2 open source packages ship an affected version, including @tinacms/cli. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-28793 exists.","fix":"Upgrade @tinacms/cli to 2.1.8 or later.","what":"CVE-2026-28793 is a high-severity path traversal vulnerability in @tinacms cli, published on 12 Mar 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-28793 and fix it if it is affected.\n\nWhat it is: CVE-2026-28793 is a high-severity path traversal vulnerability in @tinacms cli, published on 12 Mar 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-28793 exists.\n\nAffected packages and fixed versions:\n- @tinacms/cli (npm): affected all versions; fixed in 2.1.8\n- @tinacms/cli (npm): affected all versions; fixed in 2.1.8\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-28793/ (Markdown: https://insights.sbomify.com/CVE-2026-28793/index.md)","id":"CVE-2026-28793","markdown":"https://insights.sbomify.com/CVE-2026-28793/index.md","name":"CVE-2026-28793","record":{"aliases":["GHSA-2f24-mg4x-534q"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"TinaCMS CLI","requires_auth":"none","summary":"Attackers can read, write, or delete arbitrary files via path traversal in the TinaCMS CLI development server media endpoints.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"tinacms\\/cli","vendor":"ssw"}],"cvss":{"score":8.4,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Path Traversal Leading to Arbitrary File Read, Write and Delete in TinaCMS","id":"CVE-2026-28793","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"oRPC: Prototype Pollution in `@orpc/client` via `StandardRPCJsonSerializer` Deserialization","id":"CVE-2026-28794"},"packages":[{"ecosystem":"npm","fixed":["2.1.8"],"introduced":["0"],"last_affected":[],"package":"@tinacms/cli","purl":null,"source":"GHSA-2f24-mg4x-534q"},{"ecosystem":"npm","fixed":["2.1.8"],"introduced":["0"],"last_affected":[],"package":"@tinacms/cli","purl":"pkg:npm/%40tinacms/cli","source":"GHSA-2f24-mg4x-534q"}],"prev":{"headline":"Cross-Origin File Exfiltration via CORS Misconfiguration + Path Traversal in TinaCMS","id":"CVE-2026-28792"},"products":["cli"],"published":"2026-03-12","related":[{"cvss_score":9.7,"headline":"Cross-Origin File Exfiltration via CORS Misconfiguration + Path Traversal in TinaCMS","id":"CVE-2026-28792","kev_date_added":null,"published":"2026-03-12"},{"cvss_score":8.6,"headline":"Sensitive Information leak via Script File in TinaCMS","id":"CVE-2023-25164","kev_date_added":null,"published":"2023-02-08"},{"cvss_score":7.5,"headline":"Tina search token leak via lock file in TinaCMS","id":"CVE-2024-45391","kev_date_added":null,"published":"2024-09-03"},{"cvss_score":7.4,"headline":"Path Traversal in Media Upload Handle in Tina","id":"CVE-2026-28791","kev_date_added":null,"published":"2026-03-12"},{"cvss_score":7.1,"headline":"@tinacms/graphql's Media Endpoints Can Escape the Media Root via Symlinks or Junctions","id":"CVE-2026-34603","kev_date_added":null,"published":"2026-04-01"},{"cvss_score":6.2,"headline":"Arbitrary File Read via Disabled Vite Filesystem Restriction in TinaCMS CLI","id":"CVE-2026-29066","kev_date_added":null,"published":"2026-03-12"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-03-13","vendors":["@tinacms"]},"summary":"Attackers can read, write, or delete arbitrary files via path traversal in the TinaCMS CLI development server media endpoints.","url":"https://insights.sbomify.com/CVE-2026-28793/"}