Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 98%

A flaw was found in libssh. A malicious username expanded through %r in ProxyCommand handling can inject shell metacharacters, exposing environment… (CVE-2026-59846)

0
Low
Published: 07/21/2026 (07/21/2026, 15:30:43 UTC)
Source: GCVE Database

Description

A vulnerability in libssh allows a malicious username expanded through %r in ProxyCommand handling to inject shell metacharacters. This can expose environment variables and cause unintended shell behavior. The issue has been assigned CVE-2026-59846 and is rated as low severity. Red Hat has released updates for libssh in their Hardened Images RPMs to address this flaw.

CVSS v3.1

Score 3.9low

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/22/2026, 23:35:34 UTC

Technical Analysis

CVE-2026-59846 is a vulnerability in libssh where a maliciously crafted username, when expanded via the %r placeholder in ProxyCommand handling, can inject shell metacharacters. This injection can lead to exposure of environment variables and unintended shell command execution behavior. The vulnerability has a CVSS 3.1 vector of AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N, indicating local attack vector with low impact on confidentiality and integrity, and no availability impact. Red Hat has issued a security advisory with updated libssh packages (libssh-0.12.1-4.hum1) to remediate this issue in their Hardened Images RPMs.

Potential Impact

The vulnerability allows local attackers with limited privileges to inject shell metacharacters via a malicious username in ProxyCommand handling, potentially exposing environment variables and causing unintended shell behavior. The impact is limited to confidentiality and integrity with no availability impact. There are no known exploits in the wild at this time.

Mitigation Recommendations

Red Hat has released updated libssh packages as part of their Hardened Images RPMs (libssh-0.12.1-4.hum1) that fix this vulnerability. Users of affected Red Hat Hardened Images should apply these updates promptly. Patch status is confirmed by the vendor advisory. No additional mitigation steps are indicated by the vendor.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-fvwj-j79q-57v7
Osv Schema Version
1.4.0
Aliases
["CVE-2026-59846"]
Ecosystems
[]
Database Specific Severity
LOW
Cvss Version
3.1

Threat ID: 6a6150e19c2644c7f8da17c5

Added to database: 07/22/2026, 23:23:13 UTC

Last enriched: 07/22/2026, 23:35:34 UTC

Last updated: 07/31/2026, 19:24:47 UTC

Views: 38

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses