CVE-2026-136442: BusyBox ftpd lets an unauthenticated client read, create and delete files outside the served directory

ByLinuxtastic

December 1, 2026 #BusyBox, #CVE

BusyBox’s ftpd applet does not validate the path a client supplies before using it in file operations, so a remote client with no credentials can read files, and with uploads enabled create or delete them, outside the directory the server was meant to serve. The Zero Day Initiative published this on 24 November 2026 as a zero-day: it reported the bug to the maintainer on 31 July 2025, asked twice for an update, and released the advisory sixteen months later with no vendor response recorded and no fix. There is no patched BusyBox release and no distribution package on 1 December 2026. If a BusyBox ftpd is reachable from any network you do not control, stop it or firewall port 21 to trusted hosts today; there is nothing to upgrade to yet.

CVE-2026-136442 at a glance.

ComponentBusyBox, the ftpd applet (networking/ftpd.c), the small FTP server that embedded firmware, container base images and rescue systems run from tcpsvd or inetd
Affected versionsZDI and NVD name 1.37.0; the Debian tracker marks 1.35.0, 1.37.0 and 1.38.0 vulnerable, and nothing in BusyBox’s release notes up to 1.38.0 (13 May 2026) touches the issue, so every current build with ftpd compiled in should be assumed affected
Fixed inNo fix published. ZDI’s timeline records the report to the maintainer on 31 July 2025, follow-ups on 10 November and 10 December 2025, notice of intent to publish on 9 November 2026 and public release on 24 November 2026, with no vendor response; BusyBox’s git log for ftpd.c refused our reader, and Debian lists the source as “(unfixed)” on 1 December 2026
SeverityZDI (CNA) CVSS 3.0 6.5 Medium (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N), CWE-22 (path traversal); NVD Awaiting Analysis with the CNA score. Red Hat Moderate, 6.5, draft, because ftpd “is not enabled by default and must be explicitly exposed”; Debian “minor issue”, no DSA planned for trixie; Ubuntu and Alpine pages unreachable
Exploited in the wildNot on CISA’s Known Exploited Vulnerabilities list as of 1 December 2026 (catalogue 2026.11.30). EPSS 1.39% (73rd percentile) on 30 November 2026, high for an unexploited bug and a reflection of the public zero-day
Who is exposedAnything that runs BusyBox ftpd on a reachable port: routers, NAS boxes, cameras and industrial devices built on BusyBox firmware, Alpine or BusyBox-based containers that expose FTP for file drops, PXE and rescue environments, and the occasional “quick file share” on a lab box. The attacker needs no account (PR:N); AC:H reflects the conditions ZDI could not control, not a hard exploit. Read access is the baseline; create and delete need the server to have been started with -w. A BusyBox without ftpd compiled in, or with it never started, is not on the path
PublishedZDI-26-1069 and CVE record 24 November 2026; this page built 1 December 2026, last updated 1 December 2026

What it is

BusyBox’s ftpd is a few hundred lines of C that implements enough of RFC 959 to serve a directory: it is started per connection by tcpsvd or inetd, given a directory to serve, and answers RETR, LIST, CWD and, when started with -w, STOR and DELE. ZDI’s advisory says the flaw “results from the lack of proper validation of a user-supplied path prior to using it in file operations”, and that “an attacker can leverage this vulnerability to create or delete files or disclose information in the context of the service account”. That is a classic directory-traversal description: a path in a client command that walks out of the served tree and is used as-is. ZDI’s text does not say which command or which construction, and we could not read the source history to find out, so this page does not guess at the exact path shape.

Two things bound the impact. The first is what “the service account” can do: an ftpd started as root that has not changed root into its directory can read anything on the box, while one running as a dedicated user inside a chroot can read only what that user can see there. The second is -w: without it, ftpd refuses writes and the bug is a file read; with it, the vector’s I:L becomes file creation and deletion wherever the service account can write. Both are configuration choices the device vendor or image author made, which is why the same CVE is a non-event on one box and a credential leak on the next.

The timeline is the other half of the story. ZDI reported the bug in July 2025, and its advisory records the maintainer being asked for updates in November and December 2025 and notified of publication in November 2026, with nothing coming back. Red Hat and Debian both rate it low on the grounds that ftpd is off by default, which is true of a general-purpose distribution and not true of the firmware where BusyBox lives. The fix, when it comes, will be a small change to networking/ftpd.c; this page will be updated when a commit or release carries it. The November tftpd traversal, CVE-2026-136411, went the other way: reported to the list, accepted by the maintainer and fixed in git within weeks.

Who is affected on Linux

Each row is what the distribution’s own security tracker said on 1 December 2026; the link in the row is the tracker page, which will be newer than this one. BusyBox is in every distribution’s rescue and container tooling, and in far more devices that have no tracker at all.

DistributionStatusFixed package
AlpineTracker unreachable on 1 December 2026 (client error); nothing inferred. Alpine’s busybox package is the system shell and includes ftpd; a fix will arrive as a patched busybox build—
Debianvulnerable in bookworm (1:1.35.0-4+deb12u1), trixie (1:1.37.0-6), forky and sid (1:1.38.0-3); trixie marked no-dsa, “Minor issue”; source “(unfixed)”nothing on 1 December 2026
UbuntuTracker unreachable on 1 December 2026 (server error on every attempt); nothing inferred—
RHEL, Rocky, Alma, CentOS StreamModerate, 6.5 (draft), CWE-22; RHEL 6 busybox under investigation, the Hardened Images busybox Affected; RHEL 7 and later do not ship BusyBoxnothing on 1 December 2026; Red Hat’s mitigation is to stop ftpd or restrict port 21 with firewalld
openSUSE/SLENot consulted for this page—
Device firmware (OpenWrt, vendor builds), Buildroot and Yocto images, busybox and Alpine container imagesThe upstream state applies: no fix exists, so every build with ftpd enabled is affectednone; rebuild when upstream commits a fix

How to check

Three questions, in order: is ftpd compiled into this BusyBox, is it running or wired to a listener, and if so with which user, which directory and whether -w. On a device you cannot shell into, the last question collapses to one: does port 21 answer, and with what banner.

# 1. is ftpd in this build? (any version counts: no fixed release exists)
busybox 2>/dev/null | head -1
busybox --list 2>/dev/null | grep -x ftpd && echo "ftpd compiled in" || echo "no ftpd applet"

# 2. is anything listening on 21, and is it BusyBox? (tcpsvd/inetd start ftpd per connection, so look at the listener, not for an ftpd process)
ss -tlnp 2>/dev/null | grep ':21 ' ; netstat -tlnp 2>/dev/null | grep ':21 '
grep -rE '^\s*ftp\b.*ftpd' /etc/inetd.conf /etc/inetd.d/ 2>/dev/null
ps | grep -E 'tcpsvd.*21|ftpd' | grep -v grep

# 3. how it is started: user, directory, and the -w that enables writes
cat /etc/init.d/*ftp* /etc/rc.local 2>/dev/null | grep -nE 'ftpd|tcpsvd'
# from another host: a BusyBox ftpd greets with "220 Operation successful"
printf 'QUIT\r\n' | nc -w 3 DEVICE 21

No ftpd applet, or no listener on 21, means the vulnerable code is not reachable and there is nothing to do but note the version for when a fix ships. A listener started as a non-root user inside its directory, without -w, is a read of whatever that user can see from there; a listener started as root, or with -w, or on a port the internet can reach, is the case to act on now, and on a device with no shell the banner test from step 3 is enough to decide.

How to fix it

There is no package to install. Until BusyBox commits a fix and the distributions and device vendors rebuild, the only controls are to stop serving FTP, to serve it only to hosts you trust, or to reduce what a traversal can reach. Red Hat’s guidance is the first two; the third is what you do on a device that has to keep its FTP drop.

# stop it: whichever of these started it
/etc/init.d/ftpd stop 2>/dev/null; killall tcpsvd 2>/dev/null
sed -i 's/^\(\s*ftp\b.*ftpd\)/#\1/' /etc/inetd.conf && killall -HUP inetd

# or keep it, but only from trusted hosts (host firewall, or the network's)
iptables -I INPUT -p tcp --dport 21 ! -s 10.20.30.0/24 -j DROP
firewall-cmd --permanent --zone=public --remove-service=ftp && firewall-cmd --reload

# or keep it, but as an unprivileged user chrooted to its directory, read-only, from tcpsvd
tcpsvd -vE -u ftp 0.0.0.0 21 ftpd /srv/ftp

The last form runs ftpd as the ftp user, which limits a read to what that user can open, and drops -w, which removes the create and delete half of the advisory outright. What not to do: do not replace BusyBox ftpd with anonymous FTP on a full-size server “until the fix”, because the problem on most affected boxes is that plain FTP is reachable at all, and do not read Debian’s “minor issue” as a verdict for a camera on a public address; Debian rates the package as it ships on Debian, where nobody turns ftpd on.

Sources

  • CVE-2026-136442 at CVE.org — the ZDI CNA record (24 November 2026, updated 25 November): the description, CVSS 3.0 6.5, CWE-22, affected 1.37.0
  • ZDI-26-1069 — “(0Day) BusyBox ftpd Directory Traversal Arbitrary File Read and Write Vulnerability”; the vulnerability details, the disclosure timeline from 31 July 2025 to 24 November 2026 with no vendor response, and the credit to Ryota Shiga (GMO Flatt Security) with takumi-san.ai
  • BusyBox news — newest release 1.38.0 (13 May 2026), whose notes do not mention the issue; git history of networking/ftpd.c refused our reader on 1 December
  • Red Hat CVE page and its security data record — Moderate, “not enabled by default”, the stop-or-firewall mitigation, RHEL 6 under investigation, Hardened Images affected
  • NVD entry — Awaiting Analysis; published 24 November; the CNA score, CWE-22 primary
  • Distribution trackers: Debian (vulnerable in every suite, unfixed, trixie no-dsa) · Ubuntu (unreachable on 1 December) · Alpine (unreachable on 1 December)
  • CISA KEV catalogue 2026.11.30, not listed · EPSS 0.01389, percentile 0.725, dated 30 November 2026

Related reading

This advisory page was assembled from the primary sources listed above on 1 December 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.