changedetection.io Vulnerable to Improper Input Validation Leading to LFR/Path Traversal
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
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | changedetection-io | < 0.48.05 | 0.48.05 |
References
- https://github.com/dgtlmoon/changedetection.io/security/advisories/GHSA-j5vv-6wjg-cfr8
- https://nvd.nist.gov/vuln/detail/CVE-2024-56509
- https://github.com/dgtlmoon/changedetection.io/commit/4419bc0e61d0b03c588bd573a3602bbcfd953671
- https://github.com/dgtlmoon/changedetection.io/commit/f7e9846c9b40a229813d19cdb66bf60fbe5e6a2a
- https://github.com/dgtlmoon/changedetection.io
- https://pypi.org/project/changedetection-io
- https://github.com/advisories/GHSA-j5vv-6wjg-cfr8
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N- Weakness (CWE)
CWE-200, CWE-22- Platform
- Python (PyPI)
- Package
changedetection-io- Disclosed
- 27.12.2024
- Updated
- 11.10.2026 15:17
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-1242 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-j5vv-6wjg-cfr8 - CC BY 4.0
Vulnerability history: changedetection-io
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 20
- First → latest
- 02.2023 05.2026
- Without a fix
- 1
- Exploited in attacks
- 0
Severity breakdown
- Critical 2
- High 9
- Medium 6
- Low 2
- Unrated 1
Disclosures per year
- 2023: 1
- 2024: 6
- 2025: 2
- 2026: 11
-
changedetection.io Vulnerable to Improper Input Validation Leading to LFR/Path Traversal this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.