{"affected":[{"ranges":[{"events":[{"introduced":"08225797f7ef943d0c82a1d9dd6650d94ca2580d"},{"fixed":"8f4224a0d2676b0653d2c71a889a956e8c2c62d6"}],"repo":"https://github.com/erlang/otp","type":"GIT"}]}],"aliases":["GHSA-pv7g-pjrq-x2fh","CVE-2026-48855"],"credits":[{"name":"Jonatan Männchen / EEF","type":"FINDER"},{"name":"Jonatan Männchen / EEF","type":"REMEDIATION_DEVELOPER"},{"name":"Michał Wąsowski","type":"REMEDIATION_DEVELOPER"},{"name":"Jakub Witczak","type":"REMEDIATION_REVIEWER"}],"database_specific":{"capec_ids":["CAPEC-116"],"cpe_ids":["cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"],"cwe_ids":["CWE-200"]},"details":"## Summary\n\nExposure of Sensitive Information to an Unauthorized Actor vulnerability in Erlang OTP ssh (ssh\\_sftpd module) allows File Discovery.\n\nThe 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 /.\n\nThe 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.\n\nThis vulnerability is associated with program files lib/ssh/src/ssh\\_sftpd.erl.\n\nThis 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.\n\n## Workaround\n\n\\* 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.\n\\* Ensure that the SFTP server port is not reachable from untrusted machines.\n\\* Ensure that no sensitive information (usernames, project names, mount topology) is inferrable from the absolute path of the configured root directory.\n\n## Configuration\n\nThe SFTP subsystem must be enabled on the SSH server and the root option must be configured in the ssh\\_sftpd:subsystem\\_spec/1 call. Deployments without the root option are not affected.","id":"EEF-CVE-2026-48855","modified":"2026-06-10T14:38:13.521Z","published":"2026-06-10T14:35:49.683Z","references":[{"type":"ADVISORY","url":"https://github.com/erlang/otp/security/advisories/GHSA-pv7g-pjrq-x2fh"},{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-48855.html"},{"type":"WEB","url":"https://www.erlang.org/doc/system/versions.html#order-of-versions"},{"type":"FIX","url":"https://github.com/erlang/otp/commit/8f4224a0d2676b0653d2c71a889a956e8c2c62d6"}],"related":[],"schema_version":"1.7.3","severity":[{"score":"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","type":"CVSS_V4"}],"summary":"SFTP READLINK Leaks Absolute Backend Filesystem Path When Root Is Configured","upstream":[]}