Vulnerabilities in pkg:pypi/changedetection.io

PACKAGE
Advisory Identifier: GHSA-9jj8-v89v-xjvw
Advisory Summary

CVE-2026-25527 is a MODERATE (CVSS 5.3) path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Changedetection.io libraries in the PyPI ecosystem. The issue involves changedetection.io is vulnerable to unauthenticated static path traversal. Remediation is available by upgrading affected packages to version 0.53.2.

19 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/changedetection.io

19 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/changedetection.io. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-9jj8-v89v-xjvw CVE-2026-25527 MODERATE changedetection.io is vulnerable to unauthenticated static path traversal
GHSA-8757-69j2-hx56 CVE-2026-43891 HIGH changedetection.io has an Arbitrary Local File Read via a crafted backup restore
GHSA-v7cp-2cx9-x793 CVE-2026-41895 HIGH changedetection.io project has an XXE vulnerability
GHSA-jmrh-xmgh-x9j4 CVE-2026-35490 CRITICAL changedetection.io Vulnerable to Authentication Bypass via Decorator Ordering
GHSA-4c3j-3h7v-22q9 CVE-2025-62780 LOW changedetection.io: Stored XSS in Watch update via API
GHSA-58r7-4wr5-hfx8 CVE-2026-33981 HIGH Changedetection.io Discloses Environment Variables via jq env Builtin in Include Filters
GHSA-25g8-2mcf-fcx9 CVE-2026-29065 HIGH changedetection.io has Zip Slip vulnerability in the backup restore functionality
GHSA-6fmw-82m7-jq6p CVE-2026-29039 HIGH changedetection.io vulnerable to XPath - Arbitrary File Read via unparsed-text()
GHSA-8whx-v8qq-pq64 CVE-2026-29038 MODERATE changedetection.io has Reflected XSS in its RSS Tag Error Response
GHSA-3c45-4pj5-ch7m CVE-2026-27696 HIGH changedetection.io is Vulnerable to SSRF via Watch URLs
GHSA-mw8m-398g-h89w CVE-2026-27645 MODERATE changedetection.io Vulnerable to Reflected XSS in RSS Single Watch Error Response
GHSA-4r7v-whpg-8rx3 CVE-2024-32651 CRITICAL changedetection.io has a Server Side Template Injection using Jinja2 which allows Remote Command Execution
GHSA-hwpg-x5hw-vpv9 CVE-2025-52558 HIGH ChangeDetection.io XSS in watch overview
GHSA-68wj-c2jw-5pp9 CVE-2023-24769 MODERATE Stored cross site scripting in changedetection.io
GHSA-j5vv-6wjg-cfr8 CVE-2024-56509 HIGH changedetection.io Vulnerable to Improper Input Validation Leading to LFR/Path Traversal
GHSA-6jrf-rcjf-245r CVE-2024-51998 HIGH changedetection.io path traversal using file URI scheme without supplying hostname
GHSA-cwgg-57xj-g77r CVE-2024-51483 MODERATE changedetection.io Path Traversal
GHSA-hcvp-2cc7-jrwr CVE-2024-23329 LOW changedetection.io API endpoint is not secured with API token
GHSA-pwgc-w4x9-gw67 CVE-2024-34061 MODERATE changedetection.io Cross-site Scripting vulnerability

CVE-2026-25527 at a Glance

CVE Identifier CVE-2026-25527
GHSA Identifier GHSA-9jj8-v89v-xjvw
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Product Changedetection.io
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2026-25527

To remediate this vulnerability, upgrade all affected Changedetection.io dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

changedetection.io fixed: 0.53.2
pip install changedetection.io>=0.53.2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show changedetection.io

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2026-25527, inspect your installed packages using pip:

pip show changedetection.io

Analyze the terminal output to locate any version of Changedetection.io in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.53.2), your application is affected.

Note: The pip show changedetection.io command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Changedetection.io, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## 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) ``` 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/flask_app.py ``` **(curl path passthrough)** ``` curl --path-as-is -i http://127.0.0.1:5050/static/../flask_app.py ``` 3) 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)

CVE-2026-25527 Affected Changedetection.io Versions

1 component(s)
Fixed Versions:
0.53.2
Product / Package Ecosystem Affected Versions Fixed Version
changedetection.io
PyPI
< 0.53.2
0.53.2

References

Frequently Asked Questions

What is CVE-2026-25527?
CVE-2026-25527 is a security vulnerability in Changedetection.io involving changedetection.io is vulnerable to unauthenticated static path traversal under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal').
Which Changedetection.io versions are affected?
Affected versions include releases prior to 0.53.2 across affected packages: changedetection.io.
What version fixes CVE-2026-25527?
Upgrading to 0.53.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is changedetection.io affected?
Yes, changedetection.io is affected in releases prior to 0.53.2. Upgrade your dependency to 0.53.2 or later.
What is the CVSS score of CVE-2026-25527?
CVE-2026-25527 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2026-25527?
CVE-2026-25527 is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.).
How can I check PyPI dependencies for CVE-2026-25527?
Run the dependency tree command: 'pip show changedetection.io'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-9jj8-v89v-xjvw",
  "modified" : "2026-07-20T19:06:55Z",
  "published" : "2026-07-20T19:06:55Z",
  "aliases" : [ "CVE-2026-25527" ],
  "summary" : "changedetection.io is vulnerable to unauthenticated static path traversal",
  "details" : "## Summary\nThe `/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)**.\n\n### Details\nThe vulnerable code is in `changedetectionio/flask_app.py` inside `static_content()`:\n\n```\ngroup = re.sub(r'[^\\w.-]+', '', group.lower())\nfilename = re.sub(r'[^\\w.-]+', '', filename.lower())\n...\nreturn send_from_directory(f\"static/{group}\", path=filename)\n```\n\nThe `group` sanitization allows dots, so `group=\"..\"` passes validation.  \nThis results in `send_from_directory(\"static/..\", filename)`, effectively shifting the base directory to `/app/changedetectionio` and allowing reads of files in that directory.  \nThe route is unauthenticated, so **any user can retrieve source files** without logging in.\n\n> 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.\n\n### PoC\n1) Start an instance (example: Docker on port 5050)\n```\ndocker run -d --name cdio -p 127.0.0.1:5050:5000 -v cdio-data:/datastore cdio-local\n```\n\n2) Reproduce  \n**(URL-encoded traversal)**\n```\ncurl -i http://127.0.0.1:5050/static/%2e%2e/flask_app.py\n```\n\n**(curl path passthrough)**\n```\ncurl --path-as-is -i http://127.0.0.1:5050/static/../flask_app.py\n```\n\n3) Observe that the response body contains Python source code from `flask_app.py`.\n\n### Impact\n- **Vulnerability type:** Directory Traversal / Local File Read\n- **Affected users:** Anyone with network access (no authentication required)\n- **Scope:** Source files under `/app/changedetectionio`\n- **Security impact:** Internal logic exposure can aid further exploitation (Confidentiality: Low)",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "changedetection.io"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.53.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/dgtlmoon/changedetection.io/security/advisories/GHSA-9jj8-v89v-xjvw"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-25527"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/dgtlmoon/changedetection.io/commit/9d38b4517364831889b5b0d7b3465fd060403fd4"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/dgtlmoon/changedetection.io"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/changedetection-io/PYSEC-2026-2124.yaml"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-22" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-07-20T19:06:55Z",
    "nvd_published_at" : "2026-02-19T15:16:11Z"
  }
}