Security Advisory

CVE-2022-26258: D-Link DIR-820L Device Name RCE

Last updated:
  • CVE-2022-26258

CVE-2022-26258 is a remote command execution flaw in D-Link DIR-820L router firmware 1.05B03, reached through the Device Name parameter of the LAN settings page. NVD scores it 9.8 and CISA lists it in KEV. The DIR-820L has been end of life since 2017 and D-Link offers no fix; retire and replace the router.

Vulnerability summary

CVSS base score

9.8

Critical severity

EPSS score (FIRST)

91.6%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

Yes

Listed as known exploited

Published

Vulnerability ID: CVE-2022-26258 · Source: NVD

Affected components

ComponentCPEVersion range
D-Link DIR-820Lcpe:2.3:o:dlink:dir-820l_firmware:1.05b03:*:*:*:*:*:*:*Firmware 1.05B03 (NVD); D-Link SAP10295 covers all hardware revisions and all firmware, end of support 2017-11-01, no fix, retire and replace

What does this mean for affected devices?

CVE-2022-26258 is an OS command injection (CWE-78) in D-Link DIR-820L firmware 1.05B03. The CVE record says the router "was discovered to contain remote command execution (RCE) vulnerability via HTTP POST to get set ccp" (NVD, CVE record); CISA's KEV entry locates it in the "Device Name parameter" of /lan.asp. NVD's Primary score is 9.8, CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, and 7.5 in NVD CVSS v2; CISA's ADP entry gives the same 9.8 vector. NVD's CPE configuration names only firmware 1.05B03.

Which DIR-820L versions are affected?

D-Link's announcement SAP10295, published 5 April 2022 and last updated 21 November 2025, is titled "DIR-820L :: All Revisions :: All Firmware". It lists the DIR-820L, all hardware revisions, with an end-of-support date of 2017-11-01 and a link to its legacy website. The November 2025 update adds a second report against firmware v1.06b02, an access control flaw in the same get_set.ccp function on the LAN side, so the last firmware D-Link published is not a safe harbour either.

How do you fix CVE-2022-26258?

There is no fixed firmware. D-Link says that when products reach end of life "all firmware development for these products cease", and it recommends that DIR-820L devices "be retired and replaced". CISA's KEV entry gives the same instruction: "The impacted product is end-of-life and should be disconnected if still in use." Until the router is gone, keep its web interface unreachable from the internet; our guide to internet-exposed management interfaces covers why that matters for KEV-listed devices. For firmware teams, the command injection fix guide shows how a field such as a device name should be validated before any shell call.

Is CVE-2022-26258 exploited?

Yes. CISA added it to the KEV catalog on 2022-09-08 as "D-Link DIR-820L Remote Code Execution Vulnerability", with a due date of 2022-09-29; known ransomware campaign use is Unknown. It is listed as of 2026-11-24 (catalog version 2026.11.23). FIRST EPSS gives it 0.91632, the 99.82nd percentile, in the 2026-11-23 dataset (FIRST EPSS). The same router is named in two other KEV entries: the DDNS injection CVE-2021-45382 and the ping.ccp injection CVE-2023-25280.

How to fix this class of issueThis advisory's weakness class is Command injection. Our practical guide covers how to detect, fix, verify and disclose it: How to fix command injection in embedded firmware.

Evidence

  • NVD (Analyzed, read 2026-11-24): [email protected] Primary CVSS 3.1 9.8 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, CVSS v2 Primary 7.5; CISA-ADP Secondary 9.8; CWE-78; CPE dir-820l_firmware 1.05b03; published 2022-03-28. — NVD
  • D-Link SAP10295 (published 2022-04-05, updated 2025-11-21): DIR-820L all revisions, all firmware, EOL/EOS; end of support 11/01/2017; report 1 CVE-2022-26258; report 2 (11/21/2025) firmware v1.06b02 improper access control via get_set.ccp on LAN side; recommends retire and replace. — D-Link
  • CISA KEV catalog 2026.11.23: dateAdded 2022-09-08, due 2022-09-29, Device Name parameter in /lan.asp, knownRansomwareCampaignUse Unknown, CWE-78; required action: end-of-life, disconnect; checked 2026-11-24. — CISA KEV
  • EPSS 0.91632, percentile 0.99818, dataset 2026-11-23, read 2026-11-24. — FIRST EPSS
  • CVE record PUBLISHED 2022-03-27 (assigner MITRE). — CVE.org

Related advisories

Sources

  1. NVD
  2. D-Link SAP10295: DIR-820L, All Revisions, All Firmware, End of Support / End of Life, CVE-2022-26258
  3. CVE.org record CVE-2022-26258
  4. CISA KEV
  5. FIRST EPSS

Frequently asked questions

Which D-Link DIR-820L firmware is affected by CVE-2022-26258?

The CVE record and NVD name firmware 1.05B03. D-Link's announcement covers the DIR-820L, all hardware revisions and all firmware, as an end-of-life product (per NVD and D-Link SAP10295).

Is there a firmware update for CVE-2022-26258?

No. The DIR-820L reached end of support on 2017-11-01, firmware development has stopped, and D-Link recommends retiring and replacing it. CISA's KEV entry says to disconnect it if still in use (per D-Link SAP10295 and CISA KEV).

Is CVE-2022-26258 exploited in the wild?

Yes. CISA added it to the KEV catalog on 2022-09-08, and it is listed as of 2026-11-24 (catalog version 2026.11.23) with ransomware use marked Unknown. FIRST EPSS gives it 0.91632, the 99.82nd percentile, in the 2026-11-23 dataset (per CISA KEV and FIRST EPSS).

Does the last DIR-820L firmware fix the problem?

D-Link does not say so. Its announcement was updated in November 2025 with a further report against firmware v1.06b02, an improper access control flaw in the same get_set.ccp function, and it still lists no fixed firmware (per D-Link SAP10295).