{"id":"CVE-2024-32651","summary":"Server Side Template Injection in Jinja2 allows Remote Command Execution","details":"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).","aliases":["GHSA-4r7v-whpg-8rx3","PYSEC-2026-310"],"modified":"2026-08-12T03:51:48.222414804Z","published":"2024-04-25T23:49:28.540Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-1336"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/32xxx/CVE-2024-32651.json"},"references":[{"type":"WEB","url":"https://github.com/dgtlmoon/changedetection.io/releases/tag/0.45.21"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/32xxx/CVE-2024-32651.json"},{"type":"ADVISORY","url":"https://github.com/dgtlmoon/changedetection.io/security/advisories/GHSA-4r7v-whpg-8rx3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-32651"},{"type":"ARTICLE","url":"https://blog.hacktivesecurity.com/index.php/2024/05/08/cve-2024-32651-server-side-template-injection-changedetection-io/"},{"type":"ARTICLE","url":"https://www.onsecurity.io/blog/server-side-template-injection-with-jinja2"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/dgtlmoon/changedetection.io","events":[{"introduced":"0"},{"fixed":"ee5294740afe26cecb432a9dbceffa0ae7dc426d"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0"},{"last_affected":"0.45.20"}]}}],"versions":["0.45.20","0.45.19","0.45.18","0.45.17","0.45.16","0.45.15","0.45.14","0.45.13","0.45.12","0.45.10","0.45.9","0.45.8.1","0.45.8","0.45.7.3","0.45.7.2","0.45.7.1","0.45.7","0.45.6","0.45.5","0.45.4","0.45.3","0.45.2","0.45.1","0.45","0.44.2","0.44.1","0.44","0.43.2","0.43.1","0.43","0.42.3","0.42.2","0.42.1","0.42","0.41.1","0.41","0.40.3","0.40.2","0.40.1.1","0.40.1.0","0.40.0.4","0.40.0.3","0.40.0.2","0.40.0","0.39.22.1","0.39.22","0.39.21.1","0.39.21","0.39.20.4","0.39.20.3","0.39.20.2","0.39.20.1","0.39.20","0.39.19.1","0.39.19","0.39.18","0.39.17.2","0.39.17.1","0.39.17","0.39.16","0.39.15","0.39.14","0.39.13.1","0.39.13","0.39.12","0.39.11","0.39.10","0.39.9","0.39.8","0.39.7","0.39.6","0.39.5","0.39.4","0.39.3","0.39.2","0.39.1","0.39","0.38.2","0.38.1","0.38","0.37","0.35","0.34","0.33","0.32","0.31","0.30","0.29","0.28","0.27","0.26","0.25","0.24","0.23","0.22","0.21","0.2","0.12","0.11","0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-32651.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"}]}