---
id: CVE-2026-48855
title: >-
  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 withou…
summary: >-
  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 withou…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-200
vendor: erlang
product: erlang/otp
affected:
  - 'erlang/otp >= 17.0, < 27.3.4.13'
  - 'erlang/otp >= 28.0, < 28.5.0.2'
  - 'erlang/otp >= 29.0, < 29.0.2'
  - 'erlang/ssh >= 3.0.1, < 5.2.11.8'
  - 'erlang/ssh >= 5.5, < 5.5.2.1'
  - 'erlang/ssh >= 6.0, < 6.0.1'
patched:
  - erlang/otp 29.0.2
  - erlang/ssh 6.0.1
published: '2026-06-10'
updated: '2026-09-24'
sourceUpdated: '2026-09-24T21:17:14.143'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-48855'
references:
  - url: 'https://cna.erlef.org/cves/CVE-2026-48855.html'
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  - url: >-
      https://github.com/erlang/otp/commit/08225797f7ef943d0c82a1d9dd6650d94ca2580d
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  - url: >-
      https://github.com/erlang/otp/commit/8f4224a0d2676b0653d2c71a889a956e8c2c62d6
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  - url: 'https://github.com/erlang/otp/security/advisories/GHSA-pv7g-pjrq-x2fh'
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  - url: 'https://osv.dev/vulnerability/EEF-CVE-2026-48855'
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  - url: 'https://www.erlang.org/doc/system/versions.html#order-of-versions'
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
tags:
  - nvd
  - cve.org
  - score-dispute
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-06-10T16:22:16.684743Z'
scores:
  nvd: 6.5
  cna: 2.3
epss: 0.00487
epssPercentile: 0.39234
ingestedAt: '2026-09-24T20:51:40.308Z'
---

## Overview

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.

## Affected

- `erlang/otp >= 17.0, < 27.3.4.13`
- `erlang/otp >= 28.0, < 28.5.0.2`
- `erlang/otp >= 29.0, < 29.0.2`
- `erlang/ssh >= 3.0.1, < 5.2.11.8`
- `erlang/ssh >= 5.5, < 5.5.2.1`
- `erlang/ssh >= 6.0, < 6.0.1`

## Remediation

Upgrade past the affected range:

- `erlang/otp 29.0.2`
- `erlang/ssh 6.0.1`
