High

changedetection.io Vulnerable to Improper Input Validation Leading to LFR/Path Traversal

  • Disclosed: 27.12.2024
  • Updated: 11.10.2026 15:17

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/passwd should pop out.

Screenshots

image image

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) changedetection-io < 0.48.05 0.48.05

References

CVSS score 8.6/10
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.

All (20) in the archive
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

  1. 2023: 1
  2. 2024: 6
  3. 2025: 2
  4. 2026: 11
Severity:
  1. High · 7.5 CVE-2026-41895 <= 0.54.9 no fix
  2. High · 8.6 CVE-2026-27696 < 0.54.1 0.54.1
  3. High CVE-2025-52558 < 0.50.4 0.50.4
  4. changedetection.io Vulnerable to Improper Input Validation Leading to LFR/Path Traversal this entry
    High · 8.6 CVE-2024-56509 < 0.48.05 0.48.05

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.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.