CVE-2026-41895: Changedetection.io Changedetection.io Project Has An XXE Vulnerability
HIGHCVE-2026-41895 is a HIGH (CVSS 7.5) changedetection.io project has an xxe vulnerability (CWE-611: Improper Restriction of XML External Entity Reference) affecting Changedetection.io libraries in the PyPI ecosystem. The issue involves changedetection.io project has an xxe vulnerability. Remediation is available in the latest vendor maintenance releases.
CVE-2026-41895 at a Glance
Security Impact
CVSS: 7.5
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:H/I:N/A:N).
How to Fix CVE-2026-41895
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.
pip install changedetection.io>=Latest secure release
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-41895, 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 the patched release), 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-611: Improper Restriction of XML External Entity Reference, where the product processes an xml document that can contain xml entities with uris that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output. 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
CVE-2026-41895 Affected Changedetection.io Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
changedetection.io
|
PyPI |
≤ 0.54.9
|
|
References
Frequently Asked Questions
What is CVE-2026-41895?
Which Changedetection.io versions are affected?
What version fixes CVE-2026-41895?
Is changedetection.io affected?
What is the CVSS score of CVE-2026-41895?
What CWE is associated with CVE-2026-41895?
How can I check PyPI dependencies for CVE-2026-41895?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-v7cp-2cx9-x793",
"modified" : "2026-06-05T14:31:13Z",
"published" : "2026-05-04T20:56:36Z",
"aliases" : [ "CVE-2026-41895" ],
"summary" : "changedetection.io project has an XXE vulnerability",
"details" : "# changedetection.io_XXE_01 Vulnerability Report: We discovered a XXE vulnerability in the changedetection.io project\n\nWhile analyzing the code logic, it was determined that an area may lead to unintended behavior under specific conditions. With the project's security in mind, see the analysis results to discern whether this may indicate a potential security risk.\n\n## Overview\n- SOURCE_VERSION: `0.54.9 (9f3a9fdc18bba404244801e5df8109e213ce9ff4)`\n- Vulnerability type: `XXE`\n- Finding title: `XML XPath helpers parse untrusted XML with entity resolution left to lxml defaults`\n- Affected location: `changedetectionio/html_tools.py:287`\n\n## Root Cause\n`xpath_filter()` switches to XML mode for XML/RSS content and creates `etree.XMLParser(strip_cdata=False)` without explicitly disabling external entity resolution, external DTD loading, or network-backed entity lookup. The helper then parses untrusted XML bytes directly with `etree.fromstring(...)`.\n\n## Source-to-Sink Chain\n1. Untrusted XML/RSS response content is fetched from monitored URLs.\n2. Stream detection marks the content as XML/RSS and the include-filter path invokes `xpath_filter(..., is_xml=True)`.\n3. `xpath_filter()` builds the default XML parser and calls `etree.fromstring(...)` at `changedetectionio/html_tools.py:287`.\n4. External entity declarations in attacker XML can be expanded by parser-default behavior in affected runtime combinations.\n\n## Exploitation Preconditions\n1. Attacker controls the watched XML/RSS response body.\n2. The watch uses an XPath include filter that triggers XML helper parsing.\n3. Runtime parser behavior allows external entity expansion (for example, vulnerable dependency/default combinations).\n4. The process can read the referenced local resource.\n\n## Risk\nThe XML helper path can turn watch processing into a local file disclosure primitive when entity expansion is enabled by parser defaults.\n\n## Impact\nSensitive local files can be exposed into extracted watch output, diff history, and downstream notification channels.\n\n## Remediation\n1. Harden XML parser construction with `resolve_entities=False`, `load_dtd=False`, and `no_network=True`.\n2. Reject `DOCTYPE`/entity declarations for untrusted XML if DTD features are unnecessary.\n3. Add regression tests that assert external entities are never expanded in XPath XML helper flows.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "changedetection.io"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.54.9"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/dgtlmoon/changedetection.io/security/advisories/GHSA-v7cp-2cx9-x793"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-41895"
}, {
"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-29.yaml"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-611" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-04T20:56:36Z",
"nvd_published_at" : "2026-05-12T18:17:23Z"
}
}