CVE-2024-23329: changedetection.io API endpoint is not secured with API token
Summary API endpoint /api/v1/watch/ /history can be accessed by any unauthorized user. Details WatchHistory resource does not have @auth.checktoken annotation, which means it can be accessed without providing x-api-key header. https://github.com/dgtlmoon/changedetection.io/blob/9510345e01ea8e308c339163d8e8b030ce5ac7f1/changedetectionio/api/apiv1.py#L129-L156 PoC 1. Get list of watch with x-api-key: 2.
Published Jan 23, 2024 · Updated Sep 13, 2024
Affected packages
changedetection.io
- Ecosystem
- PyPI
- Affected
- >= 0.39.14, <= 0.45.12
- Fixed in
- 0.45.13
- Check
pip show changedetection.io
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
API endpoint /api/v1/watch/<uuid>/history can be accessed by any unauthorized user.
Details
WatchHistory resource does not have @auth.check_token annotation, which means it can be accessed without providing x-api-key header.
https://github.com/dgtlmoon/changedetection.io/blob/9510345e01ea8e308c339163d8e8b030ce5ac7f1/changedetectionio/api/api_v1.py#L129-L156
PoC
- Get list of watch with
x-api-key:
$ curl -H "x-api-key: apikeyhere" http://localhost:5000/api/v1/watch
{"uuid": ...}- Call for history of snapshots without
x-api-key. Expected - 401/403 error. Actual - list of snapshots is listed.
$ curl http://localhost:5000/api/v1/watch/uuid/history
{"timestamp": "/path/to/snapshot.txt"}Impact
Anybody can check one's watch history. However, because unauthorized party first needs to know watch UUID, and the watch history endpoint itself returns only paths to the snapshot on the server, an impact on users' data privacy is minimal.
Credited to rozpuszczalny.
References
- https://github.com/dgtlmoon/changedetection.io/security/advisories/GHSA-hcvp-2cc7-jrwr
- https://nvd.nist.gov/vuln/detail/CVE-2024-23329
- https://github.com/dgtlmoon/changedetection.io/commit/402f1e47e78ecd155b1e90f30cce424ff7763e0f
- https://github.com/dgtlmoon/changedetection.io/blob/9510345e01ea8e308c339163d8e8b030ce5ac7f1/changedetectionio/api/api_v1.py#L129-L156
- https://github.com/pypa/advisory-database/tree/main/vulns/changedetection-io/PYSEC-2024-15.yaml
- https://github.com/advisories/GHSA-hcvp-2cc7-jrwr
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-25527
changedetection.io is vulnerable to unauthenticated static path traversal
medium5.3Jul 20, 2026CVE-2026-43891
changedetection.io has an Arbitrary Local File Read via a crafted backup restore
high7.5May 5, 2026CVE-2026-41895
changedetection.io project has an XXE vulnerability
high7.5No fixMay 4, 2026CVE-2026-35490
changedetection.io Vulnerable to Authentication Bypass via Decorator Ordering
critical9.8Apr 6, 2026CVE-2026-33981
Changedetection.io Discloses Environment Variables via jq env Builtin in Include Filters
high8.3Mar 27, 2026CVE-2026-29038
changedetection.io has Reflected XSS in its RSS Tag Error Response
medium6.1Mar 4, 2026
