CVE-2026-48855

Exposure 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 OTP 27.3.4.13, OTP 28.5.0.2, and OTP 29.0.2, corresponding to ssh from 3.0.1 before 5.2.11.8, 5.5.2.1, and 6.0.1. Whether OTP before OTP 17.0, corresponding to ssh before 3.0.1, is affected is unknown.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
cpe:2.3:a:erlang:erlang\/ssh:*:*:*:*:*:*:*:*
cpe:2.3:a:erlang:erlang\/ssh:*:*:*:*:*:*:*:*
cpe:2.3:a:erlang:erlang\/ssh:*:*:*:*:*:*:*:*

History

25 Oct 2026, 23:10

Type Values Removed Values Added
Summary
  • (es) La vulnerabilidad de Exposición de Información Sensible a un Actor No Autorizado en Erlang OTP ssh (módulo ssh_sftpd) permite el Descubrimiento de Archivos. El gestor SSH_FXP_READLINK en ssh_sftpd envía el resultado en bruto de file:read_link/2 al cliente sin llamar a chroot_filename/2 para eliminar el prefijo de la raíz del backend. Un cliente SFTP autenticado puede crear un enlace simbólico dentro del chroot apuntando a /; ssh_sftpd resuelve el objetivo a la raíz absoluta del backend y lo almacena en disco. Leer el enlace simbólico de vuelta a través de SSH_FXP_READLINK devuelve esa ruta absoluta, por ejemplo /data/sftp, en lugar del valor chrooted /. La información divulgada es la ruta absoluta del sistema de archivos del directorio raíz SFTP y de cualquier objetivo de enlace simbólico dentro de él. No se pueden obtener contenidos de archivos, credenciales o acceso a rutas fuera del directorio raíz a través de este problema solamente. Esta vulnerabilidad está asociada con los archivos de programa lib/ssh/src/ssh_sftpd.erl. Este problema afecta a OTP desde OTP 17.0 antes de 29.0.2, 28.5.0.2 y 27.3.4.13 correspondiente a ssh desde 3.0.1 antes de 6.0.1, 5.5.2.1 y 5.2.11.8.

24 Sep 2026, 21:17

Type Values Removed Values Added
References
  • () https://github.com/erlang/otp/commit/08225797f7ef943d0c82a1d9dd6650d94ca2580d -
Summary (en) Exposure 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 OTP 29.0.2, OTP 28.5.0.2 and OTP 27.3.4.13, corresponding to ssh from 3.0.1 before 6.0.1, 5.5.2.1 and 5.2.11.8. (en) Exposure 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 OTP 27.3.4.13, OTP 28.5.0.2, and OTP 29.0.2, corresponding to ssh from 3.0.1 before 5.2.11.8, 5.5.2.1, and 6.0.1. Whether OTP before OTP 17.0, corresponding to ssh before 3.0.1, is affected is unknown.

Information

Published : 2026-06-10 16:17

Updated : 2026-10-25 23:10


NVD link : CVE-2026-48855

Mitre link : CVE-2026-48855

CVE.ORG link : CVE-2026-48855


JSON object : View

Products Affected

erlang

  • erlang\/ssh
  • erlang\/otp
CWE
CWE-200

Exposure of Sensitive Information to an Unauthorized Actor