{"answers":{"affected":"2 open source packages ship an affected version, including @tinacms/cli. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-45391 in the wild and no public exploit code.","fix":"Upgrade @tinacms/cli to 1.6.2 or later.","what":"CVE-2024-45391 is a high-severity vulnerability in tinacms, published on 3 Sep 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-45391 and fix it if it is affected.\n\nWhat it is: CVE-2024-45391 is a high-severity vulnerability in tinacms, published on 3 Sep 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-45391 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @tinacms/cli (npm): affected all versions; fixed in 1.6.2\n- @tinacms/cli (npm): affected all versions; fixed in 1.6.2\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-2024-45391/ (Markdown: https://insights.sbomify.com/CVE-2024-45391/index.md)","id":"CVE-2024-45391","markdown":"https://insights.sbomify.com/CVE-2024-45391/index.md","name":"CVE-2024-45391","record":{"aliases":["GHSA-4qrm-9h4r-v2fx"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"TinaCMS CLI","requires_auth":"none","summary":"Attackers can read search tokens from lock files in TinaCMS CLI, potentially bypassing search security controls.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"tinacms\\/cli","vendor":"ssw"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-312","name":"Cleartext Storage of Sensitive Information"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"Tina is an open-source content management system (CMS). Sites building with Tina CMS's command line interface (CLI) prior to version 1.6.2 that use a search token may be vulnerable to the search token being leaked via lock file (tina-lock.json). Administrators of Tina-enabled websites with search setup should rotate their key immediately. This issue has been patched in @tinacms/cli version 1.6.2. Upgrading and rotating the search token is required for the proper fix.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Tina search token leak via lock file in TinaCMS","id":"CVE-2024-45391","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"information_disclosure","year":"2024"},"n_packages":2,"n_references":3,"next":{"headline":"SuiteCRM has wrong deletion permission checks on API delete call","id":"CVE-2024-45392"},"packages":[{"ecosystem":"npm","fixed":["1.6.2"],"introduced":["0"],"last_affected":[],"package":"@tinacms/cli","purl":null,"source":"GHSA-4qrm-9h4r-v2fx"},{"ecosystem":"npm","fixed":["1.6.2"],"introduced":["0"],"last_affected":[],"package":"@tinacms/cli","purl":"pkg:npm/%40tinacms/cli","source":"GHSA-4qrm-9h4r-v2fx"}],"prev":{"headline":"@blakeembrey/template vulnerable to code injection when attacker controls template input","id":"CVE-2024-45390"},"products":["tinacms"],"published":"2024-09-03","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":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.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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-03","vendors":["tinacms"]},"summary":"Attackers can read search tokens from lock files in TinaCMS CLI, potentially bypassing search security controls.","url":"https://insights.sbomify.com/CVE-2024-45391/"}