CVE-2022-26258

From Exploited flaws, HARD’s guide to the flaws being used in attacks · Checked
This article is about a flaw in D-Link DIR-820L. For every flaw being used in attacks, see Exploited flaws; for D-Link’s, see D-Link flaws being used in attacks.

CVE-2022-26258 is a security flaw in D-Link DIR-820L, routers for homes and small offices. Attackers can run their own code on D-Link DIR-820L. The US Cybersecurity and Infrastructure Security Agency (CISA) added it to its catalog of flaws known to be used in attacks on 8 Sep 2022.[1]

D-Link DIR-820L is in things households have: home and small-office routers, so the fix matters at home as much as at work. D-Link has published a fix or advice.

Description

CISA calls it a remote code execution in D-Link DIR-820L. In its words: “D-Link DIR-820L contains an unspecified vulnerability in Device Name parameter in /lan.asp which allows for remote code execution.”[1]

The underlying weakness is OS command injection (CWE-78), in MITRE’s list of common software weaknesses.[2]

It scores 9.8 out of 10 on the Common Vulnerability Scoring System, which rates it critical, scored by NVD using CVSS 3.1.[2]

Affected versions

NVD’s record doesn’t list version ranges for it; D-Link’s advisory has them[3]. CISA names the product as D-Link DIR-820L.

Every device with D-Link DIR-820L needs the update.

Exploitation

CISA added it to its catalog of known exploited vulnerabilities on 8 Sep 2022, 164 days after it was made public. CISA lists a flaw only when it has reliable evidence of it being exploited, and gave US federal agencies until 29 Sep 2022 to fix it.[1]

FIRST’s Exploit Prediction Scoring System, which estimates how likely a flaw is to be used in attacks in the next 30 days from what it sees across the internet, puts it at 92%. That’s in the top 1% of the flaws it scores.[4]

CISA assesses it as automatable: attackers can run it against many targets at once.

CISA doesn’t say who was attacked, or how.

Fix

D-Link has published a fix or advice.[3] CISA’s required action: “The impacted product is end-of-life and should be disconnected if still in use.”[1]

  1. Update D-Link DIR-820L now.Open the router’s app, or its admin page in a browser, and look for a firmware update. Then turn on automatic updates, so the next fix arrives on its own.
  2. If the maker has stopped updating it, replace it.Routers stop getting fixes after a few years, and attackers keep a list of the ones that did. If there’s no newer firmware, it won’t be fixed.

Timeline

DateEvent
The flaw is made public in the National Vulnerability Database, with a severity score of 9.8.[2]
CISA adds it to its catalog of flaws known to be used in attacks.[1]
CISA’s deadline for US government agencies to fix it.[1]
FIRST puts the odds of it being used in attacks in the next 30 days at 92%.[4]

See also

Other D-Link flaws

  • CVE-2025-29635, D-Link DIR-823X: command injection ·
  • CVE-2022-37055, D-Link Routers: buffer overflow ·
  • CVE-2022-40799, D-Link DNR-322L: download of code without integrity check ·
  • CVE-2020-25079, D-Link DCS-2530L and DCS-2670L Devices: DCS-2530L and DCS-2670L command injection ·
  • CVE-2020-25078, D-Link DCS-2530L and DCS-2670L Devices: unspecified ·

Other OS command injection flaws

  • CVE-2026-110447, Collabora Online – Built-in CODE Server: online – built-in CODE server OS command injection ·
  • CVE-2026-106931, EG Secure Solutions SiteGuard Server Edition: OS command injection ·
  • CVE-2026-83549, SonicWall SMA1000 Appliances: OS command injection ·
  • CVE-2026-49869, Kestra OSS: OSS OS command injection ·
  • CVE-2026-73570, Synacor Zimbra Collaboration Suite (ZCS): OS command injection ·

Added the same day

  • CVE-2022-3075, Chrome and other Chromium browsers: insufficient data validation ·
  • CVE-2022-27593, QNAP Photo Station: externally controlled reference ·
  • CVE-2020-9934, Apple iOS, iPadOS, and macOS: input validation ·
  • CVE-2018-7445, MikroTik RouterOS: stack-based buffer overflow ·
  • CVE-2018-6530, D-Link Multiple Routers: OS command injection ·

Every D-Link flaw on CISA’s list · Everything added in September 2022

References

  1. ^ Cybersecurity and Infrastructure Security Agency. “D-Link DIR-820L Remote Code Execution Vulnerability”. Known Exploited Vulnerabilities Catalog, added 8 Sep 2022.
  2. ^ National Institute of Standards and Technology. “CVE-2022-26258 Detail”. National Vulnerability Database, published 28 Mar 2022.
  3. ^ D-Link. Advisories and fixes: supportannouncement.us.dlink.com, dlink.com.
  4. ^ FIRST. “Exploit Prediction Scoring System”. EPSS 0.916, percentile 99.8, 31 Oct 2026.
  5. CVE Program. “CVE-2022-26258”. The official CVE record.

This article is built from CISA’s catalog (version 2026.10.30), NVD’s record and FIRST’s scores, kept in HARD’s database and checked every morning. The plain English is HARD’s.