Relative Path Traversal, Improper Isolation or Compartmentalization vulnerability in erlang otp erlang/otp (tftp_file modules), erlang otp inets (tftp_file modules), erlang otp tftp (tftp_file modules) allows Relative Path Traversal. This vulnerability is associated with program files lib/tftp/src/tftp_file.erl, src/tftp_file.erl.
This issue affects OTP from OTP 17.0 before OTP 28.3.2, OTP 27.3.4.8 and OTP 26.2.5.17, corresponding to tftp from 1.0 before 1.2.4, 1.2.2.1 and 1.1.1.1; also inets from 5.10 before 7.0.
Security readout for executives and security teams
Plain-English summary
A user with permitted TFTP access may manipulate relative file paths to reach files outside the intended TFTP directory. Potential confidentiality and integrity impact is limited, with no availability impact identified. Systems not using the affected TFTP file modules are unlikely to be exposed.
Executive priority
Treat as routine but time-bound remediation. Prioritize externally reachable or broadly accessible TFTP deployments and systems protecting sensitive files. Lower priority is reasonable where TFTP is disabled, isolated, or inaccessible to untrusted users.
Technical view
CVE-2026-21620 is a CWE-23 relative path traversal in Erlang/OTP tftp_file modules. The flaw weakens directory isolation during TFTP file operations. CVSS 4.0 rates it 2.3: network-reachable, low complexity, requiring privileges and specific conditions, with low confidentiality and integrity impact.
Likely exposure
Exposure requires affected Erlang/OTP, tftp, or inets versions, use of the tftp_file modules, network reachability, and an attacker with permitted access. OTP releases from 17.0 through vulnerable branch versions are affected; precise exposure should be confirmed against the vendor advisory.
Exploitation context
The supplied sources do not report active exploitation, and the CVE is not listed as KEV. Exploitation requires low privileges and an additional precondition. The primary risk is unauthorized access to or modification of files outside the configured TFTP directory.
Researcher notes
The vulnerable files are lib/tftp/src/tftp_file.erl and src/tftp_file.erl. Public patch commits and pull request 10706 are available for code-level review. The supplied evidence establishes path traversal but does not describe observed attacks or quantify reachable files under particular deployments.
Mitigation direction
Upgrade OTP 28 to 28.3.2 or later.
Upgrade OTP 27 to 27.3.4.8 or later.
Upgrade OTP 26 to 26.2.5.17 or later.
Update standalone tftp or inets components according to the vendor advisory.
Restrict TFTP access to trusted networks and authorized users until updated.
Validation and detection
Inventory Erlang/OTP, tftp, and inets versions across deployed systems.
Confirm whether tftp_file modules are enabled and used.
Identify which networks and identities can reach the TFTP service.
Compare installed versions with each affected branch's fixed release.
Review TFTP and file-access logs for unexpected paths or out-of-directory access.
After updating, verify the runtime reports the intended fixed version.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-23: File access and web shell behavior lookup
File traversal and upload weaknesses can lead teams to review file, web shell, execution, and collection telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.