# CVE-2024-0769: D-Link DIR-859 Router Path Traversal

> Remote attackers can exploit a path traversal vulnerability in the D-Link DIR-859 router to read arbitrary files, requiring replacement of the end-of-life device.

- **Severity:** Medium 5.3 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`)
- **Exploited in the wild:** Yes, since 25 Jun 2025 (CISA KEV)
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 21 Jan 2024
- **Updated:** 21 Oct 2025
- **Also known as:** GHSA-w828-74x3-f6hx

## What is CVE-2024-0769?

CVE-2024-0769 is a medium-severity path traversal vulnerability in D-Link DIR-859, published on 21 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

** UNSUPPORTED WHEN ASSIGNED ** A vulnerability was found in D-Link DIR-859 1.06B01. It has been rated as critical. Affected by this issue is some unknown functionality of the file /hedwig.cgi of the component HTTP POST Request Handler. The manipulation of the argument service with the input ../../../../htdocs/webinc/getcfg/DHCPS6.BRIDGE-1.xml leads to path traversal. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. VDB-251666 is the identifier assigned to this vulnerability. NOTE: This vulnerability only affects products that are no longer supported by the maintainer. NOTE: Vendor was contacted early and confirmed immediately that the product is end-of-life. It should be retired and replaced.

Weakness: CWE-22 (Improper Limitation of a Pathname to a Restricted Directory)

## Which versions are affected by CVE-2024-0769?

It affects 1 product.


Products: Dlink Dir-859 Firmware.

## How do I fix CVE-2024-0769?

No fix has been published for CVE-2024-0769 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 16 Jul 2025.

## Is CVE-2024-0769 being exploited?

Yes. Attackers have exploited CVE-2024-0769 in the wild since at least 25 Jun 2025.

## Other vulnerabilities in D-Link DIR-859

- [CVE-2019-20215](https://insights.sbomify.com/CVE-2019-20215/): Command injection in n/a (critical 9.8)
- [CVE-2019-20216](https://insights.sbomify.com/CVE-2019-20216/): Command injection in n/a (critical 9.8)
- [CVE-2019-20217](https://insights.sbomify.com/CVE-2019-20217/): Command injection in n/a (critical 9.8)
- [CVE-2023-36092](https://insights.sbomify.com/CVE-2023-36092/): Auth bypass in n/a (high 8.8)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2024-0769 and fix it if it is affected.

What it is: CVE-2024-0769 is a medium-severity path traversal vulnerability in D-Link DIR-859, published on 21 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: Yes. Attackers have exploited CVE-2024-0769 in the wild since at least 25 Jun 2025.

Affected product: D-Link DIR-859. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. 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.
2. 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.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2024-0769/ (Markdown: https://insights.sbomify.com/CVE-2024-0769/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2024-0769
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2024-0769
- OSV: https://osv.dev/vulnerability/CVE-2024-0769

---
From sbomify Insights: https://insights.sbomify.com/CVE-2024-0769/
Summaries are generated and may contain mistakes; the official description above is the record.
