{"answers":{"affected":"3 open source packages ship an affected version, including github.com/clidey/whodb/core. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-24786 exists.","fix":"Upgrade github.com/clidey/whodb/core to 0.0.0-20250127172032-547336ac73c8 or later.","what":"CVE-2025-24786 is a critical path traversal vulnerability in clidey whodb, published on 6 Feb 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-24786 and fix it if it is affected.\n\nWhat it is: CVE-2025-24786 is a critical path traversal vulnerability in clidey whodb, published on 6 Feb 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-24786 exists.\n\nAffected packages and fixed versions:\n- github.com/clidey/whodb/core (Go): affected all versions; fixed in 0.0.0-20250127172032-547336ac73c8\n- github.com/clidey/whodb/core (Go): affected all versions; fixed in 0.0.0-20250127172032-547336ac73c8\n- github.com/clidey/whodb/core (Go): affected all versions; fixed in 0.0.0-20250127172032-547336ac73c8\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-24786/ (Markdown: https://insights.sbomify.com/CVE-2025-24786/index.md)","id":"CVE-2025-24786","markdown":"https://insights.sbomify.com/CVE-2025-24786/index.md","name":"CVE-2025-24786","record":{"aliases":["GHSA-9r4c-jwx3-3j76","GO-2025-3456"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"WhoDB database tool","requires_auth":"none","summary":"Unauthenticated attackers can use path traversal to open arbitrary SQLite databases on the host, exposing sensitive data.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"whodb","vendor":"clidey"}],"cvss":{"score":10,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-35","name":"Path Traversal: '.../...//'"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"WhoDB is an open source database management tool. While the application only displays Sqlite3 databases present in the directory `/db`, there is no path traversal prevention in place. This allows an unauthenticated attacker to open any Sqlite3 database present on the host machine that the application is running on. Affected versions of WhoDB allow users to connect to Sqlite3 databases. By default, the databases must be present in `/db/` (or alternatively `./tmp/` if development mode is enabled).  If no databases are present in the default directory, the UI indicates that the user is unable to open any databases. The database file is an user-controlled value. This value is used in `.Join()` with the default directory, in order to get the full path of the database file to open. No checks are performed whether the database file that is eventually opened actually resides in the default directory `/db`. This allows an attacker to use path traversal (`../../`) in order to open any Sqlite3 database present on the system. This issue has been addressed in version 0.45.0 and all users are advised to upgrade. There are no known workarounds for this vulnerability.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2025/CVE-2025-24786.yaml","stars":null,"title":"WhoDB \u003c 0.45.0 - Path Traversal"}],"tier":"weaponised"},"has_fix":true,"headline":"Path traversal opening Sqlite3 database in WhoDB","id":"CVE-2025-24786","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"path_traversal","year":"2025"},"n_packages":3,"n_references":3,"next":{"headline":"Parameter injection in DB connection URIs leading to local file inclusion in WhoDB","id":"CVE-2025-24787"},"packages":[{"ecosystem":"Go","fixed":["0.0.0-20250127172032-547336ac73c8"],"introduced":["0"],"last_affected":[],"package":"github.com/clidey/whodb/core","purl":null,"source":"GHSA-9r4c-jwx3-3j76"},{"ecosystem":"Go","fixed":["0.0.0-20250127172032-547336ac73c8"],"introduced":["0"],"last_affected":[],"package":"github.com/clidey/whodb/core","purl":"pkg:golang/github.com/clidey/whodb/core","source":"GHSA-9r4c-jwx3-3j76"},{"ecosystem":"Go","fixed":["0.0.0-20250127172032-547336ac73c8"],"introduced":["0"],"last_affected":[],"package":"github.com/clidey/whodb/core","purl":"pkg:golang/github.com/clidey/whodb/core","source":"GO-2025-3456"}],"prev":{"headline":"iTop dashboard vulnerable to denial of service","id":"CVE-2025-24785"},"products":["whodb"],"published":"2025-02-06","related":[{"cvss_score":8.6,"headline":"Parameter injection in DB connection URIs leading to local file inclusion in WhoDB","id":"CVE-2025-24787","kev_date_added":null,"published":"2025-02-06"}],"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)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-02-06","vendors":["clidey"]},"summary":"Unauthenticated attackers can use path traversal to open arbitrary SQLite databases on the host, exposing sensitive data.","url":"https://insights.sbomify.com/CVE-2025-24786/"}