8.6high
changedetection.io has Improper Input Validation Leading to LFR/Path Traversal
- Severity
- 8.6high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.86% (higher than 59% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-j5vv-6wjg-cfr8PYSEC-2026-1242
Description
changedetection.io is a free open source web page change detection, website watcher, restock monitor and notification service. Improper input validation in the application can allow attackers to perform local file read (LFR) or path traversal attacks. These vulnerabilities occur when user input is used to construct file paths without adequate sanitization or validation. For example, using file:../../../etc/passwd or file: ///etc/passwd can bypass weak validations and allow unauthorized access to sensitive files. Even though this has been addressed in previous patch, it is still insufficient. This vulnerability is fixed in 0.48.05.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| dgtlmoon changedetection.io | < 0.48.05 | CVE List |
| changedetection-io (PyPI) | before 0.48.05 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| GitHub_M | 8.6high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| GitHub | 8.6high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| PyPA Advisory Database | 8.6high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
Classification
What each source says
CVE List
changedetection.io is a free open source web page change detection, website watcher, restock monitor and notification service. Improper input validation in the application can allow attackers to perform local file read (LFR) or path traversal attacks. These vulnerabilities occur when user input is used to construct file paths without adequate sanitization or validation. For example, using file:../../../etc/passwd or file: ///etc/passwd can bypass weak validations and allow unauthorized access to sensitive files. Even though this has been addressed in previous patch, it is still insufficient. This vulnerability is fixed in 0.48.05.
GitHub Advisory Database
Summary
Improper input validation in the application can allow attackers to perform local file read (LFR) or path traversal attacks. These vulnerabilities occur when user input is used to construct file paths without adequate sanitization or validation. For example, using file:../../../etc/passwd or file: ///etc/passwd can bypass weak validations and allow unauthorized access to sensitive files. Even though this has been addressed in previous patch, it is still insufficient.
Details
The check in this line of code is insufficient.
if re.search(r'^file:/', url.strip(), re.IGNORECASE):
The attacker can still bypass this by using:
-file:../../../../etc/passwd
-file: ///etc/passwd (with space before /)
PoC
- Open up a changedetection.io instance with a webdriver configured.
- Create a new watch with
file:../../../../etc/passwd. - Check the watch preview.
- The contents of
/etc/passwdshould pop out.
Screenshots
NVD (es)
changedetection.io es un servicio gratuito de código abierto de detección de cambios en páginas web, vigilancia de sitios web, monitorización de reabastecimiento y notificación. La validación incorrecta de la entrada en la aplicación puede permitir a los atacantes realizar ataques de lectura local de archivos (LFR) o de path traversal. Estas vulnerabilidades ocurren cuando la entrada del usuario se utiliza para construir rutas de archivos sin una desinfección o validación adecuadas. Por ejemplo, el uso de file:../../../etc/passwd o file: ///etc/passwd puede eludir validaciones débiles y permitir el acceso no autorizado a archivos confidenciales. Aunque esto se ha solucionado en un parche anterior, sigue siendo insuficiente. Esta vulnerabilidad se ha corregido en la versión 0.48.05.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-56509 changed 2024-12-27 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-j5vv-6wjg-cfr8 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2024-56509 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-1242 changed 2026-07-07 | CC-BY-4.0 |