- Accueil
- Vulnérabilités
- CVE-2026-48855
CVE-2026-48855
SFTP READLINK Leaks Absolute Backend Filesystem Path When Root Is Configured
Résumé
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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Erlang (9 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| OTP | de 3.0.1 (inclus) à 5.2.11.8 (exclu) |
5.2.11.8 |
CNA (éditeur ou attributeur) |
| OTP | de 17.0 (inclus) à 27.3.4.13 (exclu) |
27.3.4.13 |
CNA (éditeur ou attributeur) |
| OTP | Versions non précisées | — | CNA (éditeur ou attributeur) |
| Erlang/otp | de 17.0 (inclus) à 27.3.4.13 (exclu) |
— | NVD |
| Erlang/otp | de 28.0 (inclus) à 28.5.0.2 (exclu) |
— | NVD |
| Erlang/otp | de 29.0 (inclus) à 29.0.2 (exclu) |
— | NVD |
| Erlang/ssh | de 3.0.1 (inclus) à 5.2.11.8 (exclu) |
— | NVD |
| Erlang/ssh | de 5.5 (inclus) à 5.5.2.1 (exclu) |
— | NVD |
| Erlang/ssh | de 6.0 (inclus) à 6.0.1 (exclu) |
— | NVD |
Correctif
Mise à jour — 5.2.11.8, 27.3.4.13source officielle
Source : CNA (éditeur ou attributeur)
Contournement
Contournementsource officielle
* Use OS-level chroot to run the Erlang VM/SFTP server process in an isolated filesystem environment, eliminating reliance on the application-level root option. * Ensure that the SFTP server port is not reachable from untrusted machines. * Ensure that no sensitive information (usernames, project names, mount topology) is inferrable from the absolute path of the configured root directory.
Source : CNA (éditeur ou attributeur)
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Références
- https://github.com/erlang/otp/commit/8f4224a0d2676b0653d2c71a889a956e8c2c62d6Patch
- https://github.com/erlang/otp/security/advisories/GHSA-pv7g-pjrq-x2fhMitigation, Vendor Advisory
- https://cna.erlef.org/cves/CVE-2026-48855.htmlMitigation, Third Party Advisory
- https://github.com/erlang/otp/commit/08225797f7ef943d0c82a1d9dd6650d94ca2580drelated
- https://osv.dev/vulnerability/EEF-CVE-2026-48855Mitigation, Third Party Advisory
- https://www.erlang.org/doc/system/versions.html#order-of-versionsProduct
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- NVD
- Faiblesse (CWE)
- CNA (éditeur ou attributeur)
- Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N(CVSS 3.1, NVD)- Faiblesse
- CWE-200 · Divulgation d'information