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
    • 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-21620

CVE-2026-21620: Erlang OTP TFTP Path Traversal Flaw

CVE-2026-21620 is a relative path traversal vulnerability in Erlang OTP TFTP modules that allows attackers to access unauthorized files. This article covers technical details, affected versions, impact, and mitigation.

Published: February 27, 2026

CVE-2026-21620 Overview

CVE-2026-21620 is a Relative Path Traversal vulnerability affecting the TFTP file handling modules in Erlang/OTP. The vulnerability exists in the tftp_file.erl module across multiple Erlang/OTP components including the core erlang/otp, inets, and tftp packages. An authenticated attacker with network access can exploit improper path validation to traverse directories and potentially access or modify files outside the intended TFTP root directory.

Critical Impact

Authenticated attackers can leverage path traversal sequences to escape the TFTP server's configured root directory, potentially reading sensitive configuration files or overwriting critical system files depending on the TFTP server's file system permissions.

Affected Products

  • Erlang/OTP versions from 17.0 (including commit 07b8f441ca711f9812fad9e9115bab3c3aa92f79)
  • Erlang/OTP inets application versions from 5.10 before 7.0
  • Erlang/OTP tftp application versions from 1.0

Discovery Timeline

  • 2026-02-20 - CVE-2026-21620 published to NVD
  • 2026-02-20 - Last updated in NVD database

Technical Details for CVE-2026-21620

Vulnerability Analysis

This vulnerability stems from insufficient path validation in the TFTP file handling implementation within Erlang/OTP. The affected files lib/tftp/src/tftp_file.erl and src/tftp_file.erl fail to properly sanitize file path inputs, allowing relative path traversal sequences (such as ../) to escape the intended directory scope.

The vulnerability is classified under CWE-23 (Relative Path Traversal), which describes scenarios where user-controlled input containing path traversal sequences is not properly neutralized before being used in file system operations. While the vulnerability requires authentication and network access, successful exploitation could allow an attacker to read or write files outside the designated TFTP root directory.

Root Cause

The root cause lies in improper isolation and compartmentalization within the tftp_file modules. The TFTP implementation does not adequately validate or canonicalize file paths before performing file operations. When processing TFTP read or write requests, the module accepts relative path components without stripping or blocking directory traversal sequences, allowing attackers to reference files in parent directories outside the TFTP server's intended scope.

Attack Vector

The attack vector is network-based, requiring an authenticated user to submit specially crafted TFTP requests containing relative path traversal sequences. The attacker must have valid credentials to interact with the TFTP service but can then leverage the path traversal vulnerability to access files beyond the configured root directory. This attack requires specific preconditions to be present (AT:P in CVSS 4.0), limiting the exploitability in certain configurations.

The security patches address this issue by implementing proper path validation. Below are excerpts from the official patches:

text
 ## Overwiew
 
 This is a complete implementation of the following IETF standards:
-    RFC 1350, The TFTP Protocol (revision 2).
-    RFC 2347, TFTP Option Extension.
-    RFC 2348, TFTP Blocksize Option.
-    RFC 2349, TFTP Timeout Interval and Transfer Size Options.
+
+* [RFC 1350][], The TFTP Protocol (revision 2).
+* [RFC 2347][], TFTP Option Extension.
+* [RFC 2348][], TFTP Blocksize Option.
+* [RFC 2349][], TFTP Timeout Interval and Transfer Size Options.
 
 The only feature that not is implemented in this release is
 the "netascii" transfer mode.

Source: GitHub Commit Update

Detection Methods for CVE-2026-21620

Indicators of Compromise

  • TFTP requests containing path traversal sequences such as ../ or ..%2f in file paths
  • Unusual file access patterns in TFTP server logs showing attempts to access system directories
  • TFTP read/write operations targeting files outside the configured TFTP root directory

Detection Strategies

  • Monitor TFTP server logs for requests containing encoded or plaintext directory traversal patterns
  • Implement network intrusion detection rules to flag TFTP packets with suspicious file path patterns
  • Deploy file integrity monitoring on sensitive directories that should not be accessible via TFTP

Monitoring Recommendations

  • Enable verbose logging on TFTP servers to capture full request paths for forensic analysis
  • Set up alerts for any TFTP file operations that resolve to paths outside the expected root directory
  • Review TFTP server configurations to ensure the service is running with minimal required privileges

How to Mitigate CVE-2026-21620

Immediate Actions Required

  • Upgrade Erlang/OTP to a patched version that addresses CVE-2026-21620 (tracked as OTP-19981)
  • Review TFTP server configurations and restrict file system permissions to limit potential damage
  • Consider disabling TFTP services if not required for operations until patching is complete

Patch Information

Erlang/OTP has released security patches addressing this path traversal vulnerability. The fix is tracked under issue OTP-19981 and has been merged into maintenance branches for OTP versions 26, 27, and 28. Patches are available via the following commits:

  • Patch for maint-26
  • Patch for maint-27
  • Patch for maint-28

The complete fix details and discussion are available in the GitHub Pull Request and the GitHub Security Advisory.

Workarounds

  • Configure the TFTP server to run in a chroot environment or container to limit file system access
  • Implement network-level access controls to restrict TFTP service access to trusted IP addresses only
  • Use a firewall to limit TFTP port (UDP 69) access to authorized clients
bash
# Example: Restrict TFTP access using iptables
iptables -A INPUT -p udp --dport 69 -s 192.168.1.0/24 -j ACCEPT
iptables -A INPUT -p udp --dport 69 -j DROP

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechErlang Otp

  • SeverityLOW

  • CVSS Score2.3

  • EPSS Probability0.02%

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

  • GitHub Commit Change

  • GitHub Commit Modification

  • GitHub Pull Request

  • GitHub Security Advisory

  • Erlang Version Documentation
  • Related CVEs
  • CVE-2026-32144: Erlang OTP Auth Bypass Vulnerability

  • CVE-2026-28810: Erlang/OTP DNS Cache Poisoning Vulnerability

  • CVE-2026-28808: Erlang OTP Auth Bypass Vulnerability

  • CVE-2026-23941: Erlang OTP HTTP Request Smuggling Flaw
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