{"answers":{"affected":"6 open source packages ship an affected version, including github.com/filebrowser/filebrowser and github.com/filebrowser/filebrowser/v2. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-52995 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2025-52995 is a high-severity command injection vulnerability in filebrowser, published on 30 Jun 2025. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-52995 and fix it if it is affected.\n\nWhat it is: CVE-2025-52995 is a high-severity command injection vulnerability in filebrowser, published on 30 Jun 2025. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-52995 exists.\n\nAffected packages and fixed versions:\n- github.com/filebrowser/filebrowser (Go): affected all versions; no fix listed\n- github.com/filebrowser/filebrowser (Go): affected all versions up to 1.11.0; no fix listed\n- github.com/filebrowser/filebrowser (Go): affected all versions up to 1.11.0; no fix listed\n- github.com/filebrowser/filebrowser/v2 (Go): affected all versions; fixed in 2.33.10\n- github.com/filebrowser/filebrowser/v2 (Go): affected all versions; fixed in 2.33.10\n- github.com/filebrowser/filebrowser/v2 (Go): affected all versions; fixed in 2.33.10\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-52995/ (Markdown: https://insights.sbomify.com/CVE-2025-52995/index.md)","id":"CVE-2025-52995","markdown":"https://insights.sbomify.com/CVE-2025-52995/index.md","name":"CVE-2025-52995","record":{"aliases":["GHSA-w7qc-6grj-w7r8","GO-2025-3795"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"File Browser","requires_auth":"high_privilege","summary":"An allowlist bypass in File Browser allows authenticated users to execute unauthorized shell commands, potentially leading to code execution and data access.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"filebrowser","vendor":"filebrowser"}],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"description":"File Browser provides a file managing interface within a specified directory and it can be used to upload, delete, preview, rename and edit files. Prior to version 2.33.10, the implementation of the allowlist is erroneous, allowing a user to execute more shell commands than they are authorized for. The concrete impact of this vulnerability depends on the commands configured, and the binaries installed on the server or in the container image. Due to the missing separation of scopes on the OS-level, this could give an attacker access to all files managed the application, including the File Browser database. This issue has been patched in version 2.33.10.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"File Browser vulnerable to command execution allowlist bypass","id":"CVE-2025-52995","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"command_injection","year":"2025"},"n_packages":6,"n_references":3,"next":{"headline":"File Browser's Password Protection of Links Vulnerable to Bypass","id":"CVE-2025-52996"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/filebrowser/filebrowser","purl":"pkg:golang/github.com/filebrowser/filebrowser","source":"GO-2025-3795"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.11.0"],"package":"github.com/filebrowser/filebrowser","purl":null,"source":"GHSA-w7qc-6grj-w7r8"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.11.0"],"package":"github.com/filebrowser/filebrowser","purl":"pkg:golang/github.com/filebrowser/filebrowser","source":"GHSA-w7qc-6grj-w7r8"},{"ecosystem":"Go","fixed":["2.33.10"],"introduced":["0"],"last_affected":[],"package":"github.com/filebrowser/filebrowser/v2","purl":null,"source":"GHSA-w7qc-6grj-w7r8"},{"ecosystem":"Go","fixed":["2.33.10"],"introduced":["0"],"last_affected":[],"package":"github.com/filebrowser/filebrowser/v2","purl":"pkg:golang/github.com/filebrowser/filebrowser/v2","source":"GHSA-w7qc-6grj-w7r8"},{"ecosystem":"Go","fixed":["2.33.10"],"introduced":["0"],"last_affected":[],"package":"github.com/filebrowser/filebrowser/v2","purl":"pkg:golang/github.com/filebrowser/filebrowser/v2","source":"GO-2025-3795"}],"prev":{"headline":"phpThumb is vulnerable to Command Injection through its gif_outputAsJpeg function","id":"CVE-2025-52994"},"products":["filebrowser"],"published":"2025-06-30","related":[{"cvss_score":10,"headline":"File Browser Self Registration Grants Any User Admin Access When Default Permissions Include Admin","id":"CVE-2026-32760","kev_date_added":null,"published":"2026-03-19"},{"cvss_score":9.1,"headline":"File Browser: TUS Delete Endpoint Bypasses Delete Permission Check","id":"CVE-2026-29188","kev_date_added":null,"published":"2026-03-05"},{"cvss_score":9,"headline":"Cross-site scripting in n/a","id":"CVE-2023-39612","kev_date_added":null,"published":"2023-09-16"},{"cvss_score":8.9,"headline":"FileBrowser Quantum: Stored XSS in public share page via unsanitized share metadata (text/template misuse)","id":"CVE-2026-30934","kev_date_added":null,"published":"2026-03-10"},{"cvss_score":8.8,"headline":"Cross-Site Request Forgery in Filebrowser","id":"CVE-2021-46398","kev_date_added":null,"published":"2022-02-04"},{"cvss_score":8.2,"headline":"File Browser share links remain accessible after Share/Download permissions are revoked","id":"CVE-2026-35604","kev_date_added":null,"published":"2026-04-07"},{"cvss_score":8.1,"headline":"File Browser: Proxy auth auto-provisioned users inherit Execute permission and Commands","id":"CVE-2026-35607","kev_date_added":null,"published":"2026-04-07"}],"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":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"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":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-06-30","vendors":["filebrowser"]},"summary":"An allowlist bypass in File Browser allows authenticated users to execute unauthorized shell commands, potentially leading to code execution and data access.","url":"https://insights.sbomify.com/CVE-2025-52995/"}