The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-2025-52572

CVE-2025-52572: Hikka Telegram Userbot RCE Vulnerability

CVE-2025-52572 is a remote code execution vulnerability in Hikka Telegram userbot that allows attackers to gain RCE and potentially access Telegram accounts. This post explains its impact, affected versions, and mitigation steps.

Published: March 25, 2026

CVE-2025-52572 Overview

CVE-2025-52572 is a critical Authentication Bypass vulnerability affecting Hikka, a Telegram userbot framework. This vulnerability enables attackers to achieve Remote Code Execution (RCE) on servers running Hikka through its web interface, with two distinct exploitation scenarios. In the first scenario, when the web interface lacks an authenticated session, attackers can use their own Telegram account to authorize against the dangling web interface and gain RCE access. In the second scenario, due to insufficient warning in the authentication message, users are tempted to click "Allow" in the "Allow web application ops" menu, granting attackers both RCE capabilities and access to the Telegram accounts of the userbot owners.

Critical Impact

This vulnerability has been exploited in the wild and allows complete server compromise with potential Telegram account takeover. No official patches are currently available.

Affected Products

  • Hikka Telegram Userbot (all versions)

Discovery Timeline

  • 2025-06-24 - CVE CVE-2025-52572 published to NVD
  • 2025-06-26 - Last updated in NVD database

Technical Details for CVE-2025-52572

Vulnerability Analysis

This vulnerability is classified under CWE-287 (Improper Authentication), indicating fundamental flaws in the authentication mechanism of Hikka's web interface. The vulnerability presents two attack scenarios that allow unauthorized access to the server and potentially the user's Telegram account.

The first scenario exploits a dangling web interface—when Hikka's web server is accessible without an authenticated session, any attacker can connect using their own Telegram credentials. This creates an authentication bypass where the attacker effectively becomes an authorized user on the target server, enabling arbitrary code execution within the Hikka environment.

The second scenario leverages social engineering combined with insufficient security warnings. The "Allow web application ops" prompt does not adequately communicate the security implications of clicking "Allow," leading users to inadvertently grant extensive permissions. This attack vector has been confirmed as actively exploited in the wild, demonstrating its practical effectiveness.

Root Cause

The root cause stems from improper authentication controls in Hikka's web interface. The application fails to properly restrict access to the web interface endpoints and does not provide adequate security context in authentication prompts. This allows unauthorized Telegram accounts to authenticate against exposed web interfaces and enables privilege escalation through deceptive authorization requests.

Attack Vector

The attack is conducted over the network with no authentication required. An attacker can exploit this vulnerability by:

  1. Identifying exposed Hikka web interfaces on the internet
  2. Connecting to the dangling web interface using their own Telegram account credentials
  3. Leveraging the authenticated session to execute arbitrary code on the target server

Alternatively, attackers can trick legitimate users into clicking "Allow" on malicious authorization requests, which grants the attacker remote code execution capabilities and access to the victim's Telegram account.

For technical details on the vulnerability mechanism, see the GitHub Security Advisory and the related Telegram Post.

Detection Methods for CVE-2025-52572

Indicators of Compromise

  • Unauthorized Telegram account authentications in web interface logs
  • Unexpected "Allow web application ops" authorization events
  • Unusual outbound connections from the Hikka server
  • New or modified userbot modules not installed by the owner

Detection Strategies

  • Monitor for exposed Hikka web interfaces on network ports
  • Review authentication logs for unfamiliar Telegram account IDs
  • Alert on any "Allow web application ops" authorization requests from unknown sources
  • Implement network traffic analysis to detect command-and-control communications

Monitoring Recommendations

  • Enable verbose logging for the Hikka web interface component
  • Deploy network monitoring to identify exposed web interface ports
  • Audit all Telegram authorization events and cross-reference with expected activity
  • Monitor for unexpected file changes or new module installations in the Hikka directory

How to Mitigate CVE-2025-52572

Immediate Actions Required

  • Start Hikka with the --no-web flag to disable the vulnerable web interface entirely
  • Close the web interface port on the server firewall after authorization
  • Do not click "Allow" in the helper bot unless it corresponds to an explicit action you initiated
  • Review recent authorizations for suspicious activity

Patch Information

No official patches are currently available for CVE-2025-52572. Users are strongly advised to implement the workarounds described below and monitor the GitHub Security Advisory for patch announcements.

Workarounds

  • Use the --no-web flag when starting Hikka to completely disable the web interface
  • If web interface access is required, close the server port immediately after completing authorization
  • Never click "Allow" in the helper bot unless you are certain the request originated from your own action
  • Consider network-level restrictions to limit access to the web interface to trusted IP addresses only
bash
# Start Hikka with web interface disabled
python -m hikka --no-web

# After authorization (if web was required), close the port
# Example using ufw firewall
sudo ufw deny 8080/tcp

# Example using iptables
sudo iptables -A INPUT -p tcp --dport 8080 -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/TechHikka

  • SeverityCRITICAL

  • CVSS Score10.0

  • EPSS Probability0.62%

  • 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-287
  • Technical References
  • GitHub Security Advisory

  • Telegram Post
  • Related CVEs
  • CVE-2025-52571: Hikka Telegram Userbot Auth Bypass Flaw
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