{"answers":{"affected":"3 open source packages ship an affected version, including local-deep-research.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-43979 exists.","fix":"Upgrade local-deep-research to 1.6.0 or later.","what":"CVE-2026-43979 is a medium-severity server-side request forgery vulnerability in LearningCircuit local-deep-research, published on 28 May 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-43979 and fix it if it is affected.\n\nWhat it is: CVE-2026-43979 is a medium-severity server-side request forgery vulnerability in LearningCircuit local-deep-research, published on 28 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-43979 exists.\n\nAffected packages and fixed versions:\n- local-deep-research (PyPI): affected all versions; fixed in 1.6.0\n- local-deep-research (PyPI): affected all versions; fixed in 1.6.0\n- local-deep-research (PyPI): affected all versions; fixed in 1.6.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-43979/ (Markdown: https://insights.sbomify.com/CVE-2026-43979/index.md)","id":"CVE-2026-43979","markdown":"https://insights.sbomify.com/CVE-2026-43979/index.md","name":"CVE-2026-43979","record":{"aliases":["GHSA-fj2m-qvh9-jq4q","PYSEC-2026-2610"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["security_bypass","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"AI research assistant","requires_auth":"low_privilege","summary":"An authenticated attacker can inject HTML into PDF exports to trigger Server-Side Request Forgery, bypassing existing defenses and potentially accessing internal resources.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Local Deep Research is an AI-powered research assistant for deep, iterative research. Prior to 1.6.0, PDFService._markdown_to_html() constructs an HTML document by interpolating user-controlled values — specifically title (sourced from research.title or research.query) and metadata key-value pairs — directly into an f-string without any HTML escaping. An authenticated attacker can craft a research query containing HTML special characters to inject arbitrary HTML tags into the document processed by WeasyPrint during PDF export. This injection can be chained to trigger a Server-Side Request Forgery (SSRF), bypassing the application's existing SSRF defenses in ssrf_validator.py. This vulnerability is fixed in 1.6.0.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Local Deep Research: HTML Injection via Unescaped User Input in PDF Export (`pdf_service.py:_markdown_to_html`)","id":"CVE-2026-43979","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"ssrf","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"Malla: Stored XSS via Meshtastic node names in multiple frontend pages","id":"CVE-2026-43980"},"packages":[{"ecosystem":"PyPI","fixed":["1.6.0"],"introduced":["0"],"last_affected":[],"package":"local-deep-research","purl":null,"source":"GHSA-fj2m-qvh9-jq4q"},{"ecosystem":"PyPI","fixed":["1.6.0"],"introduced":["0"],"last_affected":[],"package":"local-deep-research","purl":"pkg:pypi/local-deep-research","source":"GHSA-fj2m-qvh9-jq4q"},{"ecosystem":"PyPI","fixed":["1.6.0"],"introduced":["0"],"last_affected":[],"package":"local-deep-research","purl":"pkg:pypi/local-deep-research","source":"PYSEC-2026-2610"}],"prev":{"headline":"wger: Privilege escalation via trainer-login session chaining allows gym trainers to impersonate gym managers","id":"CVE-2026-43978"},"products":["local-deep-research"],"published":"2026-05-28","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-28","vendors":["LearningCircuit"]},"summary":"An authenticated attacker can inject HTML into PDF exports to trigger Server-Side Request Forgery, bypassing existing defenses and potentially accessing internal resources.","url":"https://insights.sbomify.com/CVE-2026-43979/"}