Bug 2498179 (CVE-2026-59846) - CVE-2026-59846 libssh: libssh: information disclosure via ProxyCommand %r username expansion
Summary: CVE-2026-59846 libssh: libssh: information disclosure via ProxyCommand %r use...
Keywords:
Status: NEW
Alias: CVE-2026-59846
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2503669
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-08 18:22 UTC by OSIDB Bzimport
Modified: 2026-07-21 15:04 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-08 18:22:44 UTC
A flaw was found in libssh username handling for ProxyCommand expansion. The ssh_check_username_syntax() validation path in src/misc.c used an incomplete dangerous-character filter for usernames expanded through %r. As a result, specially crafted usernames containing shell-significant characters could reach shell-evaluated ProxyCommand handling and influence shell expansion, exposing environment variables and causing unintended shell behavior. This issue affects clients that combine untrusted username input with ProxyCommand-style shell execution.


Note You need to log in before you can comment on or make changes to this bug.