{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2026-32147",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2026-32147",
    "idYear": 2026,
    "status": "PUBLISHED",
    "publishedAt": "2026-04-21T12:01:20.350Z",
    "updatedAt": "2026-07-24T14:14:17.633Z",
    "importedAt": "2026-10-24T01:58:08.712Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "SFTP chroot bypass via path traversal in SSH_FXP_FSETSTAT",
      "summary": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Erlang OTP ssh (ssh_sftpd module) allows an authenticated SFTP user to modify file attributes outside the configured chroot directory.\n\nThe SFTP daemon (ssh_sftpd) stores the raw, user-supplied path in file handles instead of the chroot-resolved path. When SSH_FXP_FSETSTAT is issued on such a handle, file attributes (permissions, ownership, timestamps) are modified on the real filesystem path, bypassing the root directory boundary entirely.\n\nAny authenticated SFTP user on a server configured with the root option can modify file attributes of files outside the intended chroot boundary. The prerequisite is that a target file must exist on the real filesystem at the same relative path. Note that this vulnerability only allows modification of file attributes; file contents cannot be read or altered through this attack vector.\n\nIf the SSH daemon runs as root, this enables direct privilege escalation: an attacker can set the setuid bit on any binary, change ownership of sensitive files, or make system configuration world-writable.\n\nThis vulnerability is associated with program files lib/ssh/src/ssh_sftpd.erl and program routines ssh_sftpd:do_open/4 and ssh_sftpd:handle_op/4.\n\nThis issue affects OTP from OTP 17.0 before OTP 28.4.3, OTP 27.3.4.11 and OTP 26.2.5.20, corresponding to ssh from 3.0.1 before 5.5.3, 5.2.11.7 and 5.1.4.15.",
      "affected": [
        {
          "vendor": "Erlang",
          "product": "OTP",
          "packageName": "ssh",
          "defaultStatus": "unknown",
          "versions": [
            {
              "version": "3.01",
              "status": "affected",
              "versionType": "otp",
              "lessThan": "*",
              "changes": [
                {
                  "at": "5.5.3",
                  "status": "unaffected"
                },
                {
                  "at": "5.2.11.7",
                  "status": "unaffected"
                },
                {
                  "at": "5.1.4.15",
                  "status": "unaffected"
                }
              ]
            }
          ]
        },
        {
          "vendor": "Erlang",
          "product": "OTP",
          "packageName": "erlang/otp",
          "collectionURL": "https://github.com",
          "defaultStatus": "unknown",
          "versions": [
            {
              "version": "17.0",
              "status": "affected",
              "versionType": "otp",
              "lessThan": "*",
              "changes": [
                {
                  "at": "28.4.3",
                  "status": "unaffected"
                },
                {
                  "at": "27.3.4.11",
                  "status": "unaffected"
                },
                {
                  "at": "26.2.5.20",
                  "status": "unaffected"
                }
              ]
            },
            {
              "version": "07b8f441ca711f9812fad9e9115bab3c3aa92f79",
              "status": "affected",
              "versionType": "git",
              "lessThan": "*",
              "changes": [
                {
                  "at": "28c5d5a6c5f873dc701b597276271763e7d1c004",
                  "status": "unaffected"
                }
              ]
            }
          ]
        }
      ]
    }
  }
}