# CVE-2019-25652: UniFi Network Controller Improper Certificate Validation Leading to Credential Theft via MITM

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

- **Severity:** HIGH 7.7
- **CVSS:** 7.7 (v4.0, CNA) `CVSS:4.0/AV:A/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: High; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.13% (percentile 1, 2026-11-26)
- **CWE:** CWE-295
- **Published:** 2026-03-27T21:19:26.490Z
- **Modified:** 2026-07-15T01:24:06.306Z

## Who should check

- Anyone running Ubiquiti UniFi Network Controller \< 5.6.42; \>= 5.6.43, \< 5.10.22; \>= 5.11, \< 5.11.18

## Description

UniFi Network Controller before version 5.10.22 and 5.11.x before 5.11.18 contains an improper certificate verification vulnerability that allows adjacent network attackers to conduct man-in-the-middle attacks by presenting a false SSL certificate during SMTP connections. Attackers can intercept SMTP traffic and obtain credentials by exploiting the insecure SSL host verification mechanism in the SMTP certificate validation process.

## Affected and fixed versions

- Ubiquiti UniFi Network Controller: \< 5.6.42; \>= 5.6.43, \< 5.10.22; \>= 5.11, \< 5.11.18 (cvelist)

## Mitigation

- Upgrade UniFi Network Controller to 5.11.18 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2019-25652.md
Affected: Ubiquiti UniFi Network Controller < 5.6.42; >= 5.6.43, < 5.10.22; >= 5.11, < 5.11.18
Fixed in: Ubiquiti UniFi Network Controller 5.6.42, Ubiquiti UniFi Network Controller 5.10.22, Ubiquiti UniFi Network Controller 5.11.18

Steps:
1. Search this machine and project for Ubiquiti UniFi Network Controller: 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-2019-25652 being exploited?

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

### How serious is CVE-2019-25652?

High: CVSS 7.7 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2019-25652?

Ubiquiti UniFi Network Controller \< 5.6.42; \>= 5.6.43, \< 5.10.22; \>= 5.11, \< 5.11.18.

### Is there a fix for CVE-2019-25652?

Yes. Fixed in Ubiquiti UniFi Network Controller 5.6.42, Ubiquiti UniFi Network Controller 5.10.22, Ubiquiti UniFi Network Controller 5.11.18. Upgrade UniFi Network Controller to 5.11.18 or later.

### How do I check if I'm affected by CVE-2019-25652?

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

- vendor: <https://community.ui.com/releases/Security-Advisory-Bulletin-003-003/982bbaa8-2a07-4f81-a5f6-0bb84753f391>
- other: <https://www.vulncheck.com/advisories/unifi-network-controller-improper-certificate-validation-leading-to-credential-theft-via-mitm>

## 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-2019-25652>

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