VyOS 1.3 through 1.5 (fixed in 1.4.2) or any Debian-based system using dropbear in…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-321.
Summary
VyOS 1.3 through 1.5 (fixed in 1.4.2) or any Debian-based system using dropbear in combination with live-build has the same Dropbear private host keys across different installations. Thus, an attacker can conduct active man-in-the-middle attacks against SSH connections if Dropbear is enabled as the SSH daemon. I n VyOS, this is not the default configuration for the system SSH daemon, but is for the console service. To mitigate this, one can run "rm -f /etc/dropbear/*key*" and/or "rm -f /etc/dropbear-initramfs/*key*" and then dropbearkey -t rsa -s 4096 -f /etc/dropbear_rsa_host_key and reload the service or reboot the system before using Dropbear as the SSH daemon (this clears out all keys mistakenly built into the release image) or update to the latest version of VyOS 1.4 or 1.5. Note that this vulnerability is not unique to VyOS and may appear in any Debian-based Linux distribution that uses Dropbear in combination with live-build, which has a safeguard against this behavior in OpenSSH but no equivalent one for Dropbear.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA VyOS (VyOS) Fixed in 1.4.2, 1.5-stream-2025-Q2
Timeline
- 2026-10-02 Threatist record created from CVE-2025-30095
- 2026-10-03 Alias added: GHSA-8vh6-m67f-4h33
References
More VyOS vulnerabilities
- TI-2018-13121 A privilege escalation issue was discovered in VyOS 1.1.8. CVSS 3.1CRITICAL 9.9
- TI-2018-13120 A sandbox escape issue was discovered in VyOS 1.1.8. CVSS 3.0CRITICAL 9.9
Sources
- CVE-2025-30095 · CVE Program
- CVE-2025-30095 · NVD
- FIRST EPSS
- GHSA-8vh6-m67f-4h33 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences