# CVE-2024-51998: Path traversal using file URI scheme without supplying hostname in changedetection.io

- Severity: High 8.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.69%, higher than 54% of CVEs (2026-12-02)
- Published: 2024-11-07T22:00:58.000Z
- Modified: 2026-07-07T17:56:52.726Z
- Also known as: GHSA-6jrf-rcjf-245r, PYSEC-2026-1239
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

changedetection.io is a free open source web page change detection tool. The validation for the file URI scheme falls short, and results in an attacker being able to read any file on the system. This issue only affects instances with a webdriver enabled, and `ALLOW_FILE_URI` false or not defined. The check used for URL protocol, `is_safe_url`, allows `file:` as a URL scheme. It later checks if local files are permitted, but one of the preconditions for the check is that the URL starts with `file://`. The issue comes with the fact that the file URI scheme is not required to have double slashes. This issue has been addressed in version 0.47.06 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

(As written by CVE List.)

## Affected

- dgtlmoon changedetection.io: < 0.47.06; before 0.47.06
- changedetection-io (PyPI): before 0.47.6

## Every score

- GitHub_M: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N`
- PyPA Advisory Database: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N`

## References

- <https://github.com/dgtlmoon/changedetection.io/security/advisories/GHSA-6jrf-rcjf-245r> (web)
- <https://github.com/dgtlmoon/changedetection.io/commit/49bc982c697169c98b79698889fb9d26f6b3317f> (web)
- <https://github.com/dgtlmoon/changedetection.io/blob/e0abf0b50507a8a3d0c1d8522ab23519b3e4cdf4/changedetectionio/model/Watch.py#L11-L13> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-51998> (advisory)
- <https://github.com/dgtlmoon/changedetection.io> (package)
- <https://github.com/dgtlmoon/changedetection.io/blob/e0abf0b50507a8a3d0c1d8522ab23519b3e4cdf4/changedetectionio/processors/__init__.py#L37-L41> (web)
- <https://github.com/dgtlmoon/changedetection.io/releases/tag/0.47.06> (web)
- <https://pypi.org/project/changedetection-io> (package)
- <https://github.com/advisories/GHSA-6jrf-rcjf-245r> (advisory)

## Sources

- CVE List: [CVE-2024-51998](https://www.cve.org/CVERecord?id=CVE-2024-51998), CVE Terms of Use, modified 2024-11-08
- GitHub Advisory Database: [GHSA-6jrf-rcjf-245r](https://github.com/advisories/GHSA-6jrf-rcjf-245r), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2024-51998](https://nvd.nist.gov/vuln/detail/CVE-2024-51998), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1239](https://osv.dev/vulnerability/PYSEC-2026-1239), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2024-51998 · Whole record: https://cve.day/CVE-2024-51998.json · Rebuilt by cve.day 2026-11-25T22:58:47.893Z
