Summary
CVE-2026-112005 is a path traversal vulnerability (CWE-22) in WhoDB (clidey/whodb), a database management tool. In versions 0.104.0 through 0.134.0, remote attackers can read and write arbitrary files on the host by running DuckDB filesystem functions through the query editor. It is rated critical (CVSS v4.0 score 9.2).
Technical details
- Root cause: improper limitation of a pathname to a restricted directory (CWE-22). DuckDB filesystem functions can be run through the WhoDB query editor.
- Trigger conditions: the attacker can log in to a DuckDB file without credentials, then reach the query editor.
- Attack vector: network. No privileges or user interaction are required.
- Exploitation: functions such as
read_text,read_blob,COPY ... TOandATTACHare used to read host files, for examplesession.keyand stored database credentials, or to overwrite files. - Impact: high confidentiality and integrity impact (exposure of credentials, arbitrary file modification) and low availability impact.
Affected software
- WhoDB (clidey/whodb) versions 0.104.0 through 0.134.0 (>=0.104.0 and <0.135.0).
Severity
- CVSS v4.0 base score: 9.2 (Critical),
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N - The CNA also lists CVSS v3.1: 7.7 (High),
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L. The v3.1 score is lower than the 9.2 shown for this CVE, which is the v4.0 score.
Mitigation and recommended actions
- Immediate: upgrade WhoDB to version 0.135.0 or later.
- If WhoDB ran an affected version exposed to untrusted users, consider rotating the database credentials it stored and its session key.
- If you cannot patch right away, restrict network access to WhoDB instances to trusted users only. This is general hardening and is not a vendor-documented workaround.

