CVE-2025-24786
published critical CVSS 3.1 · 10.0Path traversal opening Sqlite3 database in WhoDB
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| clidey | — | whodb< 0.45.0 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | SLE-15-SP6 | govulncheck-vulndbnoarch | Advisory build | 0.0.20250207T224745-150000.1.32.1 | SUSE-SU-2025:0429-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | govulncheck-vulndbnoarch | Advisory build | 0.0.20250207T224745-150000.1.32.1 | SUSE-SU-2025:0429-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbaarch64 | Advisory build | 0.0.20250207T224745-1.1 | OPENSUSE-SU-2025:14754-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbppc64le | Advisory build | 0.0.20250207T224745-1.1 | OPENSUSE-SU-2025:14754-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbs390x | Advisory build | 0.0.20250207T224745-1.1 | OPENSUSE-SU-2025:14754-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbx86_64 | Advisory build | 0.0.20250207T224745-1.1 | OPENSUSE-SU-2025:14754-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 10.0 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| clidey | whodb | < 0.45.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-35 CWE-35: Path Traversal: '.../...//'
- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
3- 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/security/advisories/GHSA-9r4c-jwx3-3j76
Provider assertions
2GitHub_M · cna
Path traversal opening Sqlite3 database in WhoDB
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 8645ff530db2c10e945ac08401c70bcb2f9c844448fe1b2ebd1a2273db057602
- Ingested
- 23 Sep 2026, 08:41:39 UTC
- Source record
- Official CVE record