Skip to content
VulniPulse
Medium4.3Red Hat Linux

Medium [CVE-2026-53422] Erlang OTP ssh: Information disclosure via SFTP REALPATH handler

This medium-severity Red Hat Linux advisory covers CVE-2026-53422 affecting Red Hat Hardened Images, Red Hat OpenStack Platform 16.2, Red Hat OpenStack Platform 17.1.

CVE-2026-53422 Published Jul 2, 2026Updated by vendor Jul 2, 2026
Affected products & platforms
Red Hat LinuxUnclassified
Open vendor advisory

Android app · Google Play

Monitor future Red Hat Linux CVEs from your phone.

Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 32 official vendor sources and 160+ reviewed platform categories.

Matching phone alertsOptional email delivery

Summary

Observable Response Discrepancy vulnerability in Erlang OTP ssh (ssh_sftpd module) allows an authenticated SFTP user to enumerate the existence of files and directories outside the configured root directory. The SSH_FXP_REALPATH handler in ssh_sftpd calls relate_file_name/3 with Canonicalize=false, unlike every other SFTP operation handler.

This allows.. components in the requested path to bypass the is_within_root/2 check without being resolved. The un-canonicalized path then enters resolve_symlinks/2, which walks up the directory tree above the configured root and issues read_link() syscalls on arbitrary filesystem paths.

An authenticated SFTP client can exploit this by sending a REALPATH request with a crafted traversal path. The server response differs depending on whether the target path exists on the host filesystem (SSH_FXP_NAME when the path resolves successfully, SSH_FX_NO_SUCH_FILE when it does not).

This creates a path-existence oracle that an attacker can use to enumerate the filesystem structure outside the configured root, including the existence of sensitive files, directories, and mount points. The vulnerability leaks only the existence of paths.

No file contents, credentials, or write access are obtainable through this issue alone. The information gained may assist further attacks when combined with other vulnerabilities.

Affected versions
  • < 17.0
  • < 29.0.3
  • < 28.5.0.3
  • < 27.3.4.14
  • < 3.0.1
  • < 6.0.2
  • < 5.5.2.2
  • < 5.2.11.9

Official advisory · high-confidence parse· fetched 14 days ago·verify at source

Fixed versions
  • erlang27-main-27.3.4.14-1.hum1
  • RHSA-2026:35998

Official advisory · high-confidence parse· fetched 14 days ago·verify at source

Mitigation

Upgrade to a fixed release: erlang27-main-27.3.4.14-1.hum1, RHSA-2026:35998. That is the remediation for this advisory.

The vendor advisory may list additional interim mitigations or workarounds not captured here — review it before change work.

Official advisory · high-confidence parse· fetched 14 days ago·verify at source

Discussion(0)

No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.

Sign in to join the discussion.