A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection Platforms. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Read More
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-2026-43897

CVE-2026-43897: Link Preview JS Information Disclosure

CVE-2026-43897 is an information disclosure vulnerability in Link Preview JS that allows IPv6 loopback and DNS rebinding attacks, leading to internal data leaks. This article covers technical details, affected versions, and fixes.

Published: May 18, 2026

CVE-2026-43897 Overview

CVE-2026-43897 is a Server-Side Request Forgery (SSRF) vulnerability [CWE-918] in the link-preview-js library, a popular JavaScript package used to extract metadata from web links. Versions prior to 4.0.1 fail to validate IPv6 loopback addresses and do not protect against DNS rebinding attacks. An attacker can supply a URL that resolves to an internal IP address, causing the library to fetch resources from internal infrastructure. This behavior can expose internal services, metadata endpoints, or sensitive data hosted on private networks. The maintainers released version 4.0.1 to address both the IPv6 loopback bypass and the DNS resolution issue.

Critical Impact

Attackers can coerce applications using link-preview-js to issue requests against internal IP ranges, enabling internal data leaks and reconnaissance of private network resources.

Affected Products

  • link-preview-js versions prior to 4.0.1
  • Applications and services embedding the vulnerable library for URL preview generation
  • Server-side Node.js deployments that pass user-supplied URLs to the library

Discovery Timeline

  • 2026-05-11 - CVE-2026-43897 published to NVD
  • 2026-05-13 - Last updated in NVD database

Technical Details for CVE-2026-43897

Vulnerability Analysis

The link-preview-js library fetches a remote URL and parses returned HTML to extract preview metadata such as title, description, and images. Prior to version 4.0.1, the library applied checks for IPv4 loopback and private ranges but did not enforce equivalent restrictions on IPv6 addresses. Attackers can supply IPv6 loopback notations such as [::1] or IPv4-mapped IPv6 addresses to reach localhost-bound services that bypass the existing filters.

The library also failed to defend against DNS rebinding. An attacker-controlled hostname can resolve to a public address during initial validation, then resolve to an internal address such as 127.0.0.1, 169.254.169.254, or an RFC1918 range when the actual HTTP request is issued. This time-of-check to time-of-use gap allows requests to reach cloud metadata services and internal management interfaces.

Root Cause

The root cause is incomplete URL and address validation. The library performed string-based checks against the user-supplied URL rather than resolving the hostname and validating every returned address against a deny list that includes IPv6 loopback, link-local, and unique local address ranges.

Attack Vector

Exploitation requires network reachability to an application that exposes link-preview-js functionality, typically through a user-facing field that accepts URLs. The attacker submits a crafted URL pointing to an IPv6 loopback address or to a domain configured for DNS rebinding. The server-side application then issues an HTTP request that lands on internal infrastructure, returning response content or side-channel signals to the attacker. No authentication or user interaction beyond URL submission is required, as reflected by the network attack vector classification. For technical specifics, see the GitHub Security Advisory GHSA-4gp8-rjrq-ch6q and the GitHub Pull Request that implements the fix.

Detection Methods for CVE-2026-43897

Indicators of Compromise

  • Outbound HTTP requests from application servers to IPv6 loopback addresses such as [::1] or IPv4-mapped variants like [::ffff:127.0.0.1]
  • Application-originated requests to cloud metadata endpoints such as 169.254.169.254 or to RFC1918 ranges that do not match expected backend dependencies
  • Repeated DNS lookups for the same hostname returning alternating public and private IP addresses within short windows, indicating DNS rebinding

Detection Strategies

  • Inspect application logs for URLs submitted to preview endpoints and correlate against the resolved destination IP at request time
  • Apply egress filtering rules that alert when application workloads initiate connections to loopback, link-local, or private address ranges
  • Use software composition analysis to identify deployments of link-preview-js at versions below 4.0.1

Monitoring Recommendations

  • Monitor DNS resolution telemetry for short TTL responses that toggle between public and internal addresses for the same FQDN
  • Track requests originating from server-side rendering or preview services that target cloud metadata IPs
  • Establish baselines for outbound traffic destinations from Node.js services and alert on deviation

How to Mitigate CVE-2026-43897

Immediate Actions Required

  • Upgrade link-preview-js to version 4.0.1 or later in all dependent projects and rebuild affected services
  • Audit package.json and lockfiles across repositories for transitive use of the vulnerable library
  • Restrict egress from servers running URL preview functionality to a tightly scoped allow list

Patch Information

The maintainers released the fix in GitHub Release 4.0.1. The corrective changes are visible in the GitHub Commit Update, which expands address validation to cover IPv6 loopback and resolves the DNS rebinding gap by re-validating resolved addresses prior to issuing the outbound request.

Workarounds

  • Place a hardened forward proxy between the application and the internet that blocks requests to loopback, link-local, RFC1918, and IPv6 reserved ranges
  • Run preview generation in a network namespace or container that has no route to internal management networks or cloud metadata services
  • Pre-resolve user-supplied hostnames and reject requests whose resolved addresses fall into private or loopback ranges before passing them to the library
bash
# Configuration example
npm install link-preview-js@4.0.1 --save
npm ls link-preview-js

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechLink Preview Js

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/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-918
  • Technical References
  • GitHub Commit Update

  • GitHub Pull Request

  • GitHub Release 4.0.1

  • GitHub Security Advisory GHSA-4gp8-rjrq-ch6q
  • Latest CVEs
  • CVE-2025-30386: Microsoft 365 Apps Use After Free Flaw

  • CVE-2025-59234: Microsoft 365 Apps Use After Free Flaw

  • CVE-2025-49702: Microsoft 365 Apps RCE Vulnerability

  • CVE-2025-59227: Microsoft 365 Apps Use-After-Free RCE
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