CVE-2026-59846
published low CVSS 3.1 · 3.9Libssh: libssh: information disclosure via proxycommand %r username expansion
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | 10 | libssh0:0.12.0-3.el10_2 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 8 | libssh0:0.9.6-17.el8_10 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 9 | libssh0:0.10.4-19.el9_8 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | libssh-mainRed Hat Hardened Images · 0.12.1-4.hum1 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 8 | libssh | Advisory build | 0.9.6-17.el8_10 | ALSA-2026:62218 |
| Alpine Linux | edge | libssh | Fixed | 0.12.1-r0 | Package fix record |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3096 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bookworm | libssh | Advisory build | 0.10.6-0+deb12u3 | DLA-4844-1 |
| Oracle Linux | 10 | libsshaarch64 | Advisory build | 0:0.12.0-3.el10_2 | ELSA-2026-55855 |
| Red Hat Enterprise Linux | RHEL-10 | libsshaarch64 | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Ubuntu | bionic | libssh | Advisory build | 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm8 | USN-9187-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh-configaarch64 | Advisory build | 0.9.8-3.24.1 | SUSE-SU-2026:3302-1 |
| AlmaLinux | 9 | libssh | Advisory build | 0.10.4-19.el9_8 | ALSA-2026:62217 |
| Alpine Linux | v3.24 | libssh | Fixed | 0.12.1-r0 | Package fix record |
| Debian | trixie | libssh | Advisory build | 0.11.5-0+deb13u1 | DSA-6410-1 |
| Oracle Linux | 10 | libsshx86_64 | Advisory build | 0:0.12.0-3.el10_2 | ELSA-2026-55855 |
| Oracle Linux | 8 | libsshaarch64 | Advisory build | 0:0.9.6-17.el8_10 | ELSA-2026-62218-0 |
| Oracle Linux | 8 | libsshx86_64 | Advisory build | 0:0.9.6-17.el8_10 | ELSA-2026-62218-0 |
| Oracle Linux | 9 | libsshaarch64 | Advisory build | 0:0.10.4-19.el9_8 | ELSA-2026-62217-0 |
| Oracle Linux | 9 | libsshx86_64 | Advisory build | 0:0.10.4-19.el9_8 | ELSA-2026-62217-0 |
| Red Hat Enterprise Linux | RHEL-10 | libsshppc64le | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libsshs390x | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libsshsrc | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libsshx86_64 | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-8 | libsshaarch64 | Advisory build | 0.9.6-17.el8_10 | RHSA-2026:62218 |
| Red Hat Enterprise Linux | RHEL-8 | libsshi686 | Advisory build | 0.9.6-17.el8_10 | RHSA-2026:62218 |
| Red Hat Enterprise Linux | RHEL-8 | libsshppc64le | Advisory build | 0.9.6-17.el8_10 | RHSA-2026:62218 |
| Red Hat Enterprise Linux | RHEL-8 | libsshs390x | Advisory build | 0.9.6-17.el8_10 | RHSA-2026:62218 |
| Red Hat Enterprise Linux | RHEL-8 | libsshsrc | Advisory build | 0.9.6-17.el8_10 | RHSA-2026:62218 |
| Red Hat Enterprise Linux | RHEL-8 | libsshx86_64 | Advisory build | 0.9.6-17.el8_10 | RHSA-2026:62218 |
| Red Hat Enterprise Linux | RHEL-9 | libsshaarch64 | Advisory build | 0.10.4-19.el9_8 | RHSA-2026:62217 |
| Red Hat Enterprise Linux | RHEL-9 | libsshi686 | Advisory build | 0.10.4-19.el9_8 | RHSA-2026:62217 |
| Red Hat Enterprise Linux | RHEL-9 | libsshppc64le | Advisory build | 0.10.4-19.el9_8 | RHSA-2026:62217 |
| Red Hat Enterprise Linux | RHEL-9 | libsshs390x | Advisory build | 0.10.4-19.el9_8 | RHSA-2026:62217 |
| Red Hat Enterprise Linux | RHEL-9 | libsshsrc | Advisory build | 0.10.4-19.el9_8 | RHSA-2026:62217 |
| Red Hat Enterprise Linux | RHEL-9 | libsshx86_64 | Advisory build | 0.10.4-19.el9_8 | RHSA-2026:62217 |
| Ubuntu | focal | libssh | Advisory build | 0.9.3-2ubuntu2.5+esm5 | USN-9187-1 |
| Ubuntu | jammy | libssh | Advisory build | 0.9.6-2ubuntu0.22.04.8 | USN-8699-1 |
| Ubuntu | noble | libssh | Advisory build | 0.10.6-2ubuntu0.5 | USN-8699-1 |
| Ubuntu | resolute | libssh | Advisory build | 0.11.3-1ubuntu2.1 | USN-8699-1 |
| Ubuntu | xenial | libssh | Advisory build | 0.6.3-4.3ubuntu0.6+esm6 | USN-9187-1 |
| AlmaLinux | 10 | libssh-config | Advisory build | 0.12.0-3.el10_2 | ALSA-2026:55855 |
| AlmaLinux | 8 | libssh-config | Advisory build | 0.9.6-17.el8_10 | ALSA-2026:62218 |
| AlmaLinux | 8 | libssh-devel | Advisory build | 0.9.6-17.el8_10 | ALSA-2026:62218 |
| AlmaLinux | 9 | libssh-config | Advisory build | 0.10.4-19.el9_8 | ALSA-2026:62217 |
| AlmaLinux | 9 | libssh-devel | Advisory build | 0.10.4-19.el9_8 | ALSA-2026:62217 |
| Oracle Linux | 10 | libssh-configaarch64 | Advisory build | 0:0.12.0-3.el10_2 | ELSA-2026-55855 |
| Oracle Linux | 10 | libssh-configx86_64 | Advisory build | 0:0.12.0-3.el10_2 | ELSA-2026-55855 |
| Oracle Linux | 10 | libssh-develaarch64 | Advisory build | 0:0.12.0-3.el10_2 | ELSA-2026-55855 |
| Oracle Linux | 10 | libssh-develx86_64 | Advisory build | 0:0.12.0-3.el10_2 | ELSA-2026-55855 |
| Oracle Linux | 8 | libssh-configaarch64 | Advisory build | 0:0.9.6-17.el8_10 | ELSA-2026-62218-0 |
| Oracle Linux | 8 | libssh-configx86_64 | Advisory build | 0:0.9.6-17.el8_10 | ELSA-2026-62218-0 |
| Oracle Linux | 8 | libssh-develaarch64 | Advisory build | 0:0.9.6-17.el8_10 | ELSA-2026-62218-0 |
| Oracle Linux | 8 | libssh-develx86_64 | Advisory build | 0:0.9.6-17.el8_10 | ELSA-2026-62218-0 |
| Oracle Linux | 9 | libssh-configaarch64 | Advisory build | 0:0.10.4-19.el9_8 | ELSA-2026-62217-0 |
| Oracle Linux | 9 | libssh-configx86_64 | Advisory build | 0:0.10.4-19.el9_8 | ELSA-2026-62217-0 |
| Oracle Linux | 9 | libssh-develaarch64 | Advisory build | 0:0.10.4-19.el9_8 | ELSA-2026-62217-0 |
| Oracle Linux | 9 | libssh-develx86_64 | Advisory build | 0:0.10.4-19.el9_8 | ELSA-2026-62217-0 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-confignoarch | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-debuginfoaarch64 | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-debuginfoppc64le | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-debuginfos390x | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-debuginfox86_64 | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-debugsourceaarch64 | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-debugsourceppc64le | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-debugsources390x | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-debugsourcex86_64 | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-develaarch64 | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-develppc64le | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-devels390x | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-develx86_64 | Advisory build | 0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-confignoarch | Advisory build | 0.9.6-17.el8_10 | RHSA-2026:62218 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debuginfoaarch64 | Advisory build | 0.9.6-17.el8_10 | RHSA-2026:62218 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debuginfoi686 | Advisory build | 0.9.6-17.el8_10 | RHSA-2026:62218 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debuginfoppc64le | Advisory build | 0.9.6-17.el8_10 | RHSA-2026:62218 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debuginfos390x | Advisory build | 0.9.6-17.el8_10 | RHSA-2026:62218 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debuginfox86_64 | Advisory build | 0.9.6-17.el8_10 | RHSA-2026:62218 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debugsourceaarch64 | Advisory build | 0.9.6-17.el8_10 | RHSA-2026:62218 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debugsourcei686 | Advisory build | 0.9.6-17.el8_10 | RHSA-2026:62218 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debugsourceppc64le | Advisory build | 0.9.6-17.el8_10 | RHSA-2026:62218 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debugsources390x | Advisory build | 0.9.6-17.el8_10 | RHSA-2026:62218 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debugsourcex86_64 | Advisory build | 0.9.6-17.el8_10 | RHSA-2026:62218 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-develaarch64 | Advisory build | 0.9.6-17.el8_10 | RHSA-2026:62218 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-develi686 | Advisory build | 0.9.6-17.el8_10 | RHSA-2026:62218 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-develppc64le | Advisory build | 0.9.6-17.el8_10 | RHSA-2026:62218 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-devels390x | Advisory build | 0.9.6-17.el8_10 | RHSA-2026:62218 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-develx86_64 | Advisory build | 0.9.6-17.el8_10 | RHSA-2026:62218 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-confignoarch | Advisory build | 0.10.4-19.el9_8 | RHSA-2026:62217 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debuginfoaarch64 | Advisory build | 0.10.4-19.el9_8 | RHSA-2026:62217 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debuginfoi686 | Advisory build | 0.10.4-19.el9_8 | RHSA-2026:62217 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debuginfoppc64le | Advisory build | 0.10.4-19.el9_8 | RHSA-2026:62217 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debuginfos390x | Advisory build | 0.10.4-19.el9_8 | RHSA-2026:62217 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debuginfox86_64 | Advisory build | 0.10.4-19.el9_8 | RHSA-2026:62217 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debugsourceaarch64 | Advisory build | 0.10.4-19.el9_8 | RHSA-2026:62217 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debugsourcei686 | Advisory build | 0.10.4-19.el9_8 | RHSA-2026:62217 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debugsourceppc64le | Advisory build | 0.10.4-19.el9_8 | RHSA-2026:62217 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debugsources390x | Advisory build | 0.10.4-19.el9_8 | RHSA-2026:62217 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debugsourcex86_64 | Advisory build | 0.10.4-19.el9_8 | RHSA-2026:62217 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-develaarch64 | Advisory build | 0.10.4-19.el9_8 | RHSA-2026:62217 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-develi686 | Advisory build | 0.10.4-19.el9_8 | RHSA-2026:62217 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-develppc64le | Advisory build | 0.10.4-19.el9_8 | RHSA-2026:62217 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-devels390x | Advisory build | 0.10.4-19.el9_8 | RHSA-2026:62217 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-develx86_64 | Advisory build | 0.10.4-19.el9_8 | RHSA-2026:62217 |
| SUSE / openSUSE | SLE-12-SP5 | libssh-configppc64le | Advisory build | 0.9.8-3.24.1 | SUSE-SU-2026:3302-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh-configs390x | Advisory build | 0.9.8-3.24.1 | SUSE-SU-2026:3302-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.9 / 10
- Severity
- low
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | 0:0.12.0-3.el10_2 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | 0:0.9.6-17.el8_10 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | 0:0.9.6-17.el8_10 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | 0:0.10.4-19.el9_8 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | 0:0.10.4-19.el9_8 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Hardened Images | 0.12.1-4.hum1 and later (unaffected · rpm)Default: affected | redhat · cna |
Weaknesses
2- CWE-78 Improper Neutralization of Special Elements used in an OS Command
- CWE-77 CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')
References
6- RHSA-2026:42922 https://access.redhat.com/errata/RHSA-2026:42922
- RHSA-2026:55855 https://access.redhat.com/errata/RHSA-2026:55855
- RHSA-2026:62217 https://access.redhat.com/errata/RHSA-2026:62217
- RHSA-2026:62218 https://access.redhat.com/errata/RHSA-2026:62218
- https://access.redhat.com/security/cve/CVE-2026-59846
- RHBZ#2498179 https://bugzilla.redhat.com/show_bug.cgi?id=2498179
Provider assertions
2redhat · cna
Libssh: libssh: information disclosure via proxycommand %r username expansion
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 680ba408a1848559412371450f576faa0f15bb49375bc4737a3d7ec8fca5c06f
- Ingested
- 07 Nov 2026, 23:45:47 UTC
- Source record
- Official CVE record