Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-70043

CVE-2025-70043: Ayms node-Tor Certificate Validation Flaw

CVE-2025-70043 is an improper certificate validation flaw in Ayms node-Tor that disables TLS/SSL verification, enabling man-in-the-middle attacks. This article covers technical details, affected versions, and mitigation.

Published: February 27, 2026

CVE-2025-70043 Overview

An improper certificate validation vulnerability (CWE-295) has been discovered in the Ayms node-To Node.js library. The application disables TLS/SSL certificate validation by setting rejectUnauthorized: false in TLS socket options, which allows attackers to perform man-in-the-middle attacks and intercept encrypted communications.

Critical Impact

This vulnerability enables attackers to intercept, read, and modify sensitive data transmitted over supposedly secure TLS connections, completely undermining the security guarantees of HTTPS communications.

Affected Products

  • Ayms node-To (master branch)
  • Applications utilizing the node-To library for TLS/SSL connections
  • Any downstream projects dependent on node-To for secure communications

Discovery Timeline

  • 2026-02-23 - CVE CVE-2025-70043 published to NVD
  • 2026-02-23 - Last updated in NVD database

Technical Details for CVE-2025-70043

Vulnerability Analysis

This vulnerability stems from the intentional disabling of TLS certificate verification in the node-To library. When TLS connections are established, the library explicitly sets rejectUnauthorized: false in the TLS socket configuration, which instructs Node.js to accept any certificate presented by the server, regardless of its validity, expiration status, or whether it was issued by a trusted Certificate Authority.

The impact of this vulnerability is significant because it completely negates the authentication and integrity guarantees provided by TLS. An attacker positioned between the client and server can present their own certificate, intercept all traffic, and either passively monitor communications or actively modify data in transit without detection.

Root Cause

The root cause is the explicit disabling of certificate validation in the TLS socket options. In Node.js, the rejectUnauthorized option defaults to true, which enforces proper certificate chain validation. By setting this option to false, the library bypasses all certificate verification checks, including:

  • Certificate chain validation against trusted Certificate Authorities
  • Certificate expiration date verification
  • Hostname verification matching the certificate's Common Name or Subject Alternative Names
  • Certificate revocation status checking

This configuration pattern is sometimes used during development to bypass self-signed certificate errors but should never be present in production code.

Attack Vector

The vulnerability is exploitable via network-based man-in-the-middle (MITM) attacks. An attacker must be positioned to intercept network traffic between the vulnerable application and its intended server. This can occur in various scenarios:

  • On shared or compromised network infrastructure
  • Through ARP spoofing on local networks
  • Via DNS hijacking or poisoning
  • Through compromised routers or network appliances
  • On malicious Wi-Fi access points

Once positioned, the attacker can present any TLS certificate, including self-signed certificates, and the vulnerable application will accept it without warning, allowing the attacker to decrypt, inspect, and modify all traffic.

Detection Methods for CVE-2025-70043

Indicators of Compromise

  • Unexpected certificate warnings or errors in client applications that were previously suppressed
  • Network traffic analysis showing connections to unexpected IP addresses for known services
  • Log entries indicating TLS handshakes with certificates not matching expected issuers
  • Anomalous certificate fingerprints in connection logs

Detection Strategies

  • Conduct static code analysis to identify instances of rejectUnauthorized: false in Node.js applications
  • Review application dependencies for the vulnerable node-To library
  • Monitor TLS handshake metadata for connections using self-signed or untrusted certificates
  • Implement certificate pinning validation at the network level to detect mismatched certificates

Monitoring Recommendations

  • Enable verbose TLS logging in production environments to capture certificate details
  • Deploy network monitoring tools to analyze TLS certificate chains in real-time
  • Implement alerting for applications making outbound TLS connections without proper certificate validation
  • Regularly audit application dependencies for known vulnerable packages

How to Mitigate CVE-2025-70043

Immediate Actions Required

  • Review all code using the node-To library and identify where it establishes TLS connections
  • Remove or replace the vulnerable library with an alternative that properly validates certificates
  • Audit other dependencies for similar improper certificate validation patterns
  • Implement certificate pinning for critical external connections

Patch Information

No official patch has been published by the vendor at this time. Organizations should monitor the node-To GitHub repository for security updates. Additional technical details about this vulnerability are available in the security researcher's disclosure.

Workarounds

  • Fork the library and modify the TLS options to set rejectUnauthorized: true or remove the option entirely to use Node.js defaults
  • Replace the vulnerable library with an alternative that properly validates TLS certificates
  • If the library must be used, implement a custom TLS agent that enforces certificate validation
  • Deploy network-level TLS inspection to detect and block connections with invalid certificates
bash
# Example: Verify TLS configuration in Node.js applications
# Search for improper certificate validation patterns
grep -r "rejectUnauthorized.*false" ./node_modules/
grep -r "rejectUnauthorized.*false" ./src/

# Check if node-To is installed
npm list node-To 2>/dev/null || echo "node-To not found"

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechAyms

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability0.02%

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

  • GitHub Profile

  • GitHub Node.js Library
  • Latest CVEs
  • CVE-2025-49454: TinySalt Path Traversal Vulnerability

  • CVE-2025-48261: MultiVendorX Information Disclosure Flaw

  • CVE-2025-32119: CardGate WooCommerce SQL Injection Flaw

  • CVE-2025-26879: s2Member Plugin Reflected XSS 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