Man-in-the-Middle Vulnerability in VyOS SSH Daemon
CVE-2025-30095

9CRITICAL

Key Information:

Vendor

Vyos

Status
Vendor
CVE Published:
31 March 2025

Key facts: CVE-2025-30095 is a critical severity (CVSS 9) vulnerability in VyOS. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 0.8%, the estimated probability of exploitation in the next 30 days. Fixed in VyOS 1.4.2, 1.5-stream-2025-Q2.

What is CVE-2025-30095?

CVE-2025-30095 is a vulnerability affecting the VyOS network operating system, which is designed for routing and firewall applications. This specific vulnerability relates to the SSH daemon, Dropbear, that improperly manages private host keys across multiple installations, making them identical. As a result, an attacker could potentially conduct man-in-the-middle attacks, compromising the integrity of SSH communications, especially if Dropbear is configured as the SSH daemon. Although this configuration is not the default for system SSH in VyOS, it is standard for console services, which poses a risk to organizations relying on this setup for remote management and operations.

Technical Details

The vulnerability specifically affects VyOS versions 1.3 through 1.5, and it also poses a risk to any Debian-based systems utilizing Dropbear in combination with live-build. The underlying issue arises from the fact that Dropbear may create duplicate private keys during system installations, leading to potential security breaches. To mitigate risk, users can delete the affected key files and regenerate them with a recommended command. Upgrading to a patched version of VyOS, specifically version 1.4.2 or later, is also advised to eliminate this vulnerability.

Potential impact of CVE-2025-30095

  1. Unauthorized Access: An attacker exploiting this vulnerability could intercept SSH traffic, gaining unauthorized access to sensitive data and system controls, which could lead to data breaches.

  2. Compromised System Integrity: By conducting man-in-the-middle attacks, attackers may manipulate communications between a user and the server, potentially leading to system alterations or unauthorized actions within the network.

  3. Increased Attack Surface: This vulnerability not only affects VyOS but also poses risks to other Debian-based Linux distributions using Dropbear, indicating a broader threat landscape that could lead to widespread exploitation across various organizations.

Affected Version(s)

VyOS 0 < 1.4.2

VyOS 1.5 < 1.5-stream-2025-Q2

References

Browse all analysed vulnerabilities ›

CVSS V3.1

Score:
9
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
None
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.