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-2025-47934

CVE-2025-47934: OpenPGP.js Auth Bypass Vulnerability

CVE-2025-47934 is an authentication bypass flaw in OpenPGP.js that allows attackers to spoof signature verifications on inline-signed and signed-encrypted messages. This post covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-47934 Overview

CVE-2025-47934 is a signature verification spoofing vulnerability in OpenPGP.js, a JavaScript implementation of the OpenPGP protocol. The flaw allows attackers to craft maliciously modified messages that pass signature verification while containing data that was never actually signed. This enables complete forgery of inline-signed messages and signed-and-encrypted messages, undermining the fundamental integrity guarantees that cryptographic signatures are designed to provide.

Critical Impact

Attackers can spoof signature verifications, causing openpgp.verify and openpgp.decrypt to return valid verification results for data that was never legitimately signed, enabling complete message forgery.

Affected Products

  • OpenPGP.js versions 5.0.1 through 5.11.2
  • OpenPGP.js versions 6.0.0 through 6.1.0
  • Applications using openpgp.verify for inline-signed message verification
  • Applications using openpgp.decrypt with verificationKeys for signed-and-encrypted messages

Discovery Timeline

  • 2025-05-19 - CVE-2025-47934 published to NVD
  • 2025-05-21 - Last updated in NVD database

Technical Details for CVE-2025-47934

Vulnerability Analysis

This vulnerability represents a critical flaw in the cryptographic message verification pipeline of OpenPGP.js. The library's openpgp.verify and openpgp.decrypt functions can be manipulated to return data that differs from what was originally signed while still reporting a valid signature verification result. This breaks the fundamental non-repudiation and integrity properties that digital signatures are meant to guarantee.

The attack requires the adversary to possess a single valid message signature (either inline or detached) along with the plaintext data that was legitimately signed. With these components, an attacker can construct a new inline-signed message or signed-and-encrypted message containing arbitrary data of their choosing. The affected OpenPGP.js functions will incorrectly validate these forged messages as legitimately signed.

Detached signature verifications are not affected by this vulnerability since no signed data is returned in that verification mode.

Root Cause

The root cause is classified as CWE-347: Improper Verification of Cryptographic Signature. The vulnerability stems from improper message mutation during the signature verification process. The original code directly mutated the message packets object (msg.packets) during stream processing, which allowed the returned data to become desynchronized from the data that was actually verified by the cryptographic signature.

The vulnerable code pushed packets directly to msg.packets using msg.packets.push(...), which modified the original message object. This mutation created a window where the signature verification could be performed against one set of data while the function returned different data to the caller.

Attack Vector

The attack is network-accessible and requires no authentication or user interaction. An attacker with knowledge of a valid signature and its corresponding signed plaintext can:

  1. Obtain a legitimate inline-signed or detached signature along with the original signed data
  2. Construct a new message containing attacker-controlled content
  3. Package the malicious content with the valid signature in a way that exploits the verification desynchronization
  4. Submit the crafted message to an application using vulnerable OpenPGP.js versions
  5. The application's verification returns success while exposing the attacker's forged data

The security patch addresses this by creating an immutable copy of the packets during verification:

javascript
// Security patch in src/message.js - Don't mutate message during verification
     if (literalDataList.length !== 1) {
       throw new Error('Can only verify message with one literal data packet.');
     }
-    if (stream.isArrayStream(msg.packets.stream)) {
-      msg.packets.push(...await stream.readToEnd(msg.packets.stream, _ => _ || []));
+    let packets = msg.packets;
+    if (stream.isArrayStream(packets.stream)) {
+      packets = packets.concat(await streamReadToEnd(packets.stream, _ => _ || []));
     }
-    const onePassSigList = msg.packets.filterByTag(enums.packet.onePassSignature).reverse();
-    const signatureList = msg.packets.filterByTag(enums.packet.signature);
-    if (onePassSigList.length && !signatureList.length && util.isStream(msg.packets.stream) && !stream.isArrayStream(msg.packets.stream)) {
+    const onePassSigList = packets.filterByTag(enums.packet.onePassSignature).reverse();
+    const signatureList = packets.filterByTag(enums.packet.signature);
+    if (onePassSigList.length && !signatureList.length && util.isStream(packets.stream) && !isArrayStream(packets.stream)) {
       await Promise.all(onePassSigList.map(async onePassSig => {
         onePassSig.correspondingSig = new Promise((resolve, reject) => {
           onePassSig.correspondingSigResolve = resolve;

Source: GitHub Commit 43f5f4e

Detection Methods for CVE-2025-47934

Indicators of Compromise

  • Messages passing signature verification where the extracted content differs from expected signed data
  • Unusual patterns in inline-signed messages with mismatched literal data packets
  • Applications accepting signed messages from untrusted sources that exhibit unexpected content
  • Cryptographic verification logs showing successful validations for messages with anomalous packet structures

Detection Strategies

  • Audit application dependencies for OpenPGP.js versions between 5.0.1 and 5.11.2 or 6.0.0 and 6.1.0
  • Implement secondary verification by manually extracting and re-verifying signatures using detached verification mode
  • Monitor for discrepancies between signed message content and expected payload formats
  • Review application logs for patterns indicating message tampering or unexpected signature verification successes

Monitoring Recommendations

  • Enable verbose logging for OpenPGP.js signature verification operations in production environments
  • Implement application-level integrity checks that validate message content against expected schemas or formats after signature verification
  • Monitor package manager update notifications for OpenPGP.js security releases
  • Consider implementing canary messages to detect signature verification tampering in high-security environments

How to Mitigate CVE-2025-47934

Immediate Actions Required

  • Upgrade OpenPGP.js to version 5.11.3 or 6.1.1 immediately
  • Audit all applications using openpgp.verify with inline-signed messages for potential compromise
  • Review applications using openpgp.decrypt with verificationKeys parameter
  • Implement the workarounds described below if immediate patching is not possible

Patch Information

Security patches are available in OpenPGP.js versions 5.11.3 and 6.1.1. The fix ensures that message packets are not mutated during verification by using immutable copies. Organizations should update to these versions through their package management systems. The patches are available via:

  • OpenPGP.js v5.11.3 Release
  • OpenPGP.js v6.1.1 Release

For additional technical details, refer to the GitHub Security Advisory GHSA-8qff-qr5q-5pr8.

Workarounds

  • For inline-signed messages: Extract the message and signature(s) from the message returned by openpgp.readMessage, then verify each signature as a detached signature by passing it along with a new message created using openpgp.createMessage containing only the data to openpgp.verify
  • For signed-and-encrypted messages: Perform decryption and verification as two separate steps by first calling openpgp.decrypt without the verificationKeys parameter, then passing the returned signature(s) and a new message containing the decrypted data (created via openpgp.createMessage) to openpgp.verify
  • Consider temporarily blocking acceptance of inline-signed messages from untrusted sources until patching is complete
  • Implement application-level content validation as a defense-in-depth measure
bash
# Update OpenPGP.js via npm
npm update openpgp@5.11.3
# or for version 6.x
npm update openpgp@6.1.1

# Verify installed version
npm list openpgp

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechOpenpgp

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-347
  • Technical References
  • GitHub Commit Update

  • GitHub Commit Update

  • GitHub Release v5.11.3

  • GitHub Release v6.1.1

  • GitHub Security Advisory GHSA-8qff-qr5q-5pr8
  • Latest CVEs
  • CVE-2025-70797: LimeSurvey XSS Vulnerability

  • CVE-2025-30650: Juniper Junos OS Auth Bypass Vulnerability

  • CVE-2026-35471: Goshs Path Traversal Vulnerability

  • CVE-2026-35393: Goshs Path Traversal 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