CVE-2024-32651Server Side Template Injection in Jinja2 allows Remote Command Execution
- 10.0CriticalCVSS base score
- 85.3%Exploitation in 30 daysEPSS · top 0.3% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 2Public exploitsMetasploit, Nuclei and Exploit-DB
Description
changedetection.io is an open source web page change detection, website watcher, restock monitor and notification service. There is a Server Side Template Injection (SSTI) in Jinja2 that allows Remote Command Execution on the server host. Attackers can run any system command without any restriction and they could use a reverse shell. The impact is critical as the attacker can completely takeover the server machine. This can be reduced if changedetection is behind a login page, but this isn't required by the application (not by default and not enforced).
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module and a Nuclei template for it. CISA's SSVC rates its exploitation: a proof of concept is public.
Show the exploits2
Metasploit modules1 module
- changedetection.io Notification Jinja2 SSTI RCE (Metasploit module) (opens in a new tab)
exploit/linux/http/changedetection_rce_cve_2024_32651Rank excellentdisclosed 8 May 2024
Nuclei templates1 template
- Change Detection - Server Side Template Injection (Nuclei template) (opens in a new tab)
http/cves/2024/CVE-2024-32651.yamlSeverity critical
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By GitHub_M
- 9 days later
· 9 days later
Published
- 10 months later
· 10 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Critical10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVDNVD · Deferred | 3.1 | Critical10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 85.3% · top 0.3% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: yes · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 10.0.
Affected products
- affected <= 0.45.20
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIchangedetection.ioGHSA-4r7v-whpg-8rx3 (opens in a new tab)
References
References4
- https://github.com/dgtlmoon/changedetection.io/security/advisories/GHSA-4r7v-whpg-8rx3 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/dgtlmoon/changedetection.io/releases/tag/0.45.21 (opens in a new tab)x_refsource_MISCx_transferred
- https://www.onsecurity.io/blog/server-side-template-injection-with-jinja2 (opens in a new tab)x_refsource_MISCx_transferred
- https://blog.hacktivesecurity.com/index.php/2024/05/08/cve-2024-32651-server-side-template-injection-changedetection-io/ (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-2939 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-4r7v-whpg-8rx3 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-32651)Record last updated .