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-2026-4602

CVE-2026-4602: Jsrsasign Numeric Conversion Vulnerability

CVE-2026-4602 is a numeric type conversion flaw in Jsrsasign that allows attackers to break signature verification through incorrect modular inverses. This article covers technical details, affected versions, and mitigations.

Published: March 27, 2026

CVE-2026-4602 Overview

CVE-2026-4602 is a cryptographic vulnerability affecting the jsrsasign JavaScript cryptographic library, a widely-used package for RSA signing and verification in Node.js applications. Versions of jsrsasign before 11.1.1 are vulnerable to Incorrect Conversion between Numeric Types (CWE-681) due to improper handling of negative exponents in the ext/jsbn2.js file. An attacker can exploit this flaw by calling modPow with a negative exponent, forcing the computation of incorrect modular inverses and ultimately breaking signature verification mechanisms.

Critical Impact

This vulnerability allows attackers to bypass signature verification by exploiting incorrect modular inverse calculations, potentially undermining the cryptographic integrity of applications relying on jsrsasign for digital signature operations.

Affected Products

  • jsrsasign versions prior to 11.1.1
  • Node.js applications using vulnerable jsrsasign packages
  • Web applications implementing RSA signature verification with affected library versions

Discovery Timeline

  • 2026-03-23 - CVE-2026-4602 published to NVD
  • 2026-03-23 - Last updated in NVD database

Technical Details for CVE-2026-4602

Vulnerability Analysis

The vulnerability exists within the ext/jsbn2.js file of the jsrsasign library, specifically in how the modPow function processes negative exponent values. The cryptographic library fails to properly validate or handle negative exponents during modular exponentiation operations, which is a fundamental operation in RSA cryptography.

When a negative exponent is passed to the modPow function, the library performs incorrect numeric type conversions that result in erroneous modular inverse calculations. This mathematical error propagates through the signature verification process, causing valid signatures to potentially fail verification while allowing crafted invalid signatures to pass verification checks.

The flaw represents a classic Incorrect Conversion between Numeric Types issue where the library's assumptions about input ranges are violated, leading to undefined cryptographic behavior.

Root Cause

The root cause of CVE-2026-4602 lies in the ext/jsbn2.js module's failure to properly validate exponent parameters before performing modular exponentiation. The modPow function does not include boundary checks for negative values, and when such values are processed, the underlying BigInteger arithmetic produces mathematically incorrect results.

The library assumes that exponent values will always be non-negative integers, as is standard for RSA operations. However, without explicit validation, malicious or unexpected negative inputs bypass this assumption and corrupt the mathematical operations essential for cryptographic integrity.

Attack Vector

The attack vector for this vulnerability is network-based, requiring no user interaction or privileges. An attacker can exploit this vulnerability through the following mechanism:

The vulnerability can be triggered by supplying crafted input that causes the modPow function to receive a negative exponent value. In a signature verification context, this could occur through:

  1. Crafting malicious signature data that, when processed, results in negative exponent calculations
  2. Directly calling library functions with manipulated parameters in applications that expose such interfaces
  3. Exploiting downstream application logic that passes untrusted data to cryptographic operations

Successful exploitation allows attackers to forge signatures or cause denial of service by disrupting cryptographic operations. Technical details and proof-of-concept information are available in the GitHub Gist PoC.

Detection Methods for CVE-2026-4602

Indicators of Compromise

  • Unexpected signature verification failures in applications using jsrsasign
  • Log entries showing cryptographic operation errors or exceptions in jsbn2.js
  • Anomalous modular arithmetic results or BigInteger operation failures
  • Signs of signature forgery attempts or authentication bypass in application logs

Detection Strategies

  • Implement Software Composition Analysis (SCA) scanning to identify jsrsasign versions below 11.1.1 in your dependency tree
  • Monitor application logs for cryptographic exceptions originating from the jsrsasign library
  • Deploy runtime application self-protection (RASP) to detect unexpected cryptographic operation patterns
  • Use static code analysis to identify direct calls to modPow with potentially untrusted input

Monitoring Recommendations

  • Enable detailed logging for all cryptographic operations within applications using jsrsasign
  • Set up alerts for authentication or signature verification anomalies that could indicate exploitation attempts
  • Monitor npm audit and dependency vulnerability reports for jsrsasign-related advisories
  • Track application behavior for unusual patterns in RSA signature processing

How to Mitigate CVE-2026-4602

Immediate Actions Required

  • Update jsrsasign to version 11.1.1 or later immediately
  • Audit your package.json and package-lock.json files to identify all instances of jsrsasign dependencies
  • Review transitive dependencies that may include vulnerable jsrsasign versions
  • Implement input validation to reject negative exponent values at application boundaries

Patch Information

The jsrsasign project has addressed this vulnerability in version 11.1.1. The fix includes proper validation of exponent parameters to prevent negative values from being processed by the modPow function. The specific commit addressing this issue is available in the GitHub Commit Update.

Additional technical discussion regarding the fix can be found in the GitHub Pull Request Discussion. The Snyk Vulnerability Report provides supplementary vulnerability tracking information.

Workarounds

  • If immediate patching is not possible, implement application-level input validation to ensure exponent values are non-negative before passing to jsrsasign functions
  • Consider temporarily replacing jsrsasign with an alternative cryptographic library that is not affected by this vulnerability
  • Restrict access to endpoints or functionality that rely on jsrsasign signature operations until patching is complete
bash
# Update jsrsasign to patched version
npm update jsrsasign@11.1.1

# Verify installed version
npm list jsrsasign

# Audit dependencies for vulnerabilities
npm audit

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechJsrsasign

  • SeverityHIGH

  • CVSS Score7.7

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P/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
  • AvailabilityHigh
  • CWE References
  • CWE-681
  • Technical References
  • GitHub Pull Request Discussion

  • Snyk Vulnerability Report
  • Vendor Resources
  • GitHub Gist PoC

  • GitHub Commit Update
  • Related CVEs
  • CVE-2026-4600: Jsrsasign Auth Bypass Vulnerability

  • CVE-2026-4598: Jsrsasign DoS Vulnerability

  • CVE-2026-4599: Jsrsasign Information Disclosure Flaw

  • CVE-2026-4601: Jsrsasign Information Disclosure Flaw
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