A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2025-24904

CVE-2025-24904: libsignal-service-rs Auth Bypass Flaw

CVE-2025-24904 is an authentication bypass vulnerability in libsignal-service-rs that allows plaintext content injection, potentially bypassing end-to-end encryption. This article covers technical details, impact, and fixes.

Published: June 9, 2026

CVE-2025-24904 Overview

CVE-2025-24904 affects libsignal-service-rs, a Rust port of libsignal-service-java that implements the core protocol for communicating with Signal servers. Prior to commit 82d70f6720e762898f34ae76b0894b0297d9b2f8, the library accepted plaintext content envelopes without verifying that the message was authenticated through the Signal end-to-end encryption pipeline. A malicious server or client can inject crafted envelopes that downstream consumers process as legitimate messages. This bypasses both confidentiality and authentication guarantees of the Signal Protocol. The flaw is classified under [CWE-74] (Improper Neutralization of Special Elements in Output).

Critical Impact

Attackers controlling a server or operating as a malicious peer can inject plaintext envelopes that bypass end-to-end encryption and authentication checks in any application built on libsignal-service-rs.

Affected Products

  • libsignal-service-rs versions prior to commit 82d70f6720e762898f34ae76b0894b0297d9b2f8
  • Downstream Rust applications embedding the Signal service client (for example, Whisperfish and other unofficial Signal clients)
  • Any client that processes Content envelopes without checking the was_encrypted flag

Discovery Timeline

  • 2025-02-13 - CVE-2025-24904 published to NVD
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2025-24904

Vulnerability Analysis

The Signal Protocol relies on Double Ratchet sessions to provide end-to-end encryption and per-message authentication. libsignal-service-rs previously accepted envelopes whose payload was delivered in plaintext, treating them as valid Content messages without enforcing that the payload arrived through an authenticated, encrypted session. The fix introduces a was_encrypted field on the Metadata struct so callers can determine whether the envelope traversed cryptographic verification. The patch also adds a sanity test: if the envelope was plaintext, the decoded content must be a decryption failure error and nothing else.

Root Cause

The root cause is missing enforcement of the cryptographic provenance of inbound envelopes. The library exposed decoded Content payloads to consumers without signaling whether the data originated from an authenticated Signal session or from an unauthenticated transport channel. Because Signal servers relay envelopes between peers, any server-side actor, or a peer impersonating the server path, could deliver crafted plaintext envelopes that consumers would treat as genuine messages.

Attack Vector

The attack is network-reachable and requires low privileges. A malicious Signal server, a network attacker controlling the server endpoint, or a malicious client peer transmits a plaintext envelope to a vulnerable consumer. The consumer decodes the envelope as crate::proto::Content and acts on it as if it were an authenticated message from a verified sender. This breaks sender authentication, allowing message spoofing, and undermines confidentiality assumptions in higher-layer applications.

rust
             let message =
                 crate::proto::Content::decode(plaintext.data.as_slice())?;
 
+            tracing::Span::current()
+                .record("envelope_metadata", plaintext.metadata.to_string());
+
             // Sanity test: if the envelope was plaintext, the message should *only* be a
             // decryption failure error
             if was_plaintext {

Source: GitHub commit 82d70f6. The patch records envelope metadata for tracing and enforces that plaintext envelopes only ever produce a decryption failure error.

Detection Methods for CVE-2025-24904

Indicators of Compromise

  • Inbound Signal envelopes carrying Content payloads without an associated authenticated session state
  • Application logs showing decoded messages where Metadata.was_encrypted is false
  • Unexpected message events attributed to peers with whom no Double Ratchet session has been established

Detection Strategies

  • Audit dependency manifests (Cargo.lock, Cargo.toml) for libsignal-service-rs revisions older than commit 82d70f6720e762898f34ae76b0894b0297d9b2f8.
  • Instrument message-processing code paths to assert that Metadata.was_encrypted == true before forwarding content to application logic.
  • Correlate Signal client telemetry with server logs to identify envelopes delivered outside of an established session.

Monitoring Recommendations

  • Enable the new tracing span field envelope_metadata introduced by the patch to capture per-envelope provenance.
  • Forward client-side telemetry to a centralized log store and alert on messages where the encryption flag is absent.
  • Track upstream advisories such as GHSA-hrrc-wpfw-5hj2 for any follow-up fixes.

How to Mitigate CVE-2025-24904

Immediate Actions Required

  • Update libsignal-service-rs to a build containing commit 82d70f6720e762898f34ae76b0894b0297d9b2f8 or later.
  • Rebuild and redeploy any downstream client that statically links the affected library.
  • Adjust call sites to consume the new Metadata.was_encrypted field and reject any message where the flag is false.

Patch Information

The fix is published in the upstream repository as commit 82d70f6720e762898f34ae76b0894b0297d9b2f8. The patch adds a was_encrypted field to the Metadata struct and enforces that plaintext envelopes only yield decryption failure errors. The change is an intentional API break, and maintainers note it should be straightforward to resolve in dependent crates. Refer to GHSA-hrrc-wpfw-5hj2 for the full advisory.

Workarounds

  • No known workarounds exist; upgrading to the patched commit is required.
  • As a temporary compensating control, application code can wrap envelope handling to drop any Content payload that did not arrive through a verified Double Ratchet session.
bash
# Update the dependency to a patched revision
cargo update -p libsignal-service
cargo tree -p libsignal-service | grep libsignal-service
# Verify the resolved commit matches 82d70f6720e762898f34ae76b0894b0297d9b2f8 or later

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechLibsignal

  • SeverityHIGH

  • CVSS Score8.5

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-74
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-hrrc-wpfw-5hj2
  • Related CVEs
  • CVE-2025-24903: libsignal-service-rs Auth Bypass Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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