{"schemaVersion":3,"id":"CVE-2026-58624","aliases":["UBUNTU-CVE-2026-58624","DEBIAN-CVE-2026-58624"],"status":"published","duplicateOf":null,"title":null,"description":"Improper input validation in sshd-git in Apache MINA SSHD. Apache MINA SSHD is a Java library for client-side and server-side SSH.\n\n\n\n\nComponent org.apache.sshd:sshd-git provides though its GitPgmCommandFactory a way to configure an Apache MINA SSHD server such that SSH clients can remotely execute git commands via the JGit library on git repositories stored on the server.\n\n\n\n\nThis GitPgmCommandFactory allowed a user authenticated via SSH to run any JGit command available, including commands that could write files at arbitrary places such as git archive with the --output option.\n\n\n\n\nAffected are SSH servers implemented with Apache MINA SSHD and using the GitPgmCommandFactory. If the GitPgmCommandFactory is not configured on the server, the server is not affected.\n\n\n\n\nIt is recommended to upgrade affected servers to Apache MINA SSHD 2.19.0 or 3.0.0-M5, which fix this issue.\n\n\n\n\nThe issue is fixed by restricting the available commands to a small whitelist of uncritical commands (such as git log). git archive is also allowed, but its --output argument is ignored and the archive is always sent through the SSH channel to the client.","dates":{"published":"2026-07-20T20:27:39.070Z","modified":"2026-07-21T17:15:42.543Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.4,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","exploitability":7.2,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","exploitability":7.2,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00635,"percentile":0.494,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.00635},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00635,"percentile":0.494}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00635,"percentile":0.494}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"}],"affected":[{"vendor":"apache software foundation","product":"apache mina sshd","name":"Apache MINA SSHD","label":"apache mina sshd","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.0.0, ≤ 2.18.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0.0-M1, ≤ 3.0.0-M4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.0.0, ≤ 2.18.0 | ≥ 3.0.0-M1, ≤ 3.0.0-M4","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_mina_sshd"},{"vendor":"apache","product":"mina_sshd","name":"mina sshd","label":"mina_sshd","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.0.0, < 2.19.0","noFixRecorded":false,"fixedIn":null},{"text":"3.0.0:m1","noFixRecorded":false,"fixedIn":null},{"text":"3.0.0:m2","noFixRecorded":false,"fixedIn":null},{"text":"3.0.0:m3","noFixRecorded":false,"fixedIn":null},{"text":"3.0.0:m4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.0.0, < 2.19.0 | 3.0.0:m1 | 3.0.0:m2 | 3.0.0:m3 | 3.0.0:m4","eol":null,"hubHref":"/vendor/apache/mina_sshd"},{"vendor":"debian","product":"libmina-sshd-java","name":"libmina-sshd-java","label":"libmina-sshd-java","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libmina-sshd-java","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mina","name":"mina","label":"mina","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mina","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mina2","name":"mina2","label":"mina2","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mina2","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://lists.apache.org/thread/7c3cry6pdy6hj1q0f28rc72x4o4tlyjo","label":"lists.apache.org/thread/7c3cry6pdy6hj1q0f28rc72x4o4tlyjo","hostname":"lists.apache.org","tags":["Vendor Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2026/07/20/18","label":"www.openwall.com/lists/oss-security/2026/07/20/18","hostname":"www.openwall.com","tags":["Mailing List","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-58624","label":"ubuntu.com/security/CVE-2026-58624","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-58624","label":"www.cve.org/CVERecord?id=CVE-2026-58624","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://www.openwall.com/lists/oss-security/2026/07/20/18","label":"www.openwall.com/lists/oss-security/2026/07/20/18","hostname":"www.openwall.com","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-58624","label":"security-tracker.debian.org/tracker/CVE-2026-58624","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:11327-1","SUSE-SU-2026:3339-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:11327-1","SUSE-SU-2026:3339-1"]},"timeline":[{"kind":"published","date":"2026-07-20T20:27:39.070Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-21T17:15:42.543Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":22,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T02:33:46.582Z","stale":false,"partial":false}}