{"answers":{"affected":"It affects 20 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-5312 exists.","fix":"No fix has been published for CVE-2026-5312 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-5312 is a medium-severity missing authorization vulnerability in Dlink Dns-320 Firmware, published on 1 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-5312 and fix it if it is affected.\n\nWhat it is: CVE-2026-5312 is a medium-severity missing authorization vulnerability in Dlink Dns-320 Firmware, published on 1 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-5312 exists.\n\nAffected product: Dlink Dns-320 Firmware. 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-2026-5312/ (Markdown: https://insights.sbomify.com/CVE-2026-5312/index.md)","id":"CVE-2026-5312","markdown":"https://insights.sbomify.com/CVE-2026-5312/index.md","name":"CVE-2026-5312","record":{"aliases":["GHSA-mgj3-965m-6684"],"analysis":{"component_type":"network_device","fix_type":"no_fix_stated","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"D-Link NAS device","requires_auth":"none","summary":"Remote attackers can bypass access controls on D-Link NAS devices to access sensitive disk management functions via the dsk_mgr.cgi interface.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"dnr-202l_firmware","vendor":"dlink"},{"product":"dnr-326_firmware","vendor":"dlink"},{"product":"dns-1100-4_firmware","vendor":"dlink"},{"product":"dns-1200-05_firmware","vendor":"dlink"},{"product":"dns-120_firmware","vendor":"dlink"},{"product":"dns-1550-04_firmware","vendor":"dlink"},{"product":"dns-315l_firmware","vendor":"dlink"},{"product":"dns-320_firmware","vendor":"dlink"},{"product":"dns-320l_firmware","vendor":"dlink"},{"product":"dns-320lw_firmware","vendor":"dlink"},{"product":"dns-321_firmware","vendor":"dlink"},{"product":"dns-322l_firmware","vendor":"dlink"},{"product":"dns-323_firmware","vendor":"dlink"},{"product":"dns-325_firmware","vendor":"dlink"},{"product":"dns-326_firmware","vendor":"dlink"},{"product":"dns-327l_firmware","vendor":"dlink"},{"product":"dns-340l_firmware","vendor":"dlink"},{"product":"dns-343_firmware","vendor":"dlink"},{"product":"dns-345_firmware","vendor":"dlink"},{"product":"dns-726-4_firmware","vendor":"dlink"}],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P","version":"4.0"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"},{"id":"CWE-266","name":"Incorrect Privilege Assignment"}],"description":"A weakness has been identified in D-Link DNS-120, DNR-202L, DNS-315L, DNS-320, DNS-320L, DNS-320LW, DNS-321, DNR-322L, DNS-323, DNS-325, DNS-326, DNS-327L, DNR-326, DNS-340L, DNS-343, DNS-345, DNS-726-4, DNS-1100-4, DNS-1200-05 and DNS-1550-04 up to 20260205. Affected by this vulnerability is the function FMT_restart/Status_HDInfo/SMART_List/ScanDisk_info/ScanDisk/volume_status/Get_Volume_Mapping/FMT_check_disk_remount_state/FMT_rebuildinfo/FMT_result_list/FMT_result_list_phy/FMT_get_dminfo/FMT_manually_rebuild_info/Get_current_raidtype of the file /cgi-bin/dsk_mgr.cgi. Executing a manipulation can lead to improper access controls. It is possible to launch the attack remotely. The exploit has been made available to the public and could be used for attacks.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":null,"headline":"D-Link DNS-1550-04 dsk_mgr.cgi Get_current_raidtype access control","id":"CVE-2026-5312","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"dlink:dns-320_firmware","products":["dlink:dns-320_firmware"],"type":"missing_authorization","year":"2026"},"n_packages":0,"n_references":7,"next":{"headline":"Nothings stb GIF Decoder stb_image.h stbi__gif_load_next denial of service","id":"CVE-2026-5313"},"packages":[],"prev":{"headline":"D-Link DNS-1550-04 file_center.cgi Webdav_Access_List access control","id":"CVE-2026-5311"},"products":["DNR-202L","DNR-322L","DNR-326","DNS-1100-4","DNS-120","DNS-1200-05","DNS-1550-04","DNS-315L","DNS-320","DNS-320L","DNS-320LW","DNS-321","DNS-323","DNS-325","DNS-326","DNS-327L","DNS-340L","DNS-343","DNS-345","DNS-726-4"],"published":"2026-04-01","related":[{"cvss_score":9.8,"headline":"D-Link Multiple NAS Devices Use of Hard-Coded Credentials","id":"CVE-2024-3272","kev_date_added":"2024-04-11","published":"2024-04-04"},{"cvss_score":7.3,"headline":"D-Link Multiple NAS Devices Command Injection","id":"CVE-2024-3273","kev_date_added":"2024-04-11","published":"2024-04-04"},{"cvss_score":8.7,"headline":"D-Link DNS-1550-04 app_mgr.cgi UPnP_AV_Server_Path_Del stack-based overflow","id":"CVE-2026-5211","kev_date_added":null,"published":"2026-03-31"},{"cvss_score":8.7,"headline":"D-Link DNS-1550-04 webdav_mgr.cgi Webdav_Upload_File stack-based overflow","id":"CVE-2026-5212","kev_date_added":null,"published":"2026-03-31"},{"cvss_score":8.7,"headline":"D-Link DNS-1550-04 account_mgr.cgi cgi_adduser_to_session stack-based overflow","id":"CVE-2026-5213","kev_date_added":null,"published":"2026-03-31"},{"cvss_score":8.7,"headline":"D-Link DNS-1550-04 account_mgr.cgi cgi_addgroup_get_group_quota_minsize stack-based overflow","id":"CVE-2026-5214","kev_date_added":null,"published":"2026-03-31"},{"cvss_score":8.7,"headline":"D-Link DNS-1550-04 local_backup_mgr.cgi Local_Backup_Info stack-based overflow","id":"CVE-2026-4211","kev_date_added":null,"published":"2026-03-16"}],"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":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-02","vendors":["D-Link"]},"summary":"Remote attackers can bypass access controls on D-Link NAS devices to access sensitive disk management functions via the dsk_mgr.cgi interface.","url":"https://insights.sbomify.com/CVE-2026-5312/"}