Intel

AIKIDO-2026-742200

net-ssh is vulnerable to Authorization Bypass

GHSA-qpg5-fx6p-8cq3Published Oct 6, 2026
October 6, 2026

80

CVE Score

High

Authorization Bypass

Are you affected? Scan for Free

TL;DR

Net::SSH::Service::Forward#initialize registers auth-agent and auth-agent@openssh.com channel handlers inside on_open_channel even when forward_agent is not enabled. A server the client connects to can open an inbound channel and reach the client's local SSH agent through auth_agent_channel when the client requests port forwarding, even if agent forwarding was never enabled. The fix registers those handlers only when the client has enabled agent forwarding.

How do I fix this?

Upgrade the net-ssh library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you use SSH port forwarding on a connection to a server you do not fully control.

Package

Versions

0.0.1 - 7.3.4

Fixed in 7.3.5

Background info

net-ssh is vulnerable to Authorization Bypass in versions 0.0.1 - 7.3.4.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea