Skip to content

whodb

Path traversal opening Sqlite3 database in WhoDB

CVE-2025-24786Published 6 Feb 2025, 18:41 UTC

Real-world risk

8.0/ 10High

Patch this week; within 48 h if Internet-facing

PreliminaryFrom the CVSS vector only · confidence low

CVSS

10.0

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from GitHub_M)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
whodbNiche< 0.45.00.45.0

What to do

Update to a fixed version: 0.45.0.

Why this score

FactorValueEvidence×
ImpactMajor data exposureReads secrets, credentials, databases, arbitrary filesFrom the CVSS vector0.80
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T4: Weaponized (× 1.00)

A Metasploit module, a Nuclei template, or a verified Exploit-DB entry

  • Nuclei scanner template (link)
  • Reference tagged as exploit (link)
  • CISA SSVC: proof of concept

EPSS 2.7% chance of exploitation in 30 days (percentile 86), as of 2026-12-02.

The arithmetic
  1. Prerequisites multiplied together1.000
  2. Threat T4: Weaponized1.000
  3. 10 × impact 0.8 × prerequisites 1 × threat 18.000
  4. Rounded to one decimal between 0.1 and 108.0

How the score works

Exploitation and evidence timeline

  1. 6 Feb 2025 Published
  2. 3 Dec 2026 Nuclei scanner template first seen
  3. 3 Dec 2026 Reference tagged as exploit first seen
  4. 3 Dec 2026 CISA SSVC: proof of concept first seen
  5. 3 Dec 2026 Risk 8.0 (cvss fallback)

Weakness

CWE-22, CWE-35

References

Get alerts for whodb

Free email or text alerts when a vulnerability in whodb reaches risk 8 or higher. Nothing else.