Descrizione
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.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 6.5.
Versioni da aggiornare
- Erlang Erlang/Otp: vulnerabili le versioni dalla
17.0precedenti alla27.3.4.13→ aggiornare alla27.3.4.13o successiva. - Erlang Erlang/Otp: vulnerabili le versioni dalla
28.0precedenti alla28.5.0.2→ aggiornare alla28.5.0.2o successiva. - Erlang Erlang/Otp: vulnerabili le versioni dalla
29.0precedenti alla29.0.2→ aggiornare alla29.0.2o successiva. - Erlang Erlang/Ssh: vulnerabili le versioni dalla
3.0.1precedenti alla5.2.11.8→ aggiornare alla5.2.11.8o successiva. - Erlang Erlang/Ssh: vulnerabili le versioni dalla
5.5precedenti alla5.5.2.1→ aggiornare alla5.5.2.1o successiva. - Erlang Erlang/Ssh: vulnerabili le versioni dalla
6.0precedenti alla6.0.1→ aggiornare alla6.0.1o successiva.
Patch e advisory
- Patch: github.com/erlang/otp/commit/8f4224a0d2676b0653…
- Mitigazione: github.com/erlang/otp/security/advisories/GHSA-…
- Mitigazione: cna.erlef.org/cves/CVE-2026-48855.html
- Mitigazione: osv.dev/vulnerability/EEF-CVE-2026-48855
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Verificare quali dati risultano esposti e ruotare eventuali segreti (token, password, chiavi) potenzialmente compromessi.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| Erlang | Erlang/Otp | ≥ 17.0 < 27.3.4.13 | 27.3.4.13 |
| Erlang | Erlang/Otp | ≥ 28.0 < 28.5.0.2 | 28.5.0.2 |
| Erlang | Erlang/Otp | ≥ 29.0 < 29.0.2 | 29.0.2 |
| Erlang | Erlang/Ssh | ≥ 3.0.1 < 5.2.11.8 | 5.2.11.8 |
| Erlang | Erlang/Ssh | ≥ 5.5 < 5.5.2.1 | 5.5.2.1 |
| Erlang | Erlang/Ssh | ≥ 6.0 < 6.0.1 | 6.0.1 |
Riferimenti
- Patchhttps://github.com/erlang/otp/commit/8f4224a0d2676b0653d2c71a889a956e8c2c62d6
- Mitigazionehttps://github.com/erlang/otp/security/advisories/GHSA-pv7g-pjrq-x2fh
- Mitigazionehttps://cna.erlef.org/cves/CVE-2026-48855.html
- Mitigazionehttps://osv.dev/vulnerability/EEF-CVE-2026-48855
- Riferimentohttps://github.com/erlang/otp/commit/08225797f7ef943d0c82a1d9dd6650d94ca2580d
- Riferimentohttps://www.erlang.org/doc/system/versions.html#order-of-versions