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
    • 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-2023-26818

CVE-2023-26818: Telegram Privilege Escalation Vulnerability

CVE-2023-26818 is a privilege escalation vulnerability in Telegram that allows attackers to access restricted files and recording features via DYLD_INSERT_LIBRARIES. This article covers technical details, affected versions, and mitigation.

Published: January 28, 2026

CVE-2023-26818 Overview

CVE-2023-26818 is an Authorization Bypass vulnerability affecting Telegram for macOS versions 9.3.1 and 9.4.0. The vulnerability allows attackers to bypass macOS Transparency, Consent, and Control (TCC) protections to access restricted files, microphone, or video recording capabilities via the DYLD_INSERT_LIBRARIES environment variable injection technique.

Critical Impact

Attackers can leverage this vulnerability to gain unauthorized access to sensitive system resources including the microphone and camera, bypassing macOS privacy controls that normally require explicit user consent.

Affected Products

  • Telegram for macOS version 9.3.1
  • Telegram for macOS version 9.4.0

Discovery Timeline

  • 2023-05-19 - CVE-2023-26818 published to NVD
  • 2025-01-21 - Last updated in NVD database

Technical Details for CVE-2023-26818

Vulnerability Analysis

This vulnerability exploits a weakness in how Telegram for macOS handles dynamic library loading. The DYLD_INSERT_LIBRARIES environment variable is a macOS mechanism that allows injecting dynamic libraries into a process at load time. When combined with Telegram's existing TCC permissions for microphone and camera access, an attacker can inject malicious code that inherits these permissions.

The root issue stems from Telegram's failure to implement the hardened runtime with library validation, which would normally prevent unauthorized dynamic library injection. Since Telegram has already been granted TCC permissions by the user for legitimate functionality, injected code runs with the same privilege level and can access protected resources without triggering additional consent prompts.

Root Cause

The vulnerability exists due to Telegram for macOS lacking proper library validation enforcement in its hardened runtime configuration. Without the com.apple.security.cs.disable-library-validation entitlement properly restricted, the application accepts injected libraries through DYLD_INSERT_LIBRARIES. This is classified as CWE-863 (Incorrect Authorization), as the application fails to properly authorize which libraries can execute within its security context.

Attack Vector

The attack requires local access to the target system and exploits the dynamic library loading mechanism in macOS. An attacker creates a malicious dynamic library (dylib) that contains code to access protected resources. By setting the DYLD_INSERT_LIBRARIES environment variable to point to this malicious library and then launching Telegram, the injected code inherits Telegram's TCC permissions for microphone, camera, and file access.

The attack flow involves:

  1. Creating a malicious dylib that accesses TCC-protected resources
  2. Setting the DYLD_INSERT_LIBRARIES environment variable to the malicious library path
  3. Launching Telegram, which loads the injected library
  4. The malicious code executes with Telegram's TCC permissions, bypassing user consent dialogs

Technical details and proof-of-concept information are available in the CVE-2023-26818 analysis published by the security researcher.

Detection Methods for CVE-2023-26818

Indicators of Compromise

  • Unusual DYLD_INSERT_LIBRARIES environment variable settings when Telegram is launched
  • Unexpected dylib files in user-writable directories being loaded by Telegram
  • Telegram process accessing microphone or camera at unexpected times
  • Shell scripts or launch agents that set DYLD_INSERT_LIBRARIES before launching Telegram

Detection Strategies

  • Monitor process creation events for Telegram launches that include DYLD_INSERT_LIBRARIES environment variables
  • Implement file integrity monitoring on Telegram's application bundle and related directories
  • Deploy endpoint detection rules that alert on dynamic library injection attempts targeting signed applications
  • Analyze process memory for loaded libraries that don't match expected Telegram modules

Monitoring Recommendations

  • Enable macOS Unified Logging and monitor for TCC bypass indicators
  • Configure SentinelOne agents to detect and alert on DYLD_INSERT_LIBRARIES abuse patterns
  • Monitor for unexpected microphone or camera access events associated with Telegram
  • Audit launch agents and daemons for suspicious environment variable configurations

How to Mitigate CVE-2023-26818

Immediate Actions Required

  • Update Telegram for macOS to the latest available version that addresses this vulnerability
  • Review and audit TCC permissions granted to Telegram and revoke unnecessary access
  • Implement application allow-listing to prevent unauthorized library loading
  • Monitor endpoints for signs of exploitation using EDR solutions

Patch Information

Users should update to a patched version of Telegram for macOS. Check the official Telegram website for the latest security updates and version information. Ensure automatic updates are enabled to receive security patches promptly.

Workarounds

  • Temporarily revoke TCC permissions (microphone, camera, file access) from Telegram until a patch is applied
  • Use the App Store version of Telegram which has additional sandboxing protections
  • Implement endpoint protection that monitors for DYLD_INSERT_LIBRARIES abuse
  • Consider running Telegram in a virtualized or sandboxed environment for sensitive workflows
bash
# Check Telegram's TCC permissions and revoke if necessary
# Reset TCC permissions for Telegram (requires SIP disabled or MDM)
tccutil reset Microphone com.telegram.desktop
tccutil reset Camera com.telegram.desktop

# Verify hardened runtime status
codesign -dv --verbose=4 /Applications/Telegram.app 2>&1 | grep -i runtime

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechTelegram

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability3.18%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-863
  • Technical References
  • Telegram Official Website

  • GitHub CVE-2023-26818 Analysis
  • Related CVEs
  • CVE-2025-30949: Site Chat on Telegram Object Injection

  • CVE-2024-7014: Telegram Android EvilVideo Vulnerability
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