{"id":"DEBIAN-CVE-2026-59846","details":"A flaw was found in libssh. A malicious username expanded through %r in ProxyCommand handling can inject shell metacharacters, exposing environment variables and causing unintended shell behavior.","modified":"2026-09-14T17:03:46.542255366Z","published":"2026-07-21T13:17:18.143Z","upstream":["CVE-2026-59846"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-59846"}],"affected":[{"package":{"name":"libssh","ecosystem":"Debian:12","purl":"pkg:deb/debian/libssh?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10.5-2","0.10.5-3","0.10.5-3+hurd.1","0.10.6-0+deb12u1","0.10.6-0+deb12u2","0.10.6-1","0.10.6-2","0.10.6-3","0.11.1-1","0.11.1-2","0.11.2-1","0.11.3-1","0.12.0-1","0.12.0-2","0.12.0-3","0.12.1-1","0.12.2-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-59846.json"}},{"package":{"name":"libssh","ecosystem":"Debian:13","purl":"pkg:deb/debian/libssh?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.5-0+deb13u1"}]}],"versions":["0.11.2-1","0.11.2-1+deb13u1","0.11.3-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-59846.json"}},{"package":{"name":"libssh","ecosystem":"Debian:14","purl":"pkg:deb/debian/libssh?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.1-1"}]}],"versions":["0.11.2-1","0.11.3-1","0.12.0-1","0.12.0-2","0.12.0-3"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-59846.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"}]}