CVE-2025-57806: Local Deep Research's API keys are stored in plain text
Affected Versions: 0.2.0 and = 1.0.0 Description: The library stored confidential information, including API keys, in a local SQLite database without encryption. This behavior was not clearly documented outside of the database architecture page. Users were not given the ability to configure the database location.
Published Sep 2, 2025
Affected packages
local-deep-research
- Ecosystem
- PyPI
- Affected
- > 0.2.0, < 1.0.0
- Fixed in
- 1.0.0
- Check
pip show local-deep-research
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Affected Versions: > 0.2.0 and < 1.0.0 Patched Versions: >= 1.0.0
Description: The library stored confidential information, including API keys, in a local SQLite database without encryption. This behavior was not clearly documented outside of the database architecture page. Users were not given the ability to configure the database location. As a result, anyone with access to the container or host filesystem could retrieve sensitive data in plaintext by accessing the .db file.
Impact: Unauthorized access to API keys and other confidential data if the SQLite database file was exposed.
Fixed in Version 1.0.0:
- Database is fully encrypted
- Database location is configurable
- API keys can be set via environment variables (this capability existed in earlier versions)
Credited to i-d-lytvynenko.
References
- https://github.com/LearningCircuit/local-deep-research/security/advisories/GHSA-4h8c-qrcq-cv5c
- https://github.com/LearningCircuit/local-deep-research/pull/578
- https://github.com/LearningCircuit/local-deep-research/commit/5a9af8e6bec2e0fbaaf9810c1398f5b429588243
- https://github.com/advisories/GHSA-4h8c-qrcq-cv5c
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-46526
local-deep-research has an SSRF bypass in `safe_get`
medium5.0May 28, 2026CVE-2026-43979
local-deep-research is Vulnerable to HTML Injection via Unescaped User Input in PDF Export (`pdf_service.py:_markdown_to_html`)
medium5.0May 11, 2026CVE-2025-67743
Local Deep Research is Vulnerable to Server-Side Request Forgery (SSRF) in Download Service
medium6.3Dec 23, 2025
