3.9

CVE-2026-59846: libssh OS Command Injection

CVSS: 3.9v3.1LowModified
AliasesUBUNTU-CVE-2026-59846DEBIAN-CVE-2026-59846CGA-7j44-mggj-qxvm
Published 21-07-2026Last modified 01-09-2026

Vulnerability summary

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

Overall risk
16/100
0100
Low · default modelHow is this calculated?
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 listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 16 · Related 12

Timeline

  1. 21-07-2026
    PublishedVulnerability first disclosed.
  2. 01-09-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

4 scores · 4 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

0.00 pp

From 0.12% on 18-09-2026

18-09-202618-10-2026
EPSS score
0.12%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

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
Debian1 product
  • libsshAll versions (No fix recorded) | < 0.11.5-0+deb13u1 | < 0.12.1-1
Libssh1 product
Ubuntu1 product
  • libsshAll versions (No fix recorded) | < 0.9.6-2ubuntu0.22.04.8 | < 0.10.6-2ubuntu0.5 | < 0.11.3-1ubuntu2.1

6 vendors · 11 products

References

12 links
Show all 12 references