cve.bz

CVE-2026-136442 BusyBox ftpd Directory Traversal Arbitrary File Read and Write Vulnerability

6.5 medium

Medium (6.5) in busybox busybox.

On this page
BusyBox ftpd Directory Traversal Arbitrary File Read and Write Vulnerability. This vulnerability allows remote attackers to create or delete arbitrary files or disclose sensitive information on affected installations of BusyBox. Authentication is not required to exploit this vulnerability. The specific flaw exists within the ftpd service, which listens on TCP port 21 by default. The issue results from the lack of proper validation of a user-supplied path prior to using it in file operations. An attacker can leverage this vulnerability to create or delete files or disclose information in the context of the service account. Was ZDI-CAN-27555.

Severity

CVSS 3.0

6.5 medium
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
Assigned by
zdi (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-136442 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-136442?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-136442?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-136442 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
BusyBox1.37.0

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated as having Moderate impact for Red Hat environments because the BusyBox FTP daemon (ftpd) is neither enabled nor run by default in standard product deployments. Exploitation requires an administrator to explicitly configure and expose the standalone ftpd applet on a reachable network interface. Furthermore, any unauthorized file read, creation, or deletion is confined to the specific filesystem privileges granted to the ftpd process account.

Red Hat's mitigation

Terminate any running BusyBox ftpd instances if FTP service is not required. If FTP capability must remain active, restrict incoming traffic on TCP port 21 to trusted hosts or internal subnets using firewalld:

1. Remove public exposure of the FTP port:

firewall-cmd --permanent --zone=public --remove-port=21/tcp

2. Permit access only from an authorized administrative subnet:

firewall-cmd --permanent --zone=trusted --add-source=192.168.1.0/24

3. Apply the firewall rules:

firewall-cmd --reload

Warning: Executing firewall reload commands applies rule changes immediately and terminates active connections from untrusted endpoints. Blocking or stopping the ftpd daemon will prevent remote clients from transferring files.

ProductPackageStateAdvisory
Red Hat Hardened ImagesbusyboxAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-136442.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON