# CVE-2025-30095: 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…

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.0
- **CVSS:** 9.0 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.82% (percentile 54, 2026-11-26)
- **CWE:** CWE-321
- **Published:** 2025-03-31T00:00:00.000Z
- **Modified:** 2026-06-17T09:08:09.230Z

## Who should check

- Anyone running VyOS \< 1.4.2; \>= 1.5, \< 1.5-stream-2025-Q2

## Description

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.

## Affected and fixed versions

- VyOS: \< 1.4.2; \>= 1.5, \< 1.5-stream-2025-Q2 (cvelist)

## Mitigation

- Upgrade VyOS to 1.5-stream-2025-Q2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-30095. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-30095.md
Affected: VyOS < 1.4.2; >= 1.5, < 1.5-stream-2025-Q2
Fixed in: VyOS 1.4.2, VyOS 1.5-stream-2025-Q2

Steps:
1. Search this machine and project for VyOS: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-30095 being exploited?

There is no confirmed exploitation: CVE-2025-30095 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.82% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-30095?

Critical: CVSS 9.0 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2025-30095?

VyOS \< 1.4.2; \>= 1.5, \< 1.5-stream-2025-Q2.

### Is there a fix for CVE-2025-30095?

Yes. Fixed in VyOS 1.4.2, VyOS 1.5-stream-2025-Q2. Upgrade VyOS to 1.5-stream-2025-Q2 or later.

### How do I check if I'm affected by CVE-2025-30095?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://github.com/vyos/>
- other: <https://vyos.net/get/stream/#1.5-2025-Q1>
- other: <https://blog.vyos.io/vyos-stream-1.5-2025-q1>
- other: <https://vyos.dev/T7217>
- other: <https://blog.vyos.io/vyos-project-march-2025-update>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-30095>

HTML: <https://flawdb.com/CVE-2025-30095> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-30095>
