{"answers":{"affected":"It affects 13 products.","exploited":"There is no known exploitation of CVE-2025-7851 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2025-7851 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-7851 is a high-severity vulnerability in TP-Link Systems Inc. Festa gateways, published on 21 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-7851 and fix it if it is affected.\n\nWhat it is: CVE-2025-7851 is a high-severity vulnerability in TP-Link Systems Inc. Festa gateways, published on 21 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-7851 in the wild and no public exploit code.\n\nAffected product: TP-Link Systems Inc. Festa gateways. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2025-7851/ (Markdown: https://insights.sbomify.com/CVE-2025-7851/index.md)","id":"CVE-2025-7851","markdown":"https://insights.sbomify.com/CVE-2025-7851/index.md","name":"CVE-2025-7851","record":{"aliases":["GHSA-q2rh-fc48-r3gw"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Omada gateway","requires_auth":"high_privilege","summary":"Attackers can gain root shell access on TP-Link Omada gateways via debug functionality, requiring specific restricted conditions.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"TPLink","cpe":[{"product":"er605_firmware","vendor":"tp-link"},{"product":"er706w-4g_firmware","vendor":"tp-link"},{"product":"er706w_firmware","vendor":"tp-link"},{"product":"er707-m2_firmware","vendor":"tp-link"},{"product":"er7206_firmware","vendor":"tp-link"},{"product":"er7212pc_firmware","vendor":"tp-link"},{"product":"er7412-m2_firmware","vendor":"tp-link"},{"product":"er8411_firmware","vendor":"tp-link"},{"product":"fr205_firmware","vendor":"tp-link"},{"product":"fr307-m2_firmware","vendor":"tp-link"},{"product":"fr365_firmware","vendor":"tp-link"},{"product":"g36_firmware","vendor":"tp-link"},{"product":"g611_firmware","vendor":"tp-link"}],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:A/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:H","version":"4.0"},"cwes":[{"id":"CWE-269","name":"Improper Privilege Management"}],"description":"An attacker may obtain the root shell on the underlying OS system with the restricted conditions on Omada gateways.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Unauthorized root access via debug functionality","id":"CVE-2025-7851","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2025"},"n_packages":0,"n_references":5,"next":{"headline":"WPBookit \u003c= 1.0.6 - Unauthenticated Arbitrary File Upload via image_upload_handle Function","id":"CVE-2025-7852"},"packages":[],"prev":{"headline":"Authenticated OS command execution","id":"CVE-2025-7850"},"products":["Festa gateways","Omada Pro gateways","Omada gateways"],"published":"2025-10-21","related":[{"cvss_score":9.3,"headline":"OS command injection in multiple parameters","id":"CVE-2025-6542","kev_date_added":null,"published":"2025-10-21"},{"cvss_score":9.3,"headline":"Authenticated OS command execution","id":"CVE-2025-7850","kev_date_added":null,"published":"2025-10-21"},{"cvss_score":8.6,"headline":"OS command injection using information obtained from the web management interface","id":"CVE-2025-6541","kev_date_added":null,"published":"2025-10-21"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-24","vendors":["TP-Link Systems Inc."]},"summary":"Attackers can gain root shell access on TP-Link Omada gateways via debug functionality, requiring specific restricted conditions.","url":"https://insights.sbomify.com/CVE-2025-7851/"}