Path traversal opening Sqlite3 database in WhoDB
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| clidey | whodb | before 0.45.0 | 0.45.0 | Patch available | CNA |
| — | github.com/clidey/whodb/core (Go) | before 0.0.0-20250127172032-547336ac73c8 | 0.0.0-20250127172032-547336ac73c8 | Patch available | GHSA-9r4c-jwx3-3j76 |
- whodb Vendorclidey Affected before 0.45.0 Fixed in 0.45.0 Patch available CNA
- github.com/clidey/whodb/core (Go) Vendor— Affected before 0.0.0-20250127172032-547336ac73c8 Fixed in 0.0.0-20250127172032-547336ac73c8 Patch available GHSA-9r4c-jwx3-3j76
Remediation
- Fix · CNA whodb (clidey) Fixed in 0.45.0
- Fix · GHSA-9r4c-jwx3-3j76 github.com/clidey/whodb/core (Go) Fixed in 0.0.0-20250127172032-547336ac73c8 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-24786
- 2026-10-03 Alias added: GHSA-9r4c-jwx3-3j76
References
Other 4
- https://github.com/clidey/whodb/blob/ba6eb81d0ca40baead74bca58b2567166999d6a6/core/src/plugins/sqlite3/db.go#L14-L20
- https://github.com/clidey/whodb/blob/ba6eb81d0ca40baead74bca58b2567166999d6a6/core/src/plugins/sqlite3/db.go#L26
- https://github.com/clidey/whodb/commit/547336ac73c8d17929c18c3941c0d5b0099753cc
- https://github.com/clidey/whodb
More clidey Whodb vulnerabilities
- TI-2025-18504 Parameter injection in DB connection URIs leading to local file inclusion in WhoDB CVSS 3.1HIGH 8.6
Sources
- CVE-2025-24786 · CVE Program
- CVE-2025-24786 · NVD
- FIRST EPSS
- GHSA-9r4c-jwx3-3j76 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences