# CVE-2024-32651: Server Side Template Injection in Jinja2 allows Remote Command Execution

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 94.0%, higher than 99% of CVEs (2026-12-01)
- Published: 2024-04-25T23:49:28.540Z
- Modified: 2026-10-27T16:30:06.791Z
- Also known as: GHSA-4r7v-whpg-8rx3, PYSEC-2026-310
- Weaknesses: CWE-1336
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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).

(As written by CVE List.)

## Affected

- dgtlmoon changedetection.io: <= 0.45.20; 0.45.20
- changedetection-io (PyPI): before 0.45.21

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/dgtlmoon/changedetection.io/security/advisories/GHSA-4r7v-whpg-8rx3> (web)
- <https://github.com/dgtlmoon/changedetection.io/releases/tag/0.45.21> (web)
- <https://www.onsecurity.io/blog/server-side-template-injection-with-jinja2> (web)
- <https://blog.hacktivesecurity.com/index.php/2024/05/08/cve-2024-32651-server-side-template-injection-changedetection-io/>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-32651> (advisory)
- <https://blog.hacktivesecurity.com/index.php/2024/05/08/cve-2024-32651-server-side-template-injection-changedetection-io> (web)
- <https://github.com/dgtlmoon/changedetection.io> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/changedetection-io/PYSEC-2026-310.yaml> (web)
- <https://pypi.org/project/changedetection-io> (package, web)
- <https://github.com/advisories/GHSA-4r7v-whpg-8rx3> (advisory)

## Sources

- CVE List: [CVE-2024-32651](https://www.cve.org/CVERecord?id=CVE-2024-32651), CVE Terms of Use, modified 2025-02-13
- GitHub Advisory Database: [GHSA-4r7v-whpg-8rx3](https://github.com/advisories/GHSA-4r7v-whpg-8rx3), CC-BY-4.0, modified 2026-10-27
- NVD: [CVE-2024-32651](https://nvd.nist.gov/vuln/detail/CVE-2024-32651), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-310](https://osv.dev/vulnerability/PYSEC-2026-310), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2024-32651 · Whole record: https://cve.day/CVE-2024-32651.json · Rebuilt by cve.day 2026-11-25T22:58:39.611Z
