CVE-2026-48855

NameCVE-2026-48855
DescriptionExposure of Sensitive Information to an Unauthorized Actor vulnerability in Erlang OTP ssh (ssh_sftpd module) allows File Discovery. The SSH_FXP_READLINK handler in ssh_sftpd sends the raw result of file:read_link/2 to the client without calling chroot_filename/2 to strip the backend root prefix. An authenticated SFTP client can create a symlink inside the chroot pointing to /; ssh_sftpd resolves the target to the absolute backend root and stores it on disk. Reading the symlink back via SSH_FXP_READLINK returns that absolute path, for example /data/sftp, instead of the chrooted value /. The information disclosed is the absolute filesystem path of the SFTP root directory and of any symlink targets within it. No file contents, credentials, or access to paths outside the root directory are obtainable through this issue alone. This vulnerability is associated with program files lib/ssh/src/ssh_sftpd.erl. This issue affects OTP from OTP 17.0 before 29.0.2, 28.5.0.2 and 27.3.4.13 corresponding to ssh from 3.0.1 before 6.0.1, 5.5.2.1 and 5.2.11.8.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1139727

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
erlang (PTS)bullseye1:23.2.6+dfsg-1+deb11u1vulnerable
bullseye (security)1:23.2.6+dfsg-1+deb11u4vulnerable
bookworm1:25.2.3+dfsg-1+deb12u4vulnerable
bookworm (security)1:25.2.3+dfsg-1+deb12u1vulnerable
trixie1:27.3.4.1+dfsg-1+deb13u2vulnerable
forky, sid1:29.0.2+dfsg-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
erlangsource(unstable)1:29.0.2+dfsg-11139727

Notes

https://github.com/erlang/otp/security/advisories/GHSA-pv7g-pjrq-x2fh
https://cna.erlef.org/cves/CVE-2026-48855.html
https://osv.dev/vulnerability/EEF-CVE-2026-48855
Fixed by: https://github.com/erlang/otp/commit/8f4224a0d2676b0653d2c71a889a956e8c2c62d6 (OTP-29.0.2, OTP-28.5.0.2, OTP-27.3.4.13)

Search for package or bug name: Reporting problems