Lucene search
K

CVE-2026-23942 SFTP root escape via component-agnostic prefix check in ssh_sftpd

🗓️ 13 Mar 2026 09:11:56Reported by EEFType 
cvelist
 cvelist
🔗 www.cve.org👁 23 Views

Path traversal in sftpd allows access to sibling dirs via prefix checks instead of proper path validation.

Related
Affected
Refs
[
  {
    "cpes": [
      "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
    ],
    "defaultStatus": "unknown",
    "modules": [
      "ssh_sftpd"
    ],
    "packageName": "ssh",
    "packageURL": "pkg:otp/ssh?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp&vcs_url=git%20https:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
    "product": "OTP",
    "programFiles": [
      "src/ssh_sftpd.erl"
    ],
    "programRoutines": [
      {
        "name": "ssh_sftpd:is_within_root/2"
      }
    ],
    "repo": "https://github.com/erlang/otp",
    "vendor": "Erlang",
    "versions": [
      {
        "changes": [
          {
            "at": "5.5.1",
            "status": "unaffected"
          },
          {
            "at": "5.2.11.6",
            "status": "unaffected"
          },
          {
            "at": "5.1.4.14",
            "status": "unaffected"
          }
        ],
        "lessThan": "*",
        "status": "affected",
        "version": "3.0.1",
        "versionType": "otp"
      }
    ]
  },
  {
    "collectionURL": "https://github.com",
    "cpes": [
      "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
    ],
    "defaultStatus": "unknown",
    "modules": [
      "ssh_sftpd"
    ],
    "packageName": "erlang/otp",
    "packageURL": "pkg:github/erlang/otp",
    "product": "OTP",
    "programFiles": [
      "lib/ssh/src/ssh_sftpd.erl"
    ],
    "programRoutines": [
      {
        "name": "ssh_sftpd:is_within_root/2"
      }
    ],
    "repo": "https://github.com/erlang/otp",
    "vendor": "Erlang",
    "versions": [
      {
        "changes": [
          {
            "at": "28.4.1",
            "status": "unaffected"
          },
          {
            "at": "27.3.4.9",
            "status": "unaffected"
          },
          {
            "at": "26.2.5.18",
            "status": "unaffected"
          }
        ],
        "lessThan": "*",
        "status": "affected",
        "version": "17.0",
        "versionType": "otp"
      },
      {
        "changes": [
          {
            "at": "27688a824f753d4c16371dc70e88753fb410590b",
            "status": "unaffected"
          },
          {
            "at": "9e0ac85d3485e7898e0da88a14be0ee2310a3b28",
            "status": "unaffected"
          },
          {
            "at": "5ed603a1211b83b8be2d1fc06d3f3bf30c3c9759",
            "status": "unaffected"
          }
        ],
        "lessThan": "*",
        "status": "affected",
        "version": "0",
        "versionType": "git"
      }
    ]
  }
]

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation