PyPI: local-deep-research

CVE-2025-67743

Safety vulnerability ID: SFTY-20251223-34836

Safety legacy ID: pyup.io-83244

Affected versions of the local-deep-research package are vulnerable to Server-Side Request Forgery (SSRF) due to the download service making outbound HTTP requests without applying the project’s SSRF validation. The issue occurs in src/local_deep_research/research_library/services/download_service.py, where _download_generic and related download paths call requests.get() directly instead of the guarded request helpers in security/safe_requests.py/security/ssrf_validator.py, and attacker-controlled URLs can be introduced via POST /api/resources/<research_id> (stored by resource_service.py:add_resource()) and later fetched via /library/api/download/<resource_id>.

Created at: May 22, 2026Updated at: May 22, 2026

Overview

Local Deep Research is Vulnerable to Server-Side Request Forgery (SSRF) in Download Service

Advisory

Affected versions of the local-deep-research package are vulnerable to Server-Side Request Forgery (SSRF) due to the download service making outbound HTTP requests without applying the project’s SSRF validation. The issue occurs in src/local_deep_research/research_library/services/download_service.py, where _download_generic and related download paths call requests.get() directly instead of the guarded request helpers in security/safe_requests.py/security/ssrf_validator.py, and attacker-controlled URLs can be introduced via POST /api/resources/<research_id> (stored by resource_service.py:add_resource()) and later fetched via /library/api/download/<resource_id>.

Affected Package

Affecting local-deep-research package, versions
>=1.3.0,<1.3.9

Also affects

---

How to Fix

Upgrade
local-deep-research
to
1.3.9
or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more