CVE-2026-93995 (GCVE-0-2026-93995)
Vulnerability from cvelistv5
Published
2026-09-30 09:38
Modified
2026-09-30 14:30
CWE
  • CWE-20 - Improper Input Validation
Summary
Improper input validation in sshd-git in Apache MINA SSHD, versions up to 2.19.0 and 3.0.0-M1 to 3.0.0-M5. Apache MINA SSHD is a Java library for client-side and server-side SSH. Component org.apache.sshd:sshd-git provides though class GitPgmCommandFactory a way to configure an Apache MINA SSHD server such that authenticated SSH clients can remotely execute git commands via the JGit library on git repositories stored on the server. In CVE-2026-58624 this mechanism was restricted to only a few git commands, including "git archive" without "--output" or "-o" options such that the resulting archive would not be written on the server but instead sent back to the client over the SSH connection. The fix done for CVE-2026-58624 was insufficient as it missed removing the single-argument "-o=file.zip" version of the command parameter from the "archive" command. Users are recommended to upgrade to version 2.20.0 or 3.0.0-M6, which fix this issue.
Impacted products
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-93995",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-09-30T14:30:48.778493Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-09-30T14:30:58.296Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://repo.maven.apache.org/maven2",
          "defaultStatus": "unaffected",
          "packageName": "org.apache.sshd:sshd-git",
          "packageURL": "pkg:maven/org.apache.sshd/sshd-git",
          "product": "Apache MINA SSHD",
          "vendor": "Apache Software Foundation",
          "versions": [
            {
              "lessThan": "2.20.0",
              "status": "affected",
              "version": "0",
              "versionType": "maven"
            },
            {
              "lessThan": "3.0.0-M6",
              "status": "affected",
              "version": "3.0.0-M1",
              "versionType": "maven"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Ho1aAs \u003cxxy010605@gmail.com\u003e"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cdiv\u003e\u003cdiv\u003eImproper input validation in sshd-git in Apache MINA SSHD, versions up to 2.19.0 and 3.0.0-M1 to 3.0.0-M5. Apache \nMINA SSHD is a Java library for client-side and server-side SSH.\u003c/div\u003e\u003cdiv\u003e\u003cbr\u003e\u003c/div\u003e\u003cdiv\u003eComponent org.apache.sshd:sshd-git provides though class GitPgmCommandFactory a way to configure an Apache MINA SSHD server such \nthat authenticated SSH clients can remotely execute git commands via the JGit library \non git repositories stored on the server. In\u0026nbsp;CVE-2026-58624 this mechanism was restricted to only a few git commands, including \"git archive\" without \"--output\" or \"-o\" options such that the resulting archive would not be written on the server but instead sent back to the client over the SSH connection.\u003c/div\u003e\u003cbr\u003e\u003c/div\u003e\u003cdiv\u003eThe fix done for\u0026nbsp;CVE-2026-58624 was insufficient as it missed removing the single-argument \"-o=file.zip\"\u0026nbsp;version of the command parameter\u0026nbsp;from the \"archive\" command.\u003c/div\u003e\u003cdiv\u003e\u003cbr\u003e\u003c/div\u003eUsers are recommended to upgrade to version 2.20.0 or 3.0.0-M6, which fix this issue."
            }
          ],
          "value": "Improper input validation in sshd-git in Apache MINA SSHD, versions up to 2.19.0 and 3.0.0-M1 to 3.0.0-M5. Apache \nMINA SSHD is a Java library for client-side and server-side SSH.\n\n\n\n\nComponent org.apache.sshd:sshd-git provides though class GitPgmCommandFactory a way to configure an Apache MINA SSHD server such \nthat authenticated SSH clients can remotely execute git commands via the JGit library \non git repositories stored on the server. In\u00a0CVE-2026-58624 this mechanism was restricted to only a few git commands, including \"git archive\" without \"--output\" or \"-o\" options such that the resulting archive would not be written on the server but instead sent back to the client over the SSH connection.\n\n\n\n\nThe fix done for\u00a0CVE-2026-58624 was insufficient as it missed removing the single-argument \"-o=file.zip\"\u00a0version of the command parameter\u00a0from the \"archive\" command.\n\n\n\n\nUsers are recommended to upgrade to version 2.20.0 or 3.0.0-M6, which fix this issue."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 6.5,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N",
            "version": "3.1"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        },
        {
          "other": {
            "content": {
              "text": "moderate"
            },
            "type": "Textual description of severity"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-20",
              "description": "CWE-20 Improper Input Validation",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-30T09:38:47.654Z",
        "orgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
        "shortName": "apache"
      },
      "references": [
        {
          "tags": [
            "vendor-advisory"
          ],
          "url": "https://lists.apache.org/thread.html/k13ox2xlry38h9gh6rhmh1d9zs345clk"
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "Apache MINA SSHD: Remote execution of JGit \"archive -o=file.zip\" can write file on the server",
      "x_generator": {
        "engine": "Vulnogram 1.0.3"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
    "assignerShortName": "apache",
    "cveId": "CVE-2026-93995",
    "datePublished": "2026-09-30T09:38:47.654Z",
    "dateReserved": "2026-09-19T12:55:41.059Z",
    "dateUpdated": "2026-09-30T14:30:58.296Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-93995\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-09-30T14:30:48.778493Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-09-30T14:30:55.366Z\"}}], \"cna\": {\"title\": \"Apache MINA SSHD: Remote execution of JGit \\\"archive -o=file.zip\\\" can write file on the server\", \"source\": {\"discovery\": \"EXTERNAL\"}, \"credits\": [{\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Ho1aAs \u003cxxy010605@gmail.com\u003e\"}], \"metrics\": [{\"format\": \"CVSS\", \"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 6.5, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"MEDIUM\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"NONE\", \"privilegesRequired\": \"LOW\", \"confidentialityImpact\": \"NONE\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"GENERAL\"}]}, {\"other\": {\"type\": \"Textual description of severity\", \"content\": {\"text\": \"moderate\"}}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"GENERAL\"}]}], \"affected\": [{\"vendor\": \"Apache Software Foundation\", \"product\": \"Apache MINA SSHD\", \"versions\": [{\"status\": \"affected\", \"version\": \"0\", \"lessThan\": \"2.20.0\", \"versionType\": \"maven\"}, {\"status\": \"affected\", \"version\": \"3.0.0-M1\", \"lessThan\": \"3.0.0-M6\", \"versionType\": \"maven\"}], \"packageURL\": \"pkg:maven/org.apache.sshd/sshd-git\", \"packageName\": \"org.apache.sshd:sshd-git\", \"collectionURL\": \"https://repo.maven.apache.org/maven2\", \"defaultStatus\": \"unaffected\"}], \"references\": [{\"url\": \"https://lists.apache.org/thread.html/k13ox2xlry38h9gh6rhmh1d9zs345clk\", \"tags\": [\"vendor-advisory\"]}], \"x_generator\": {\"engine\": \"Vulnogram 1.0.3\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"Improper input validation in sshd-git in Apache MINA SSHD, versions up to 2.19.0 and 3.0.0-M1 to 3.0.0-M5. Apache \\nMINA SSHD is a Java library for client-side and server-side SSH.\\n\\n\\n\\n\\nComponent org.apache.sshd:sshd-git provides though class GitPgmCommandFactory a way to configure an Apache MINA SSHD server such \\nthat authenticated SSH clients can remotely execute git commands via the JGit library \\non git repositories stored on the server. In\\u00a0CVE-2026-58624 this mechanism was restricted to only a few git commands, including \\\"git archive\\\" without \\\"--output\\\" or \\\"-o\\\" options such that the resulting archive would not be written on the server but instead sent back to the client over the SSH connection.\\n\\n\\n\\n\\nThe fix done for\\u00a0CVE-2026-58624 was insufficient as it missed removing the single-argument \\\"-o=file.zip\\\"\\u00a0version of the command parameter\\u00a0from the \\\"archive\\\" command.\\n\\n\\n\\n\\nUsers are recommended to upgrade to version 2.20.0 or 3.0.0-M6, which fix this issue.\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"\u003cdiv\u003e\u003cdiv\u003eImproper input validation in sshd-git in Apache MINA SSHD, versions up to 2.19.0 and 3.0.0-M1 to 3.0.0-M5. Apache \\nMINA SSHD is a Java library for client-side and server-side SSH.\u003c/div\u003e\u003cdiv\u003e\u003cbr\u003e\u003c/div\u003e\u003cdiv\u003eComponent org.apache.sshd:sshd-git provides though class GitPgmCommandFactory a way to configure an Apache MINA SSHD server such \\nthat authenticated SSH clients can remotely execute git commands via the JGit library \\non git repositories stored on the server. In\u0026nbsp;CVE-2026-58624 this mechanism was restricted to only a few git commands, including \\\"git archive\\\" without \\\"--output\\\" or \\\"-o\\\" options such that the resulting archive would not be written on the server but instead sent back to the client over the SSH connection.\u003c/div\u003e\u003cbr\u003e\u003c/div\u003e\u003cdiv\u003eThe fix done for\u0026nbsp;CVE-2026-58624 was insufficient as it missed removing the single-argument \\\"-o=file.zip\\\"\u0026nbsp;version of the command parameter\u0026nbsp;from the \\\"archive\\\" command.\u003c/div\u003e\u003cdiv\u003e\u003cbr\u003e\u003c/div\u003eUsers are recommended to upgrade to version 2.20.0 or 3.0.0-M6, which fix this issue.\", \"base64\": false}]}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-20\", \"description\": \"CWE-20 Improper Input Validation\"}]}], \"providerMetadata\": {\"orgId\": \"f0158376-9dc2-43b6-827c-5f631a4d8d09\", \"shortName\": \"apache\", \"dateUpdated\": \"2026-09-30T09:38:47.654Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-93995\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-09-30T14:30:58.296Z\", \"dateReserved\": \"2026-09-19T12:55:41.059Z\", \"assignerOrgId\": \"f0158376-9dc2-43b6-827c-5f631a4d8d09\", \"datePublished\": \"2026-09-30T09:38:47.654Z\", \"assignerShortName\": \"apache\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…