{"answers":{"affected":"4 open source packages ship an affected version, including @directus/api and directus. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-55746 exists.","fix":"Upgrade @directus/api to 28.0.2 or later.","what":"CVE-2025-55746 is a critical vulnerability in Monospace Directus, published on 20 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-55746 and fix it if it is affected.\n\nWhat it is: CVE-2025-55746 is a critical vulnerability in Monospace Directus, published on 20 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-55746 exists.\n\nAffected packages and fixed versions:\n- @directus/api (npm): affected from 14.1.0; fixed in 28.0.2\n- @directus/api (npm): affected from 14.1.0; fixed in 28.0.2\n- directus (npm): affected from 10.8.0; fixed in 11.9.3\n- directus (npm): affected from 10.8.0; fixed in 11.9.3\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-2025-55746/ (Markdown: https://insights.sbomify.com/CVE-2025-55746/index.md)","id":"CVE-2025-55746","markdown":"https://insights.sbomify.com/CVE-2025-55746/index.md","name":"CVE-2025-55746","record":{"aliases":["GHSA-mv33-9f6j-pfmc"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_modify","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Directus headless CMS","requires_auth":"none","summary":"Unauthenticated attackers can upload or modify files with arbitrary content, potentially leading to code execution or data tampering in Directus.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"directus","vendor":"monospace"}],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-73","name":"External Control of File Name or Path"},{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"description":"Directus is a real-time API and App dashboard for managing SQL database content. From 10.8.0 to before 11.9.3, a vulnerability exists in the file update mechanism which allows an unauthenticated actor to modify existing files with arbitrary contents (without changes being applied to the files' database-resident metadata) and / or upload new files, with arbitrary content and extensions, which won't show up in the Directus UI. This vulnerability is fixed in 11.9.3.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":"2025-09-02","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":1,"refs":[{"date":"2025-09-02T20:19:01Z","kind":"github_poc","ref":"https://github.com/r4bbit-r4/directus-preso","stars":1,"title":"Presentation about CVE-2025-55746"},{"date":null,"kind":"nuclei","ref":"http/cves/2025/CVE-2025-55746.yaml","stars":null,"title":"Directus - Unauthenticated File Modification"}],"tier":"weaponised"},"has_fix":true,"headline":"Directus allows unauthenticated file upload and file modification due to lacking input sanitization","id":"CVE-2025-55746","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":"monospace:directus","products":["monospace:directus"],"type":"file_upload","year":"2025"},"n_packages":4,"n_references":2,"next":{"headline":"XWiki Platform's configuration files can be accessed through the webjars API","id":"CVE-2025-55747"},"packages":[{"ecosystem":"npm","fixed":["28.0.2"],"introduced":["14.1.0"],"last_affected":[],"package":"@directus/api","purl":null,"source":"GHSA-mv33-9f6j-pfmc"},{"ecosystem":"npm","fixed":["28.0.2"],"introduced":["14.1.0"],"last_affected":[],"package":"@directus/api","purl":"pkg:npm/%40directus/api","source":"GHSA-mv33-9f6j-pfmc"},{"ecosystem":"npm","fixed":["11.9.3"],"introduced":["10.8.0"],"last_affected":[],"package":"directus","purl":null,"source":"GHSA-mv33-9f6j-pfmc"},{"ecosystem":"npm","fixed":["11.9.3"],"introduced":["10.8.0"],"last_affected":[],"package":"directus","purl":"pkg:npm/directus","source":"GHSA-mv33-9f6j-pfmc"}],"prev":{"headline":"UnoPim Quick Export feature is vulnerable to CSV injection","id":"CVE-2025-55745"},"products":["directus"],"published":"2025-08-20","related":[{"cvss_score":9.8,"headline":"Insecure default value for CORS configuration","id":"CVE-2022-26969","kev_date_added":null,"published":"2022-12-26"},{"cvss_score":8.7,"headline":"Directus is Missing Cross-Origin Opener Policy","id":"CVE-2026-35408","kev_date_added":null,"published":"2026-04-06"},{"cvss_score":8.6,"headline":"Directus: Authorization-dependent response served from unsegmented cache key","id":"CVE-2026-61836","kev_date_added":null,"published":"2026-07-15"},{"cvss_score":8.6,"headline":"Directus's webhook trigger flows can leak sensitive data","id":"CVE-2025-30353","kev_date_added":null,"published":"2025-03-26"},{"cvss_score":8.5,"headline":"Directus has a Path Traversal and Broken Access Control in File Management API","id":"CVE-2026-39942","kev_date_added":null,"published":"2026-04-09"},{"cvss_score":8.2,"headline":"Directus MySQL accent insensitive email matching","id":"CVE-2024-27295","kev_date_added":null,"published":"2024-03-01"}],"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)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-08-20","vendors":["directus"]},"summary":"Unauthenticated attackers can upload or modify files with arbitrary content, potentially leading to code execution or data tampering in Directus.","url":"https://insights.sbomify.com/CVE-2025-55746/"}