CVE-2026-25527: changedetection.io vulnerable to unauthenticated static path traversal

Published Feb 19, 2026
·
Updated

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

Details The vulnerable code is in changedetectionio/flaskapp.py inside staticcontent():

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

The group sanitization allows dots, so group=".." passes validation. This results in sendfromdirectory("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) docker run -d --name cdio -p 127.0.0.1:5050:5000 -v cdio-data:/datastore cdio-local

2) Reproduce (URL-encoded traversal) curl -i http://127.0.0.1:5050/static/%2e%2e/flaskapp.py

(curl path passthrough) curl --path-as-is -i http://127.0.0.1:5050/static/../flaskapp.py

3) Observe that the response body contains Python source code from flaskapp.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)

Other sources

changedetection.io is a free open source web page change detection tool. In versions prior to 0.53.2, the /static/<group>/<filename> route accepts group="..", which causes sendfromdirectory("static/..", filename) to execute. This moves the base directory up to /app/changedetectionio, enabling unauthenticated local file read of application source files (e.g., flaskapp.py). Version 0.53.2 fixes the issue.

NVD

Affected Software

3 affected componentsFixes available
pypi/changedetection<0.53.2
Webtechnologies Changedetection<0.53.2
pip/changedetection.io<0.53.2
0.53.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/changedetection.io to a version that resolves this vulnerability.

    Fixed in 0.53.2
  2. Upgrade

    Upgrade changedetectionio to a version that resolves this vulnerability.

    Fixed in 0.53.2
  3. Configuration

    Adjust the /static/<group>/<filename> route so that the `group` value can no longer be `..` (the route currently allows dots via `re.sub(r'[^\w.-]+', '', group.lower())`, which enables base-directory shifting through `send_from_directory(f"static/{group}", path=filename)`).

    changedetectionio Flask route /static/<group>/<filename> (static_content) group sanitization (re.sub pattern allowing dots) = re.sub(r'[^\w.-]+', '', group.lower())

Event History

Feb 19, 2026
CVE Published
via MITRE·02:18 PM
Data Sourced
via MITRE·02:18 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jul 20, 2026
Advisory Published
via GitHub·07:06 PM
Data Sourced
via GitHub·07:06 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-25527?

CVE-2026-25527 is considered a medium severity vulnerability due to its potential for unauthorized file access.

2

How do I fix CVE-2026-25527?

To fix CVE-2026-25527, upgrade changedetection.io to version 0.53.2 or later.

3

What impact does CVE-2026-25527 have on my system?

CVE-2026-25527 allows unauthenticated users to perform static path traversal, accessing sensitive files on the server.

4

Which versions of changedetection.io are affected by CVE-2026-25527?

CVE-2026-25527 affects all versions of changedetection.io prior to 0.53.2.

5

Is authentication required to exploit CVE-2026-25527?

No, CVE-2026-25527 can be exploited by unauthenticated users, making it particularly concerning.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203