CVE-2025-52572: Hikka Telegram userbot - Authentication Bypass & Remote Code Execution
- Cve: CVE-2025-52572
- Name: Hikka Telegram userbot - Authentication Bypass & Remote Code Execution
- Description: Hikka, a Telegram userbot, has vulnerability affects all users on all versions of Hikka. Two scenarios are possible. 1. Web interface does not have an authenticated session: attacker can use his own Telegram account to gain RCE to the server by authorizing in the dangling web interface. 2. Web interface does have an authenticated session: due to insufficient warning in the authentication message, users were tempted to click "Allow" in the "Allow web application ops" menu. This gave an attacker access not only to remote code execution, but also to Telegram accounts of owners. Scenario number 2 is known to have been exploited in the wild. No known patches are available, but some workarounds are available. Use `--no-web` flag and do not start userbot without it; after authorizing in the web interface, close the port on the server and/or start the userbot with `--no-web` flag; and do not click "Allow" in your helper bot unless it is your explicit action that needs to be allowed.
- Impact: Attackers can execute code on the server and access Telegram accounts, leading to full compromise of the userbot and user data.
- Remediation: Use the '--no-web' flag to disable the web interface and avoid clicking 'Allow' in the web interface; close the web port after authorization.
- Vulnerability type: broken_authentication
- Vulnerability impact: remote_code_execution, privilege_escalation, information_disclosure
- Requirement type: user_interaction
- Requirements: Attacker needs either unauthenticated web access or user to click 'Allow' in the web interface
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 10
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- Epss score: 0.00769
- Epss percentile: 0.56342
- Assignee: [email protected]
- Published at: 2025-06-24T21:15:25Z
- Age in days: 518
- Modified at: 2026-06-17T09:36:42Z
- References total: 3
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-52572
- Nvd status: deferred
- Checked, none or zero: patch available, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-287 | Improper Authentication |
Known exploited entries
| List | Added date | Due date | Ransomware use |
|---|---|---|---|
| vulncheck | 2023-08-12 | — | no |
References
| Url | Source | Tags |
|---|---|---|
| https://t.me/bbcode/9 | vulncheck | Vulncheck Reported Exploitation |
| https://www.cve.org/CVERecord?id=CVE-2025-52572 | vulncheck | Vulncheck Reported Exploitation |
| https://github.com/hikariatama/Hikka/security/advisories/GHSA-7x3c-335v-wxjj | nvd |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| hikariatama/hikka | security_advisory | yes | /v1/repositories/hikariatama/hikka |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Known exploited by: vulncheck
- Vulncheck known exploited since: 2023-08-12
- Exploitation seen: yes
- Remote: yes
- Checked, none or zero: known exploited, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts