Medium

changedetection.io is vulnerable to unauthenticated static path traversal

  • Disclosed: 19.02.2026
  • Updated: 11.10.2026 14:18

Summary

The /static/<group>/<filename> route accepts group="..", which causes send_from_directory("static/..", filename) to execute. This moves the base directory up to /app/changedetectionio, enabling unauthenticated local file read of application source files (e.g., flask_app.py). Severity is low information disclosure (C:L).

Details

The vulnerable code is in changedetectionio/flask_app.py inside static_content():

group = re.sub(r'[^\w.-]+', '', group.lower())
filename = re.sub(r'[^\w.-]+', '', filename.lower())
...
return send_from_directory(f"static/{group}", path=filename)

The group sanitization allows dots, so group=".." passes validation.
This results in send_from_directory("static/..", filename), effectively shifting the base directory to /app/changedetectionio and allowing reads of files in that directory.
The route is unauthenticated, so any user can retrieve source files without logging in.

Limitation: the route only matches /static/<group>/<filename> and rejects slashes inside filename, so it cannot traverse further to arbitrary system paths like /etc/passwd. It is limited to files inside the application package directory.

PoC

  1. Start an instance (example: Docker on port 5050)
bash
docker run -d --name cdio -p 127.0.0.1:5050:5000 -v cdio-data:/datastore cdio-local
  1. Reproduce
    (URL-encoded traversal)
bash
curl -i http://127.0.0.1:5050/static/%2e%2e/flask_app.py

(curl path passthrough)

bash
curl --path-as-is -i http://127.0.0.1:5050/static/../flask_app.py
  1. Observe that the response body contains Python source code from flask_app.py.

Impact

  • Vulnerability type: Directory Traversal / Local File Read
  • Affected users: Anyone with network access (no authentication required)
  • Scope: Source files under /app/changedetectionio
  • Security impact: Internal logic exposure can aid further exploitation (Confidentiality: Low)

Affected software

Click a technology to see all vulnerabilities affecting it.

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

References

CVSS score 5.3/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness (CWE)
CWE-22
Platform
Python (PyPI)
Package
changedetection-io
Disclosed
19.02.2026
Updated
11.10.2026 14:18

Sources and licenses

OSV / GitHub Advisory Database - PYSEC-2026-2124 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-9jj8-v89v-xjvw - 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. changedetection.io is vulnerable to unauthenticated static path traversal this entry
    Medium · 5.3 CVE-2026-25527 < 0.53.2 0.53.2
  4. High CVE-2025-52558 < 0.50.4 0.50.4

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.