CVE-2026-5213 D-Link DNS-1550-04 account_mgr.cgi cgi_adduser_to_session stack-based overflow
Remote attackers can trigger a stack-based buffer overflow in the account manager CGI script to execute arbitrary code on affected D-Link NAS devices.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-5213?
CVE-2026-5213 is a high-severity memory corruption vulnerability in Dlink Dns-320 Firmware, published on 31 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability was determined 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. The affected element is the function cgi_adduser_to_session of the file /cgi-bin/account_mgr.cgi. This manipulation of the argument read_list causes stack-based buffer overflow. It is possible to initiate the attack remotely. The exploit has been publicly disclosed and may be utilized.
Which versions are affected by CVE-2026-5213?
It affects 20 products.
Products include Dlink Dnr-202l Firmware, Dlink Dnr-326 Firmware, Dlink Dns-1100-4 Firmware, Dlink Dns-1200-05 Firmware, Dlink Dns-120 Firmware, Dlink Dns-1550-04 Firmware and 14 more.
How do I fix CVE-2026-5213?
No fix has been published for CVE-2026-5213 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-5213 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-5213 exists.
Other vulnerabilities in Dlink Dns-320 Firmware
- CVE-2024-3272 D-Link Multiple NAS Devices Use of Hard-Coded Credentials
- CVE-2024-3273 D-Link Multiple NAS Devices Command Injection
- CVE-2026-5211 D-Link DNS-1550-04 app_mgr.cgi UPnP_AV_Server_Path_Del stack-based overflow
- CVE-2026-5212 D-Link DNS-1550-04 webdav_mgr.cgi Webdav_Upload_File stack-based overflow
- CVE-2026-5214 D-Link DNS-1550-04 account_mgr.cgi cgi_addgroup_get_group_quota_minsize stack-based overflow
Sources
Also known as GHSA-rgch-x4h6-m876.