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-5312

CVE-2026-5312: D-Link NAS Authentication Bypass Flaw

CVE-2026-5312 is an authentication bypass vulnerability affecting multiple D-Link NAS devices that allows remote attackers to circumvent access controls. This article covers technical details, affected models, and mitigation.

Published: April 2, 2026

CVE-2026-5312 Overview

A weakness has been identified in multiple D-Link NAS (Network Attached Storage) devices affecting the disk management CGI interface. The vulnerability exists in the /cgi-bin/dsk_mgr.cgi file, specifically impacting numerous functions including FMT_restart, Status_HDInfo, SMART_List, ScanDisk_info, ScanDisk, volume_status, Get_Volume_Mapping, FMT_check_disk_remount_state, FMT_rebuildinfo, FMT_result_list, FMT_result_list_phy, FMT_get_dminfo, FMT_manually_rebuild_info, and Get_current_raidtype. Exploitation of this vulnerability allows remote attackers to bypass access controls on affected devices.

Critical Impact

Remote attackers can exploit improper access controls in the disk management interface to potentially disrupt NAS device operations. The exploit has been made publicly available, increasing the risk of active exploitation against unpatched devices.

Affected Products

  • D-Link DNS-120, DNR-202L, DNS-315L, DNS-320, DNS-320L, DNS-320LW
  • D-Link DNS-321, DNR-322L, DNS-323, DNS-325, DNS-326, DNS-327L
  • D-Link DNR-326, DNS-340L, DNS-343, DNS-345, DNS-726-4
  • D-Link DNS-1100-4, DNS-1200-05, DNS-1550-04 (firmware up to 20260205)

Discovery Timeline

  • April 1, 2026 - CVE-2026-5312 published to NVD
  • April 1, 2026 - Last updated in NVD database

Technical Details for CVE-2026-5312

Vulnerability Analysis

This vulnerability is classified as CWE-266 (Incorrect Privilege Assignment), indicating that the affected D-Link NAS devices fail to properly enforce access controls on sensitive disk management functions. The web interface exposed through /cgi-bin/dsk_mgr.cgi contains multiple functions that handle critical storage operations without adequate authentication or authorization checks.

The vulnerability enables remote attackers to interact with disk management functions that should require administrative privileges. Functions such as FMT_restart, SMART_List, ScanDisk, and RAID management operations can be accessed without proper validation of user credentials or privilege levels. This represents a fundamental flaw in the access control mechanism protecting the device's administrative interface.

Root Cause

The root cause of CVE-2026-5312 lies in the improper implementation of access controls within the dsk_mgr.cgi script. The affected functions fail to validate whether incoming requests originate from authenticated administrative sessions before processing disk management operations. This design flaw allows unauthenticated or low-privileged users to invoke functions intended exclusively for device administrators.

Attack Vector

The attack can be executed remotely over the network without requiring user interaction or prior authentication. An attacker with network access to the vulnerable D-Link NAS device can send crafted HTTP requests to the /cgi-bin/dsk_mgr.cgi endpoint, targeting any of the vulnerable functions. The exploitation method involves directly invoking disk management functions such as FMT_restart or ScanDisk operations that can affect device availability and storage integrity.

The vulnerability is accessible via HTTP requests to the CGI endpoint. Attackers can target functions like FMT_restart to disrupt operations or query SMART_List and volume_status to gather information about storage configurations. For detailed technical analysis, refer to the GitHub Vulnerability Report 172 and GitHub Vulnerability Report 173.

Detection Methods for CVE-2026-5312

Indicators of Compromise

  • Unexpected HTTP requests to /cgi-bin/dsk_mgr.cgi from external IP addresses
  • Log entries showing access to disk management functions without preceding authentication events
  • Unusual disk formatting, scanning, or RAID operations initiated outside maintenance windows
  • Multiple requests to functions like FMT_restart, SMART_List, or Get_Volume_Mapping in rapid succession

Detection Strategies

  • Monitor web server access logs for unauthenticated requests to /cgi-bin/dsk_mgr.cgi
  • Deploy network intrusion detection rules targeting HTTP requests containing vulnerable function names
  • Implement web application firewall (WAF) rules to block direct access to the CGI endpoint from untrusted sources
  • Alert on any disk management operations that occur without corresponding administrative login sessions

Monitoring Recommendations

  • Enable verbose logging on D-Link NAS devices to capture all CGI access attempts
  • Configure SIEM correlation rules to detect exploitation patterns targeting the affected endpoint
  • Establish baseline network traffic patterns for NAS devices and alert on anomalies
  • Monitor for service disruptions or unexpected reboots that may indicate active exploitation

How to Mitigate CVE-2026-5312

Immediate Actions Required

  • Isolate affected D-Link NAS devices from direct internet exposure using firewall rules
  • Restrict access to the web management interface to trusted IP addresses only
  • Implement network segmentation to limit attack surface for vulnerable devices
  • Review access logs for evidence of prior exploitation attempts
  • Consider replacing end-of-life devices that will not receive security patches

Patch Information

D-Link has not released a specific patch for this vulnerability at the time of publication. Organizations should monitor the D-Link Official Website for security advisories and firmware updates. Given the extensive list of affected NAS models, many of which are legacy products, users should verify whether their specific model is still within the vendor's support lifecycle.

Additional technical details and vulnerability submissions can be found at VulDB #354641.

Workarounds

  • Disable remote access to the NAS web management interface if not required
  • Place affected devices behind a VPN to prevent direct network exposure
  • Configure firewall rules to block external access to ports serving the web interface (typically port 80/443)
  • Implement additional authentication layers such as a reverse proxy with authentication
  • Schedule regular reviews of device logs to detect unauthorized access attempts
bash
# Example: Restrict NAS web interface access using iptables
# Only allow management access from trusted admin subnet

# Block all external access to NAS web interface
iptables -A INPUT -p tcp --dport 80 -s ! 192.168.1.0/24 -j DROP
iptables -A INPUT -p tcp --dport 443 -s ! 192.168.1.0/24 -j DROP

# Log blocked attempts for monitoring
iptables -A INPUT -p tcp --dport 80 -j LOG --log-prefix "NAS-BLOCK: "
iptables -A INPUT -p tcp --dport 443 -j LOG --log-prefix "NAS-BLOCK: "

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechD Link

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/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
  • AvailabilityLow
  • CWE References
  • CWE-266
  • Technical References
  • GitHub Vulnerability Report 172

  • GitHub Vulnerability Report 173

  • VulDB Submission #780442

  • VulDB Submission #780443

  • VulDB #354641

  • VulDB CTI for #354641

  • D-Link Official Website
  • Related CVEs
  • CVE-2025-71057: D-Link DSL-124 Session Hijacking Vulnerability

  • CVE-2026-1685: D-Link DIR-823X Auth Bypass Vulnerability

  • CVE-2024-6045: D-Link Router Auth Bypass Vulnerability

  • CVE-2026-4486: D-Link DIR-513 Buffer Overflow Vulnerability
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