CVE-2024-51998 json
Path traversal using file URI scheme without supplying hostname in changedetection.io
published 2024-11-07 2 y ago modified 2026-07-07 4 mo ago also EUVD-2024-3202 , GHSA-6jrf-rcjf-245r , PYSEC-2026-1239
- cvss
- 8.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 52%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi changedetection-io 0.47.6
- dgtlmoon changedetection.io 0.47.06
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.69% chance of exploitation in the next 30 days, higher than 52% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| GitHub | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| OSV | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | changedetection-io | <0.47.6 |
0.47.6 |
Affected products
- dgtlmoon changedetection.io
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/dgtlmoon/changedetection.io/commit/49bc982c697169c98b79698889fb9d26f6b3317f
web
-
github.com
/dgtlmoon/changedetection.io/security/advisories/GHSA-6jrf-rcjf-245r
web
-
github.com
/dgtlmoon/changedetection.io/blob/e0abf0b50507a8a3d0c1d8522ab23519b3e4cdf4/changedetectionio/model/Watch.py#L1
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-51998
advisory
-
github.com
/dgtlmoon/changedetection.io
package
-
github.com
/dgtlmoon/changedetection.io/blob/e0abf0b50507a8a3d0c1d8522ab23519b3e4cdf4/changedetectionio/processors/__init
web
-
github.com
/dgtlmoon/changedetection.io/releases/tag/0.47.06
web
-
pypi.org
/project/changedetection-io
package
-
github.com
/advisories/GHSA-6jrf-rcjf-245r
advisory
Sources
- CVE List CVE-2024-51998
- GitHub Advisory GHSA-6jrf-rcjf-245r
- NVD CVE-2024-51998
- OSV PYSEC-2026-1239
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.