# CVE-2024-40590: Improper certificate validation in FortiPortal

- Vendor: Fortinet, FortiPortal
- Severity: MEDIUM (CVSS 3.1 4.4)
- Exploited (CISA KEV): not listed
- EPSS: 0.2% on 2026-11-23
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: FG-IR-22-155, https://fortiguard.fortinet.com/psirt/FG-IR-22-155
- Published: 2025-03-14; updated: 2025-03-14
- Page: https://patchtonight.com/cve/CVE-2024-40590/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| FortiPortal 7.4 | 7.4.1 or later |
| FortiPortal 7.2.0 to 7.2.4 | 7.2.5 or later |
| FortiPortal 7.0.0 to 7.0.8 | 7.0.9 or later |
| FortiPortal 6.0.0 to 6.0.15 | Upgrade past 6.0.15; see the advisory |

## The vendor's description

An improper certificate validation vulnerability [CWE-295] in FortiPortal version 7.4.0, version 7.2.4 and below, version 7.0.8 and below, version 6.0.15 and below when connecting to a FortiManager device, a FortiAnalyzer device, or an SMTP server may allow an unauthenticated attacker in a Man-in-the-Middle position to intercept on and tamper with the encrypted communication channel established between the FortiPortal and those endpoints.

## Sources

- [Fortinet advisory](https://fortiguard.fortinet.com/psirt/FG-IR-22-155)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
