CVE-2025-24786 json
Path traversal opening Sqlite3 database in WhoDB
published 2025-02-06 21 mo ago modified 2026-06-17 4 mo ago also GHSA-9r4c-jwx3-3j76 , GO-2025-3456 , EUVD-2025-3946
- cvss
- 10.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.7%
- EPSS 2.7% chance of exploitation in 30 days, percentile 86%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
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.
Patch / fix
- go github.com/clidey/whodb/core 0.0.0-20250127172032-547336ac73c8
- clidey whodb 0.45.0
- govulncheck-vulndb SLE Module for Package Hub 15 SP6, openSUSE Leap 15.6 0.0.20250207T224745-150000.1.32.1
suse advisories SUSE-SU-2025:0429-1
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20250207T224745-1.1
opensuse advisories openSUSE-SU-2025:14754-1
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 21 mo ago
Exploit prediction
2.73% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template WhoDB < 0.45.0 - Path Traversal nuclei detection template
- github.com https://github.com/clidey/whodb/security/advisories/GHSA-9r4c-jwx3-3j76 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N |
| NVD | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/clidey/whodb/core | <0.0.0-20250127172032-547336ac73c8 |
0.0.0-20250127172032-547336ac73c8 |
Affected products
- clidey whodb
Classification
References
-
github.com
/clidey/whodb/commit/547336ac73c8d17929c18c3941c0d5b0099753cc
web
-
github.com
/clidey/whodb/security/advisories/GHSA-9r4c-jwx3-3j76
exploit, web, vendor-advisory, advisory
-
github.com
/clidey/whodb/blob/ba6eb81d0ca40baead74bca58b2567166999d6a6/core/src/plugins/sqlite3/db.go#L14-L20
web, product
-
github.com
/clidey/whodb/blob/ba6eb81d0ca40baead74bca58b2567166999d6a6/core/src/plugins/sqlite3/db.go#L26
web, product
-
nvd.nist.gov
/vuln/detail/CVE-2025-24786
advisory
-
github.com
/clidey/whodb
package
Sources
- CVE List CVE-2025-24786
- GitHub Advisory GHSA-9r4c-jwx3-3j76
- NVD CVE-2025-24786
- OSV GO-2025-3456
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.