{"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-28792 exists.","fix":"Upgrade @tinacms/cli to 2.1.8 or later.","what":"CVE-2026-28792 is a critical path traversal vulnerability in @tinacms cli, published on 12 Mar 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-28792 and fix it if it is affected.\n\nWhat it is: CVE-2026-28792 is a critical path traversal vulnerability in @tinacms cli, published on 12 Mar 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-28792 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-28792/ (Markdown: https://insights.sbomify.com/CVE-2026-28792/index.md)","id":"CVE-2026-28792","markdown":"https://insights.sbomify.com/CVE-2026-28792/index.md","name":"CVE-2026-28792","record":{"aliases":["GHSA-8pw3-9m7f-q734"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read","data_modify","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"TinaCMS CLI","requires_auth":"none","summary":"Attackers can read, write, and delete files on developer machines via a drive-by attack exploiting CORS and path traversal in TinaCMS CLI.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"tinacms\\/cli","vendor":"ssw"}],"cvss":{"score":9.7,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-942","name":"Permissive Cross-domain Security Policy with Untrusted Domains"},{"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 dev server combines a permissive CORS configuration (Access-Control-Allow-Origin: *) with the path traversal vulnerability (previously reported) to enable a browser-based drive-by attack. A remote attacker can enumerate the filesystem, write arbitrary files, and delete arbitrary files on developer's machines by simply tricking them into visiting a malicious website while tinacms dev is running. 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":"Cross-Origin File Exfiltration via CORS Misconfiguration + Path Traversal in TinaCMS","id":"CVE-2026-28792","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":"Path Traversal Leading to Arbitrary File Read, Write and Delete in TinaCMS","id":"CVE-2026-28793"},"packages":[{"ecosystem":"npm","fixed":["2.1.8"],"introduced":["0"],"last_affected":[],"package":"@tinacms/cli","purl":null,"source":"GHSA-8pw3-9m7f-q734"},{"ecosystem":"npm","fixed":["2.1.8"],"introduced":["0"],"last_affected":[],"package":"@tinacms/cli","purl":"pkg:npm/%40tinacms/cli","source":"GHSA-8pw3-9m7f-q734"}],"prev":{"headline":"Path Traversal in Media Upload Handle in Tina","id":"CVE-2026-28791"},"products":["cli"],"published":"2026-03-12","related":[{"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":8.4,"headline":"Path Traversal Leading to Arbitrary File Read, Write and Delete in TinaCMS","id":"CVE-2026-28793","kev_date_added":null,"published":"2026-03-12"},{"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, and delete files on developer machines via a drive-by attack exploiting CORS and path traversal in TinaCMS CLI.","url":"https://insights.sbomify.com/CVE-2026-28792/"}