1. Home
  2. Vulnerabilities
  3. CVE-2026-59846

CVE-2026-59846

Libssh: libssh: information disclosure via proxycommand %r username expansion

Published 21 Jul 2026 · modified 6 Nov 2026 · Sources: NVD, CNA (vendor or assigner), CERT-FR, EPSS (FIRST)

Low 17/100

Summary

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.

Affected products and versions

Redhat (8 line(s))
Redhat
ProductVersionsFixed inSource
Hat Enterprise Linux 10 Versions not specified — CNA (vendor or assigner)
Hat Enterprise Linux 8 Versions not specified — CNA (vendor or assigner)
Hat Enterprise Linux 9 Versions not specified — CNA (vendor or assigner)
Hat Hardened Images Versions not specified — CNA (vendor or assigner)
Enterprise linux 8.0 — NVD
Enterprise linux 9.0 — NVD
Enterprise linux 10.0 — NVD
Hardened images Versions not specified — NVD
Libssh (1 line(s))
Libssh
ProductVersionsFixed inSource
Libssh Versions not specified — NVD

Fix

Not provided by the vendor.

Workaround

Workaroundofficial source

Make sure you are not executing connections with untrusted username inputs.

Source : CNA (vendor or assigner)

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)
  2. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1256)
  3. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1385)
  4. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1486)

CERT-FR advisories

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
CNA (vendor or assigner)
Weakness (CWE)
CNA (vendor or assigner)
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N (CVSS 3.1, CNA:redhat)
Weakness
CWE-78 · Injection de commandes / code

How this data is obtained and calculated