← Back to CVE Explorer

CVE-2026-56452

Full vulnerability record from the local CVENow database.

Description

Path traversal in the sshd-scp component of Apache MINA SSHD. Apache MINA SSHD is a Java library for client-side and server-side SSH. The implementation of receiving files or directories via SCP did not validate filenames in SCP "C" or "D" commands. A malicious sender could send filenames containing paths, resulting in files to be written in attacker-controlled places. The issue affects only * applications that use no longer supported Apache MINA SSHD versions < 2.0.0 and use the SCP functions to receive files, * or applications using sshd-scp in Apache MINA SSHD >= 2.0.0 to receive files. Applications using Apache MINA SSHD >= 2.0.0 not using sshd-scp are not affected. The issue is fixed in Apache MINA 2.19.0 and 3.0.0-M5. Affected applications are advised to upgrade to these versions.

Severity
HIGH
CVSS score
7.5 (v3.1)
Vulnerability status
Analyzed
Source identifier
Published
2026-07-20 21:16:48.820000
Last modified
2026-10-24 13:10:00.147000
View original CVE JSON
{
  "id": "CVE-2026-56452",
  "sourceIdentifier": "[email protected]",
  "published": "2026-07-20T21:16:48.820",
  "lastModified": "2026-10-24T13:10:00.147",
  "vulnStatus": "Analyzed",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "Path traversal in the sshd-scp component of Apache MINA SSHD. Apache MINA SSHD is a Java library for client-side and server-side SSH.\n\n\n\n\nThe implementation of receiving files or directories via SCP did not validate filenames in SCP \"C\" or \"D\" commands. A malicious sender could send filenames containing paths, resulting in files to be written in attacker-controlled places.\n\n\n\n\nThe issue affects only\n\n  *  applications that use no longer supported Apache MINA SSHD versions < 2.0.0 and use the SCP functions to receive files,\n  *  or applications using sshd-scp in Apache MINA SSHD >= 2.0.0 to receive files.\n\n\n\n\nApplications using Apache MINA SSHD >= 2.0.0 not using sshd-scp are not affected.\n\n\n\n\nThe issue is fixed in Apache MINA 2.19.0 and 3.0.0-M5. Affected applications are advised to upgrade to these versions."
    },
    {
      "lang": "es",
      "value": "Salto de ruta en el componente sshd-scp de Apache MINA SSHD. Apache MINA SSHD es una biblioteca Java para SSH del lado del cliente y del lado del servidor. La implementación de recepción de archivos o directorios vía SCP no validaba los nombres de archivo en los comandos SCP 'C' o 'D'. Un remitente malicioso podría enviar nombres de archivo que contengan rutas, lo que resultaría en que los archivos se escribieran en lugares controlados por el atacante. El problema afecta solo * aplicaciones que usan versiones de Apache MINA SSHD anterior a 2.0.0 que ya no son compatibles y usan las funciones SCP para recibir archivos, * o aplicaciones que usan sshd-scp en Apache MINA SSHD >= 2.0.0 para recibir archivos. Las aplicaciones que usan Apache MINA SSHD >= 2.0.0 que no usan sshd-scp no se ven afectadas. El problema está solucionado en Apache MINA 2.19.0 y 3.0.0-M5. Se aconseja a las aplicaciones afectadas que actualicen a estas versiones."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "Apache Software Foundation",
          "product": "Apache MINA SSHD",
          "defaultStatus": "unaffected",
          "collectionURL": "https://repo.maven.apache.org/maven2",
          "packageName": "org.apache.sshd:sshd-scp",
          "versions": [
            {
              "version": "0",
              "lessThanOrEqual": "2.18.0",
              "versionType": "maven",
              "status": "affected"
            },
            {
              "version": "3.0.0-M1",
              "lessThanOrEqual": "3.0.0-M4",
              "versionType": "maven",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
          "baseScore": 7.5,
          "baseSeverity": "HIGH",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "NONE",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "NONE",
          "integrityImpact": "HIGH",
          "availabilityImpact": "NONE"
        },
        "exploitabilityScore": 3.9,
        "impactScore": 3.6
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-07-21T17:10:14.573635Z",
          "id": "CVE-2026-56452",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "yes"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-22"
        },
        {
          "lang": "en",
          "value": "CWE-73"
        }
      ]
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "operator": "OR",
          "negate": false,
          "cpeMatch": [
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:apache:mina_sshd:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "2.0.0",
              "versionEndExcluding": "2.19.0",
              "matchCriteriaId": "93103A71-FB42-4C50-8529-232D40EAD7DD"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:apache:mina_sshd:3.0.0:m1:*:*:*:*:*:*",
              "matchCriteriaId": "32435A6F-3BD6-4AAB-93B1-0B1514419A50"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:apache:mina_sshd:3.0.0:m2:*:*:*:*:*:*",
              "matchCriteriaId": "0E399FD6-9A33-4F78-AFCE-F46C7BBC56F1"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:apache:mina_sshd:3.0.0:m3:*:*:*:*:*:*",
              "matchCriteriaId": "13419EBE-E6B4-4895-BF6C-FC910076CC7A"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:apache:mina_sshd:3.0.0:m4:*:*:*:*:*:*",
              "matchCriteriaId": "1B2D4A4D-BEF5-416F-91AD-B4F278B04C76"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://lists.apache.org/thread/xgoqvmksmd94fsqnzqjdtfjxf35os9no",
      "source": "[email protected]",
      "tags": [
        "Vendor Advisory",
        "Mailing List"
      ]
    },
    {
      "url": "http://www.openwall.com/lists/oss-security/2026/07/20/15",
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Mailing List",
        "Third Party Advisory"
      ]
    }
  ]
}