Skip to main content
VulnerabilityPublished

CVE-2026-142651: WhoDB · Unauthenticated host file read through forged profile trust

Affects github.com/clidey/whodb/coreSource GCVE Database

0
Compare

Mentioned vulnerabilities

Authoritative record:CVE-2026-142651· High 8.6

Not known to be exploited · CVSS 8.6 High : upgrade to 0.0.0-20260929145727-cf6828f1a57f soon.

Data as of 3 Dec 2026, 19:16 UTC

CVSS 3.1 base score
8.6High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.18.6
Patch
Available – fixed in 0.0.0-20260929145727-cf6828f1a57f
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.

What to do

Upgrade github.com/clidey/whodb/core to 0.0.0-20260929145727-cf6828f1a57f.

Affected software

ProductAffectedFixed in
Gogithub.com/clidey/whodb/coreAffected
  • >=0.0.0-20250216100606-65ab5cd3ca8f <0.0.0-20260929145727-cf6828f1a57f
Fixed in
  • 0.0.0-20260929145727-cf6828f1a57f

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

## Summary WhoDB accepted a client-controlled `IsProfile` flag from legacy Bearer and `Token` cookie credentials. Setting this flag to `true` allowed an unauthenticated requester to pass arbitrary advanced MySQL connection options, including `allowAllFiles=true`, to `go-sql-driver/mysql`. An attacker who can reach WhoDB and operate a MySQL server reachable from the WhoDB host can make the driver answer a `LOAD DATA LOCAL INFILE` request with a file from the WhoDB host. Files are limited to those readable by the WhoDB process, and their contents are sent to the attacker-controlled MySQL server. This is a bypass of the trust boundary introduced while remediating CVE-2025-24787 / GHSA-c7w4-9wv8-7x7c. It has a distinct root cause and affected-version range, so it is tracked separately. ## Affected path The legacy credential middleware decoded attacker-supplied JSON directly into `Credentials`, including `IsProfile`. Inline credentials skipped server-side profile resolution, so the attacker-supplied trust flag survived. When `IsProfile` was true, the shared GORM connection parser copied otherwise-unrecognized advanced options into the MySQL DSN. This allowed `allowAllFiles=true` to enable unrestricted handling of MySQL `LOCAL INFILE` requests. The attack does not require a WhoDB account, an existing session, a CSRF token, or user interaction. ## Maintainer validation The maintainers reproduced the complete data path against the vulnerable code: 1. An unauthenticated Bearer credential containing `IsProfile: true` and `allowAllFiles: true` was accepted. 2. `allowAllFiles` reached the MySQL driver configuration. 3. A controlled MySQL server requested a chosen local file and received its contents byte-for-byte. The issue is confirmed in releases through `0.131.0`. The vulnerable profile-option path first appears in `0.47.0`. ## Impact This permits unauthenticated disclosure of files readable by the WhoDB process. Depending on deployment configuration, those files may include application configuration, environment-backed secrets, database credentials, API keys, or other host data. ## Remediation Commit `06d0670caeffee82bef5b1c9721ae1ccc39cbbcd` fixes the reported route by: - clearing client-supplied `IsProfile` before any credential processing; - restoring profile trust only through server-side saved-profile resolution; and - restricting client overrides of stored profiles to supported database selection, preventing connection targets, secrets, TLS paths, and advanced DSN options from being replaced. Focused authentication and MySQL tests pass on the fixed code. ## Credit Reported by Lee Zhi Yang ([Xeraaaaaaa](https://github.com/Xeraaaaaaa)).

References

Community reviews

Loading reviews…