CVE-2026-142651
## 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 file
Properties
- Summary
- WhoDB: Unauthenticated host file read through forged profile trust
- Severity
- high
- Nvd fetched at
- 2026-12-04T15:00:48.841578+00:00
- Epss score
- 0.00826
- Cvss score
- 8.6
- Cvss severity
- HIGH
- Retrieved at
- 2026-12-04T15:02:58+00:00
- Ghsa published
- 2026-12-03T17:52:26Z
- Source url
- https://github.com/advisories/GHSA-2mwr-p8j5-rm33
- Ghsa updated
- 2026-12-03T17:52:28Z
- Ghsa id
- GHSA-2mwr-p8j5-rm33
- Last source
- FIRST EPSS
- Score
- 8.6
- Cvss version
- 3.1
- Cve id
- CVE-2026-142651
- Cvss vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
- First seen by Signal
- 2026-12-03T18:53:57+00:00
- Name
- CVE-2026-142651
- Is ghsa only
- false
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Related Entities (4)
HAS_WEAKNESS (2)
AFFECTS (1)
VULNERABLE_TO (1)
Related research
Explore deeper with Ninja Signal's threat intelligence graph