3.9

CVE-2026-59846: Libssh: libssh: information disclosure via proxycommand %r username expansion

Modified
AliasesUBUNTU-CVE-2026-59846DEBIAN-CVE-2026-59846CGA-7j44-mggj-qxvm
Published 21-07-2026Last modified 06-11-2026

Vulnerability summary

CVE-2026-59846 is a low (CVSS 3.9) vulnerability in libssh. EPSS estimates a 0.12% chance of exploitation in the next 30 days, higher than 2% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 3.9, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
3.9/10
010
Low · v3.1 (CVE.org)
EPSS score
0.12%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 19 · Related 13

Timeline

  1. 21-07-2026
    PublishedVulnerability first disclosed.
  2. 06-11-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.12%

Chance of exploitation in the next 30 days

Percentile

2%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.12% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard3 products
  • libssh< 0.12.1-r0
  • libssh-dev< 0.12.1-r0
  • libssh2All versions (No fix recorded)
Wolfi3 products
  • libssh< 0.12.1-r0
  • libssh-dev< 0.12.1-r0
  • libssh2All versions (No fix recorded)
Redhat2 products
Alpine1 product
  • libssh< 0.12.1-r0
Debian1 product
  • libsshAll versions (No fix recorded) | < 0.10.6-0+deb12u3 | < 0.11.5-0+deb13u1 | < 0.12.1-1
Libssh1 product
Ubuntu1 product
  • libsshAll versions (No fix recorded) | < 0.6.3-4.3ubuntu0.6+esm6 | < 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm8 | < 0.9.3-2ubuntu2.5+esm5 | < 0.9.6-2ubuntu0.22.04.8 | < 0.10.6-2ubuntu0.5 | < 0.11.3-1ubuntu2.1

7 vendors · 12 products

References

14 links
Show all 14 references