Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-32651

CVE-2024-32651: changedetection.io SSTI RCE Vulnerability

CVE-2024-32651 is a critical Server Side Template Injection flaw in changedetection.io that enables remote code execution. Attackers can execute system commands and gain full server control. This article covers technical details.

Updated: January 22, 2026

CVE-2024-32651 Overview

CVE-2024-32651 is a Server Side Template Injection (SSTI) vulnerability in changedetection.io, an open source web page change detection, website watcher, restock monitor, and notification service. The vulnerability exists in the Jinja2 template engine implementation and allows unauthenticated attackers to execute arbitrary system commands on the server host with no restrictions, including establishing reverse shells for persistent access.

Critical Impact

This vulnerability enables complete server takeover through unauthenticated remote command execution. Attackers can execute any system command without restriction, potentially compromising all data and services on the affected host.

Affected Products

  • changedetection.io versions prior to 0.45.21
  • Self-hosted instances without authentication enabled
  • Docker deployments with exposed network interfaces

Discovery Timeline

  • 2024-04-26 - CVE-2024-32651 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-32651

Vulnerability Analysis

This Server Side Template Injection (SSTI) vulnerability occurs within the Jinja2 templating engine used by changedetection.io. Jinja2 is a widely-used Python template engine that, when improperly configured, can allow attackers to inject malicious template directives that execute arbitrary Python code on the server.

The vulnerability is particularly dangerous because changedetection.io does not require authentication by default, meaning any attacker with network access to the application can exploit this flaw. Once exploited, the attacker gains the ability to execute commands with the same privileges as the application process, which could include root access depending on deployment configuration.

The scope of this vulnerability extends beyond the vulnerable component itself, as successful exploitation can impact other systems and resources accessible from the compromised server.

Root Cause

The root cause is classified under CWE-1336 (Improper Neutralization of Special Elements Used in a Template Engine). The application fails to properly sanitize or escape user-controlled input before passing it to the Jinja2 template rendering engine. This allows malicious template expressions to be interpreted and executed by the server rather than being treated as plain text.

In Jinja2, template expressions enclosed in double curly braces {{ }} or statement tags {% %} are evaluated by the template engine. Without proper input validation and sandboxing, attackers can leverage Python's object introspection capabilities to escape the template context and access dangerous functions like os.system() or subprocess.Popen().

Attack Vector

The attack is conducted over the network without requiring any authentication or user interaction. An attacker can craft malicious input containing Jinja2 template syntax that, when processed by the application, executes arbitrary system commands.

Typical SSTI payloads in Jinja2 exploit Python's method resolution order (MRO) to traverse object hierarchies and access restricted modules. Attackers commonly use techniques like accessing __class__.__mro__ to reach the base object class, then iterating through __subclasses__() to find classes that provide file or command execution capabilities.

Once command execution is achieved, attackers typically establish persistence through reverse shells, allowing interactive access to the compromised system. The lack of default authentication in changedetection.io significantly amplifies the risk, as instances exposed to the internet are immediately vulnerable without any barrier to exploitation.

For detailed technical analysis and exploitation techniques, refer to the Hacktive Security Blog Post and the OnSecurity Blog Analysis.

Detection Methods for CVE-2024-32651

Indicators of Compromise

  • Unusual template syntax patterns in application logs containing Jinja2 expressions like {{, {%, __class__, __mro__, or __subclasses__
  • Unexpected outbound network connections from the changedetection.io process suggesting reverse shell activity
  • Process spawning anomalies where the application creates child processes for system commands like /bin/sh, /bin/bash, nc, curl, or wget
  • Web access logs showing requests with encoded or obfuscated payloads targeting template injection vectors

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block SSTI payloads containing Python object introspection patterns
  • Monitor application logs for template rendering errors or exceptions that may indicate injection attempts
  • Deploy endpoint detection and response (EDR) solutions to identify suspicious command execution chains originating from the web application process
  • Utilize SentinelOne's behavioral AI to detect anomalous process trees where web server processes spawn shell interpreters

Monitoring Recommendations

  • Enable verbose logging for the changedetection.io application to capture all template rendering operations
  • Configure network monitoring to alert on unexpected egress connections from application servers
  • Implement file integrity monitoring on the server to detect unauthorized modifications
  • Set up alerts for authentication failures if authentication has been enabled as a mitigation

How to Mitigate CVE-2024-32651

Immediate Actions Required

  • Upgrade changedetection.io to version 0.45.21 or later immediately
  • Enable authentication for all changedetection.io instances to add a barrier against exploitation
  • Review server access logs for evidence of prior exploitation attempts
  • If compromise is suspected, isolate the affected system and conduct forensic analysis

Patch Information

The vulnerability has been addressed in changedetection.io version 0.45.21. The patch implements proper input sanitization and restricts the template engine's capabilities to prevent arbitrary code execution. Users should update immediately by pulling the latest release from the official repository.

For detailed patch information, see the GitHub Release Notes and the GitHub Security Advisory.

Workarounds

  • Enable authentication on changedetection.io instances to prevent unauthenticated access (note: this reduces but does not eliminate risk if credentials are compromised)
  • Restrict network access to the application using firewall rules, allowing only trusted IP addresses
  • Deploy the application behind a reverse proxy with rate limiting and request filtering capabilities
  • Run changedetection.io in an isolated container or virtual machine with minimal privileges to limit blast radius
bash
# Example: Enable authentication and restrict network access
# Add authentication by configuring environment variables
export CHANGEDETECTION_PASSWORD="your-strong-password-here"

# Restrict access via iptables (example for Linux)
iptables -A INPUT -p tcp --dport 5000 -s 192.168.1.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 5000 -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechChangedetection

  • SeverityCRITICAL

  • CVSS Score10.0

  • EPSS Probability92.46%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-1336
  • Technical References
  • Hacktive Security Blog Post

  • GitHub Release Notes

  • GitHub Security Advisory

  • OnSecurity Blog Analysis
  • Related CVEs
  • CVE-2026-35000: ChangeDetection.io File Disclosure Flaw

  • CVE-2026-29038: Changedetection.io XSS Vulnerability

  • CVE-2026-29039: Changedetection Path Traversal Flaw

  • CVE-2026-27696: Changedetection.io SSRF Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English