CVE-2026-59846: Libssh: libssh: information disclosure via proxycommand %r username expansion
Noroxi assessment
Priority: Monitor (action score 15/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.12% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. A user must open a link or visit a page. No special conditions are required; it is repeatable.
- Fixed version: libssh (AlmaLinux:10) 0.12.0-3.el10_2; libssh-config (AlmaLinux:10) 0.12.0-3.el10_2; libssh-devel (AlmaLinux:10) 0.12.0-3.el10_2.
Low priority for now. Upgrade to libssh (AlmaLinux:10) 0.12.0-3.el10_2; libssh-config (AlmaLinux:10) 0.12.0-3.el10_2; libssh-devel (AlmaLinux:10) 0.12.0-3.el10_2 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- BDU:2026-15374
- EUVD-2026-46254
- ALSA-2026:55855
- ALSA-2026:62217
- ALSA-2026:62218
- openSUSE-SU-2026:11377-1
- openSUSE-SU-2026:21444-1
- RHSA-2026:42922
- RHSA-2026:55855
- RHSA-2026:62217
- RHSA-2026:62218
- RLSA-2026:55855
- RLSA-2026:62217
- RLSA-2026:62218
- SUSE-SU-2026:22940-1
- SUSE-SU-2026:22948-1
- SUSE-SU-2026:22956-1
- SUSE-SU-2026:23056-1
- SUSE-SU-2026:23168-1
- SUSE-SU-2026:3302-1
- Published
- Jul 21, 2026
- Updated
- Nov 6, 2026
- EPSS
- 0.1% · 1th percentile
- CWE
- CWE-78
Report tools
Action score
15
Monitor
Low priority for now.
- CVSS
- 15 / 40 · 3.9 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.1%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · redhat
- 3.9
- NVD has not scored this yet; the score shown is the CNA’s.
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| libssh | libssh | cpe:2.3:a:libssh:libssh |
| redhat | hardened images | cpe:2.3:a:redhat:hardened_images |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- libssh libsshall versions
- redhat enterprise linux10.0
- redhat enterprise linux8.0
- redhat enterprise linux9.0
- redhat hardened imagesall versions
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
Red Hat Red Hat Enterprise Linux 10
- 0:0.12.0-3.el10_2 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 8
- 0:0.9.6-17.el8_10 and laternot affected · rpm
- 0:0.9.6-17.el8_10 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 9
- 0:0.10.4-19.el9_8 and laternot affected · rpm
- 0:0.10.4-19.el9_8 and laternot affected · rpm
Red Hat Red Hat Hardened Images
- 0.12.1-4.hum1 and laternot affected · rpm
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:10 | libssh | before 0.12.0-3.el10_2 | 0.12.0-3.el10_2 |
| AlmaLinux:10 | libssh-config | before 0.12.0-3.el10_2 | 0.12.0-3.el10_2 |
| AlmaLinux:10 | libssh-devel | before 0.12.0-3.el10_2 | 0.12.0-3.el10_2 |
| AlmaLinux:8 | libssh | before 0.9.6-17.el8_10 | 0.9.6-17.el8_10 |
| AlmaLinux:8 | libssh-config | before 0.9.6-17.el8_10 | 0.9.6-17.el8_10 |
| AlmaLinux:8 | libssh-devel | before 0.9.6-17.el8_10 | 0.9.6-17.el8_10 |
| AlmaLinux:9 | libssh | before 0.10.4-19.el9_8 | 0.10.4-19.el9_8 |
| AlmaLinux:9 | libssh-config | before 0.10.4-19.el9_8 | 0.10.4-19.el9_8 |
| AlmaLinux:9 | libssh-devel | before 0.10.4-19.el9_8 | 0.10.4-19.el9_8 |
| Alpine:v3.24 | libssh | before 0.12.1-r0 | 0.12.1-r0 |
| Debian:12 | libssh | before 0.10.6-0+deb12u3 | 0.10.6-0+deb12u3 |
| Debian:13 | libssh | before 0.11.5-0+deb13u1 | 0.11.5-0+deb13u1 |
| Debian:14 | libssh | before 0.12.1-1 | 0.12.1-1 |
| openSUSE:Leap 16.0 | libssh | before 0.11.5-160000.1.1 | 0.11.5-160000.1.1 |
| openSUSE:Tumbleweed | libssh | before 0.11.5-1.2 | 0.11.5-1.2 |
| Red Hat:enterprise_linux:10.2 | libssh | before 0:0.12.0-3.el10_2 | 0:0.12.0-3.el10_2 |
| Red Hat:enterprise_linux:10.2 | libssh-config | before 0:0.12.0-3.el10_2 | 0:0.12.0-3.el10_2 |
| Red Hat:enterprise_linux:10.2 | libssh-debuginfo | before 0:0.12.0-3.el10_2 | 0:0.12.0-3.el10_2 |
| Red Hat:enterprise_linux:10.2 | libssh-debugsource | before 0:0.12.0-3.el10_2 | 0:0.12.0-3.el10_2 |
| Red Hat:enterprise_linux:10.2 | libssh-devel | before 0:0.12.0-3.el10_2 | 0:0.12.0-3.el10_2 |
| Red Hat:enterprise_linux:8::appstream | libssh-debuginfo | before 0:0.9.6-17.el8_10 | 0:0.9.6-17.el8_10 |
| Red Hat:enterprise_linux:8::appstream | libssh-debugsource | before 0:0.9.6-17.el8_10 | 0:0.9.6-17.el8_10 |
| Red Hat:enterprise_linux:8::appstream | libssh-devel | before 0:0.9.6-17.el8_10 | 0:0.9.6-17.el8_10 |
| Red Hat:enterprise_linux:8::baseos | libssh | before 0:0.9.6-17.el8_10 | 0:0.9.6-17.el8_10 |
+18
Same product
libssh: all recordsOther highest-scoring records for the same primary product.
- CVE-2018-10933A vulnerability was found in libssh's server-side state machine before versions 0.7.6 and 0.8.4.64This week
- CVE-2019-14889A flaw was found with the libssh API function ssh_scp_new() in versions before 0.9.3 and before 0.8.8.36Monitor
- CVE-2026-59851Libssh: libssh: authentication bypass via missing gssapi principal check35Monitor
Published before and after this one in the same product
- ← EarlierCVE-2026-59845Jul 21, 2026 · Libssh: libssh: denial of service via unchecked proxycommand fork() failure23Monitor
- ← EarlierCVE-2026-15370Jul 21, 2026 · Libssh: libssh: stack buffer overflow in sftp server longname construction29Monitor
- Later →CVE-2026-59847Jul 21, 2026 · Libssh: libssh: integrity downgrade via openssl aes-gcm tag verification30Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:libssh | 0.12.0-3.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:libssh-config | 0.12.0-3.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:libssh-devel | 0.12.0-3.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| alpine:libssh | 0.12.1-r0 · Alpine:v3.24 | Package registry (OSV) |
| debian:libssh | 0.10.6-0+deb12u3 · Debian:12 | Package registry (OSV) |
| debian:libssh | 0.11.5-0+deb13u1 · Debian:13 | Package registry (OSV) |
| opensuse:libssh | 0.11.5-1.2 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:libssh | 0:0.12.1-4.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:libssh-config | 0:0.12.1-4.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:libssh-debuginfo | 0:0.12.0-3.el10_2 · Red Hat:enterprise_linux:10.2 | Package registry (OSV) |
| red hat:libssh-debugsource | 0:0.12.0-3.el10_2 · Red Hat:enterprise_linux:10.2 | Package registry (OSV) |
| red hat:libssh-devel | 0:0.12.0-3.el10_2 · Red Hat:enterprise_linux:10.2 | Package registry (OSV) |
| red hat:libssh-devel | 0:0.12.1-4.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| rocky linux:libssh | 0:0.12.0-3.el10_2 · Rocky Linux:10 | Package registry (OSV) |
| suse:libssh | 0.11.5-160000.1.1 · SUSE:Linux Micro 6.2 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
—
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
- CVE-2026-598510 days apartLibssh: libssh: authentication bypass via missing gssapi principal check35Monitor
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- A user must open a link or visit a page.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- low · data can be read
- Integrity
- low · data or configuration can be modified
- Availability
- none
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- Low
- Integrity impact
- Low
- Availability impact
- None
Weakness class (CWE)
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
nvd-secondary
Root cause
User input is inserted as text into a shell command. The shell may interpret special characters in the input as part of the command.
The bug in code
The whole CWE-78 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const host = req.body.host;
exec("ping -c 1 " + host, onResult);Fixed
const host = req.body.host;
if (!/^[a-z0-9.-]{1,253}$/i.test(host)) return res.sendStatus(400);
execFile("ping", ["-c", "1", host], onResult);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Command DelimitersCAPEC-15likelihood: High · High
- Exploiting Multiple Input Interpretation LayersCAPEC-43likelihood: Medium · High
- Argument InjectionCAPEC-6likelihood: High · High
- OS Command InjectionCAPEC-88likelihood: High · High
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (5 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.