SFTP READLINK Leaks Absolute Backend Filesystem Path When Root Is Configured (Erlang OTP)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.30 % · percentile 23 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- EEF
- NVD status
- Modified
Description
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.
Weaknesses (CWE)
- CWE-200 — Exposure of Sensitive Information to an Unauthorized Actor
References
- 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
- https://www.erlang.org/doc/system/versions.html#order-of-versions
- https://github.com/erlang/otp/commit/08225797f7ef943d0c82a1d9dd6650d94ca2580d
- https://github.com/erlang/otp/commit/8f4224a0d2676b0653d2c71a889a956e8c2c62d6
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 4.0 | LOW 2.3 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N | EEF |
| CVSS 4.0 | LOW 2.3 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | NVD · 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) |
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2026-36056
- GCVE · GCVE-0-2026-48855
CERT-FR advisories
- CERTFR-2026-AVI-0783 — Multiples vulnérabilités dans Microsoft Azure · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*≥ 17.0 < 27.3.4.13cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*≥ 28.0 < 28.5.0.2cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*≥ 29.0 < 29.0.2cpe:2.3:a:erlang:erlang\/ssh:*:*:*:*:*:*:*:*≥ 3.0.1 < 5.2.11.8cpe:2.3:a:erlang:erlang\/ssh:*:*:*:*:*:*:*:*≥ 5.5 < 5.5.2.1cpe:2.3:a:erlang:erlang\/ssh:*:*:*:*:*:*:*:*≥ 6.0 < 6.0.1
Affected products
| Product | Versions |
|---|---|
| Erlang · OTP | affected 17.0 < * |
| Erlang · OTP | affected 3.0.1 < * |
| Erlang · OTP | affected 08225797f7ef943d0c82a1d9dd6650d94ca2580d < 8f4224a0d2676b0653d2c71a889a956e8c2c62d6 ; unaffected 8f4224a0d2676b0653d2c71a889a956e8c2c62d6 < * |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |