← Search CVEs

CVE-2026-59846

LOW 3.9 ALL-YEARS

Published 2026-07-21 · Last modified 2026-11-06 · redhat · NVD: Modified

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.

LIMITED SIGNALS

Current sources show no confirmed exploitation or catalogued public PoC. Missing or low probability estimates do not establish safety. Track for changes.

Exploitation likelihood

0.1%chance of exploitation in 30 days · 2nd percentile

○ In CISA KEV○ Catalogued PoC◆ SSVC: exploitation none, automatable no

Impact if exploited

3.9CVSS 3.1 · LOW · CNA

  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone

What an attacker needs

  • ⚠Access: Requires local access to the host
  • ⚠Privileges: Requires a low-privilege account
  • ⚠User interaction: A user must take an action (click / open a file)
  • ✓Complexity: No special conditions — reliably repeatable

✓ lowers the bar for an attacker · ⚠ raises it

Proof of concept

No public PoC is currently catalogued.

Search for new PoCs

Search GitHub now — results may be empty or unverified.

Supported CVE and PoC feeds are scheduled every 30 minutes, including for older CVEs. Other enrichment runs daily or weekly; source availability can delay updates. A later release appears after a tracked source lists it and a refresh succeeds.

Affected

Vendors Red Hat Libssh Redhat

Products Red Hat Enterprise Linux 10 Red Hat Enterprise Linux 8 Red Hat Enterprise Linux 9 Red Hat Hardened Images Libssh Hardened Images Enterprise Linux

Weakness (CWE)

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command
  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

References and research data (JSON) · Change history

Vendor product assessments

Showing 32 of 97 vendor product statements; 65 omitted. Read the full vendor advisory.

  • libssh-debuginfo-0:0.12.0-3.el10_2.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 10) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-debuginfo@0.12.0-3.el10_2?arch=aarch64

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Make sure you are not executing connections with untrusted username inputs.
    Red Hat · CVE-2026-59846 · Updated 2026-11-07T11:20:30+00:00
  • libssh-debuginfo-0:0.12.0-3.el10_2.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 10) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-debuginfo@0.12.0-3.el10_2?arch=x86_64

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Make sure you are not executing connections with untrusted username inputs.
    Red Hat · CVE-2026-59846 · Updated 2026-11-07T11:20:30+00:00
  • libssh-debugsource-0:0.12.0-3.el10_2.s390x as a component of Red Hat Enterprise Linux AppStream (v. 10) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-debugsource@0.12.0-3.el10_2?arch=s390x

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Make sure you are not executing connections with untrusted username inputs.
    Red Hat · CVE-2026-59846 · Updated 2026-11-07T11:20:30+00:00
  • libssh-devel-0:0.12.0-3.el10_2.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 10) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-devel@0.12.0-3.el10_2?arch=ppc64le

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Make sure you are not executing connections with untrusted username inputs.
    Red Hat · CVE-2026-59846 · Updated 2026-11-07T11:20:30+00:00
  • libssh-debuginfo-0:0.9.6-17.el8_10.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 8) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-debuginfo@0.9.6-17.el8_10?arch=aarch64

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Make sure you are not executing connections with untrusted username inputs.
    Red Hat · CVE-2026-59846 · Updated 2026-11-07T11:20:30+00:00
  • libssh-debuginfo-0:0.9.6-17.el8_10.s390x as a component of Red Hat Enterprise Linux AppStream (v. 8) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-debuginfo@0.9.6-17.el8_10?arch=s390x

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Make sure you are not executing connections with untrusted username inputs.
    Red Hat · CVE-2026-59846 · Updated 2026-11-07T11:20:30+00:00
  • libssh-debugsource-0:0.9.6-17.el8_10.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 8) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-debugsource@0.9.6-17.el8_10?arch=ppc64le

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Make sure you are not executing connections with untrusted username inputs.
    Red Hat · CVE-2026-59846 · Updated 2026-11-07T11:20:30+00:00
  • libssh-devel-0:0.9.6-17.el8_10.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 8) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-devel@0.9.6-17.el8_10?arch=aarch64

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Make sure you are not executing connections with untrusted username inputs.
    Red Hat · CVE-2026-59846 · Updated 2026-11-07T11:20:30+00:00
  • libssh-devel-0:0.9.6-17.el8_10.s390x as a component of Red Hat Enterprise Linux AppStream (v. 8) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-devel@0.9.6-17.el8_10?arch=s390x

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Make sure you are not executing connections with untrusted username inputs.
    Red Hat · CVE-2026-59846 · Updated 2026-11-07T11:20:30+00:00
  • libssh-debuginfo-0:0.10.4-19.el9_8.i686 as a component of Red Hat Enterprise Linux AppStream (v. 9) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-debuginfo@0.10.4-19.el9_8?arch=i686

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Make sure you are not executing connections with untrusted username inputs.
    Red Hat · CVE-2026-59846 · Updated 2026-11-07T11:20:30+00:00
  • libssh-debuginfo-0:0.10.4-19.el9_8.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 9) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-debuginfo@0.10.4-19.el9_8?arch=x86_64

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Make sure you are not executing connections with untrusted username inputs.
    Red Hat · CVE-2026-59846 · Updated 2026-11-07T11:20:30+00:00
  • libssh-debugsource-0:0.10.4-19.el9_8.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 9) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-debugsource@0.10.4-19.el9_8?arch=ppc64le

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Make sure you are not executing connections with untrusted username inputs.
    Red Hat · CVE-2026-59846 · Updated 2026-11-07T11:20:30+00:00
  • libssh-devel-0:0.10.4-19.el9_8.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 9) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-devel@0.10.4-19.el9_8?arch=aarch64

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Make sure you are not executing connections with untrusted username inputs.
    Red Hat · CVE-2026-59846 · Updated 2026-11-07T11:20:30+00:00
  • libssh-devel-0:0.10.4-19.el9_8.s390x as a component of Red Hat Enterprise Linux AppStream (v. 9) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-devel@0.10.4-19.el9_8?arch=s390x

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Make sure you are not executing connections with untrusted username inputs.
    Red Hat · CVE-2026-59846 · Updated 2026-11-07T11:20:30+00:00
  • libssh-0:0.12.0-3.el10_2.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 10) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh@0.12.0-3.el10_2?arch=ppc64le

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Make sure you are not executing connections with untrusted username inputs.
    Red Hat · CVE-2026-59846 · Updated 2026-11-07T11:20:30+00:00
  • libssh-0:0.12.0-3.el10_2.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 10) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh@0.12.0-3.el10_2?arch=x86_64

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Make sure you are not executing connections with untrusted username inputs.
    Red Hat · CVE-2026-59846 · Updated 2026-11-07T11:20:30+00:00
  • libssh-debuginfo-0:0.12.0-3.el10_2.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 10) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-debuginfo@0.12.0-3.el10_2?arch=s390x

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Make sure you are not executing connections with untrusted username inputs.
    Red Hat · CVE-2026-59846 · Updated 2026-11-07T11:20:30+00:00
  • libssh-debugsource-0:0.12.0-3.el10_2.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 10) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-debugsource@0.12.0-3.el10_2?arch=ppc64le

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Make sure you are not executing connections with untrusted username inputs.
    Red Hat · CVE-2026-59846 · Updated 2026-11-07T11:20:30+00:00
  • libssh-0:0.9.6-17.el8_10.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh@0.9.6-17.el8_10?arch=aarch64

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Make sure you are not executing connections with untrusted username inputs.
    Red Hat · CVE-2026-59846 · Updated 2026-11-07T11:20:30+00:00
  • libssh-0:0.9.6-17.el8_10.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh@0.9.6-17.el8_10?arch=s390x

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Make sure you are not executing connections with untrusted username inputs.
    Red Hat · CVE-2026-59846 · Updated 2026-11-07T11:20:30+00:00
  • libssh-config-0:0.9.6-17.el8_10.noarch as a component of Red Hat Enterprise Linux BaseOS (v. 8) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-config@0.9.6-17.el8_10?arch=noarch

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Make sure you are not executing connections with untrusted username inputs.
    Red Hat · CVE-2026-59846 · Updated 2026-11-07T11:20:30+00:00
  • libssh-debuginfo-0:0.9.6-17.el8_10.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-debuginfo@0.9.6-17.el8_10?arch=ppc64le

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Make sure you are not executing connections with untrusted username inputs.
    Red Hat · CVE-2026-59846 · Updated 2026-11-07T11:20:30+00:00
  • libssh-debugsource-0:0.9.6-17.el8_10.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-debugsource@0.9.6-17.el8_10?arch=aarch64

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Make sure you are not executing connections with untrusted username inputs.
    Red Hat · CVE-2026-59846 · Updated 2026-11-07T11:20:30+00:00
  • libssh-debugsource-0:0.9.6-17.el8_10.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-debugsource@0.9.6-17.el8_10?arch=s390x

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Make sure you are not executing connections with untrusted username inputs.
    Red Hat · CVE-2026-59846 · Updated 2026-11-07T11:20:30+00:00
  • libssh-0:0.10.4-19.el9_8.i686 as a component of Red Hat Enterprise Linux BaseOS (v. 9) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh@0.10.4-19.el9_8?arch=i686

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Make sure you are not executing connections with untrusted username inputs.
    Red Hat · CVE-2026-59846 · Updated 2026-11-07T11:20:30+00:00
  • libssh-0:0.10.4-19.el9_8.src as a component of Red Hat Enterprise Linux BaseOS (v. 9) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh@0.10.4-19.el9_8?arch=src

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Make sure you are not executing connections with untrusted username inputs.
    Red Hat · CVE-2026-59846 · Updated 2026-11-07T11:20:30+00:00
  • libssh-debuginfo-0:0.10.4-19.el9_8.i686 as a component of Red Hat Enterprise Linux BaseOS (v. 9) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-debuginfo@0.10.4-19.el9_8?arch=i686

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Make sure you are not executing connections with untrusted username inputs.
    Red Hat · CVE-2026-59846 · Updated 2026-11-07T11:20:30+00:00
  • libssh-debuginfo-0:0.10.4-19.el9_8.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 9) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-debuginfo@0.10.4-19.el9_8?arch=x86_64

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Make sure you are not executing connections with untrusted username inputs.
    Red Hat · CVE-2026-59846 · Updated 2026-11-07T11:20:30+00:00
  • libssh-debugsource-0:0.10.4-19.el9_8.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 9) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-debugsource@0.10.4-19.el9_8?arch=ppc64le

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Make sure you are not executing connections with untrusted username inputs.
    Red Hat · CVE-2026-59846 · Updated 2026-11-07T11:20:30+00:00
  • libssh-0:0.12.1-4.hum1@aarch64 as a component of Red Hat Hardened Images · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh@0.12.1-4.hum1?arch=aarch64&distro=hummingbird-20251124&repository_id=public-hummingbird-aarch64-rpms

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/ Vendor guidance
    • workaround: Make sure you are not executing connections with untrusted username inputs.
    Red Hat · CVE-2026-59846 · Updated 2026-11-07T11:20:30+00:00
  • libssh-config-0:0.12.1-4.hum1@noarch@public-hummingbird-aarch64-rpms as a component of Red Hat Hardened Images · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-config@0.12.1-4.hum1?arch=noarch&distro=hummingbird-20251124&repository_id=public-hummingbird-aarch64-rpms

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/ Vendor guidance
    • workaround: Make sure you are not executing connections with untrusted username inputs.
    Red Hat · CVE-2026-59846 · Updated 2026-11-07T11:20:30+00:00
  • libssh-devel-0:0.12.1-4.hum1@x86_64 as a component of Red Hat Hardened Images · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-devel@0.12.1-4.hum1?arch=x86_64&distro=hummingbird-20251124&repository_id=public-hummingbird-x86_64-rpms

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/ Vendor guidance
    • workaround: Make sure you are not executing connections with untrusted username inputs.
    Red Hat · CVE-2026-59846 · Updated 2026-11-07T11:20:30+00:00

Known Affected Software Configurations

VendorProductVersion range
LibsshLibssh*
RedhatHardened Images*
RedhatEnterprise Linux8.0
RedhatEnterprise Linux9.0
RedhatEnterprise Linux10.0

All CVSS metrics

  • LOW 3.9 v3.1 · CNA Primary
    CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
  • LOW 3.9 v3.1 · NVD Secondary
    CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

References

Advisories

Technical & other

Sources: NVD · CVE.org · All sources and attribution · EPSS