{"id":"CVE-2024-51998","published":"2024-11-07T23:34:07Z","modified":"2024-11-08T15:24:19Z","title":"Path traversal using file URI scheme without supplying hostname in changedetection.io","vendor":"dgtlmoon","product":"changedetection.io","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00688,"percentile":0.53656,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/dgtlmoon/changedetection.io/security/advisories/GHSA-6jrf-rcjf-245r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/dgtlmoon/changedetection.io/commit/49bc982c697169c98b79698889fb9d26f6b3317f","tags":["x_refsource_MISC"]},{"url":"https://github.com/dgtlmoon/changedetection.io/blob/e0abf0b50507a8a3d0c1d8522ab23519b3e4cdf4/changedetectionio/model/Watch.py#L11-L13","tags":["x_refsource_MISC"]}],"priority":{"score":16.8,"factors":[{"name":"EPSS percentile","points":10.73},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"dgtlmoon","affectedVersions":[{"vendor":"dgtlmoon","product":"changedetection.io","versions":["< 0.47.06"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2024-11-08T15:23:17.548868Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"changedetection.io","vulnerableRanges":["<0.47.6"],"patched":["0.47.6"],"from":["GHSA-6jrf-rcjf-245r","PYSEC-2026-1239"],"provenance":"source"}],"summary":{"text":"A path traversal flaw in changedetection.io's URL validation lets the file: URI scheme slip past the check that should block local file access, because the scheme is accepted without the usual double slashes. An unauthenticated attacker with network access can exploit it to read arbitrary files on the server, but only on instances where a webdriver is enabled and ALLOW_FILE_URI is false or unset.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:52:37Z"},"euvd":{"id":"EUVD-2024-3202","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-dgtlmoon-changedetection-io-cve-2024-51998","children":[{"from":"CVE-2024-51998","to":"CVE-2024-56509","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["changedetectionio/processors/__init__.py"],"commits":["https://github.com/dgtlmoon/changedetection.io/commit/49bc982c697169c98b79698889fb9d26f6b3317f","https://github.com/dgtlmoon/changedetection.io/commit/f7e9846c9b40a229813d19cdb66bf60fbe5e6a2a","https://github.com/dgtlmoon/changedetection.io/commit/4419bc0e61d0b03c588bd573a3602bbcfd953671"],"basis":"shared function","functions":["call_browser"]}]}],"packageHistory":[{"cve":"CVE-2024-32651","published":"2024-04-25","fixed":"0.45.21","kev":false},{"cve":"CVE-2024-34061","published":"2024-05-02","fixed":"0.45.22","kev":false},{"cve":"CVE-2024-51483","published":"2024-11-01","fixed":"0.47.5","kev":false,"link":{"from":"CVE-2024-51483","to":"CVE-2024-51998","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:changedetection.io","fromFixed":"0.47.5","toFixed":"0.47.6","daysApart":6}]}},{"cve":"CVE-2024-51998","published":"2024-11-07","fixed":"0.47.6","kev":false},{"cve":"CVE-2024-56509","published":"2024-12-27","fixed":"0.48.05","kev":false},{"cve":"CVE-2025-52558","published":"2025-06-23","fixed":"0.50.4","kev":false},{"cve":"CVE-2025-62780","published":"2025-11-10","fixed":"0.50.34","kev":false}],"package":"PyPI:changedetection.io"}}