{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2025-31703 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2025-31703 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-31703 is a low-severity authentication bypass vulnerability in dahua NVR2-4KS3, published on 18 Mar 2026. 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-31703 and fix it if it is affected.\n\nWhat it is: CVE-2025-31703 is a low-severity authentication bypass vulnerability in dahua NVR2-4KS3, published on 18 Mar 2026. 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-31703 in the wild and no public exploit code.\n\nAffected product: dahua NVR2-4KS3. 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-31703/ (Markdown: https://insights.sbomify.com/CVE-2025-31703/index.md)","id":"CVE-2025-31703","markdown":"https://insights.sbomify.com/CVE-2025-31703/index.md","name":"CVE-2025-31703","record":{"aliases":["GHSA-26qr-26wf-xv6x"],"analysis":{"component_type":"iot_embedded","fix_type":"no_fix_stated","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Dahua NVR/XVR","requires_auth":"none","summary":"Attackers with physical access can bypass serial port authentication to gain restricted shell access and escalate privileges on Dahua NVR/XVR devices.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"dahua","cpe":[],"cvss":{"score":2.4,"severity":"low","source":"cna","vector":"CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N","version":"4.0"},"cwes":[{"id":"CWE-305","name":"Authentication Bypass by Primary Weakness"}],"description":"A vulnerability found in Dahua NVR/XVR device. A third-party malicious attacker with physical access to the device may gain access to a restricted shell via the serial port, and bypasses the shell's authentication mechanism to escalate privileges.","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":"Auth bypass in NVR2-4KS3","id":"CVE-2025-31703","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"auth_bypass","year":"2025"},"n_packages":0,"n_references":1,"next":{"headline":"Command injection in SC9863A/T606/T612/T616/T750/T765/T760/T770/T820/S8000/T8300/T9300","id":"CVE-2025-31710"},"packages":[],"prev":{"headline":"Missing authorization in IPC","id":"CVE-2025-31702"},"products":["NVR2-4KS3","XVR1B16H-I/T","XVR4232AN-I/T"],"published":"2026-03-18","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"partial"},"state":"PUBLISHED","updated":"2026-03-18","vendors":["dahua"]},"summary":"Attackers with physical access can bypass serial port authentication to gain restricted shell access and escalate privileges on Dahua NVR/XVR devices.","url":"https://insights.sbomify.com/CVE-2025-31703/"}