Skip to main content
← All vulnerabilities
CVE-2024-32651GHSA-4R7V-WHPG-8RX3PYSEC-2026-310

Server Side Template Injection in Jinja2 allows Remote Command Execution

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.45.21
2 proofs of concept on GitHub, 1 Nuclei template
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • dgtlmoon changedetection.io

    through 0.45.20

  • changedetection-ioPyPI

    fixed in 0.45.21

References 7

GitHub · dgtlmoon/changedetection.io

onsecurity.io

blog.hacktivesecurity.com

GitHub · projectdiscovery/nuclei-templates

GitHub · s0ck3t-s3c/CVE-2024-32651-changedetection-RCE

GitHub · zcrosman/cve-2024-32651