WhoDB: Unauthenticated host file read through forged profile trust
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…
Proof-of-concept code is published
Public PoC
- Public PoCgooglesky/CVE-2026-142651
Signals come from Exploit-DB, Metasploit, Nuclei and published proof-of-concept repositories. Their absence means nothing was found, not that nothing exists.
Assessment
- CVSS
- 8.6 (v3.1)
- Severity
- High
- EPSS
- 0% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Public PoC
- Published
- 3 December 2026
- Last updated
- 3 December 2026
- Affected
- clidey · whodb · github.com/clidey/whodb/core
- Weakness
- CWE-73, CWE-863
- Assigner
- GitHub_M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
At the source
References
- https://github.com/clidey/whodb/security/advisories/GHSA-2mwr-p8j5-rm33
- https://github.com/clidey/whodb/commit/06d0670caeffee82bef5b1c9721ae1ccc39cbbcd
- https://github.com/clidey/whodb/commit/cf6828f1a57fda2ef7889a9e755cc2dffc4b3516
- https://github.com/clidey/whodb/releases/tag/0.134.0
- https://github.com/advisories/GHSA-2mwr-p8j5-rm33
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-142651