CVE-2024-56509 changedetection.io has Improper Input Validation Leading to LFR/Path Traversal

High 8.6 Published Updated

Attackers can exploit improper input validation to perform local file read or path traversal attacks, accessing sensitive files on the server.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-56509?

CVE-2024-56509 is a high-severity path traversal vulnerability in dgtlmoon changedetection.io, published on 27 Dec 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

changedetection.io is a free open source web page change detection, website watcher, restock monitor and notification service. Improper input validation in the application can allow attackers to perform local file read (LFR) or path traversal attacks. These vulnerabilities occur when user input is used to construct file paths without adequate sanitization or validation. For example, using file:../../../etc/passwd or file: ///etc/passwd can bypass weak validations and allow unauthorized access to sensitive files. Even though this has been addressed in previous patch, it is still insufficient. This vulnerability is fixed in 0.48.05.

Weakness: CWE-22, CWE-200

Which versions are affected by CVE-2024-56509?

3 open source packages ship an affected version, including changedetection.io and changedetection-io.

PackageAffectedFixed in
changedetection.io PyPIAll versions0.48.05
changedetection-io PyPIAll versions0.48.05
changedetection-io PyPIAll versions0.48.05

How do I fix CVE-2024-56509?

Upgrade changedetection.io to 0.48.05 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2024-56509 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-56509 exists.

Sources

Also known as GHSA-j5vv-6wjg-cfr8, PYSEC-2026-1242.

Is CVE-2024-56509 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free