CVE-2026-59846

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:libssh:libssh:-:*:*:*:*:*:*:*
cpe:2.3:a:redhat:hardened_images:-:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*

History

01 Sep 2026, 21:18

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:62217 -

01 Sep 2026, 19:17

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:62218 -

19 Aug 2026, 05:17

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:55855 -

12 Aug 2026, 20:17

Type Values Removed Values Added
CWE CWE-78

30 Jul 2026, 13:12

Type Values Removed Values Added
References () https://access.redhat.com/errata/RHSA-2026:42922 - () https://access.redhat.com/errata/RHSA-2026:42922 - Vendor Advisory
References () https://access.redhat.com/security/cve/CVE-2026-59846 - () https://access.redhat.com/security/cve/CVE-2026-59846 - Vendor Advisory
References () https://bugzilla.redhat.com/show_bug.cgi?id=2498179 - () https://bugzilla.redhat.com/show_bug.cgi?id=2498179 - Issue Tracking, Vendor Advisory
First Time Redhat enterprise Linux
Redhat
Redhat hardened Images
Libssh
Libssh libssh
CPE cpe:2.3:a:redhat:hardened_images:-:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:a:libssh:libssh:-:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*

23 Jul 2026, 14:17

Type Values Removed Values Added
CWE CWE-77

22 Jul 2026, 20:17

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:42922 -

21 Jul 2026, 13:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-21 13:17

Updated : 2026-09-01 21:18


NVD link : CVE-2026-59846

Mitre link : CVE-2026-59846

CVE.ORG link : CVE-2026-59846


JSON object : View

Products Affected

redhat

  • enterprise_linux
  • hardened_images

libssh

  • libssh
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

CWE-77

Improper Neutralization of Special Elements used in a Command ('Command Injection')