# CVE-2025-68686: FortiOS SSL-VPN symlink backdoor survives the first patch

A bypass of Fortinet's April 2025 fix lets a symlink planted on an already-compromised FortiGate keep exposing device files, such as configurations, through SSL-VPN. CISA added it to KEV on 2026-07-27; Fortinet's advisory still says not exploited.

- Vendor: Fortinet, FortiOS SSL-VPN
- Severity: MEDIUM (CVSS 3.1 5.3)
- Exploited (CISA KEV): yes, added 2026-07-27
- EPSS: 29.5% on 2026-11-23
- Public exploit: none reported
- Patch available: yes
- Vendor advisory: FG-IR-25-934, https://fortiguard.fortinet.com/psirt/FG-IR-25-934
- Published: 2026-02-10; updated: 2026-10-12
- Page: https://patchtonight.com/cve/CVE-2025-68686/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| FortiOS 7.6.0 to 7.6.1 | 7.6.2 or later |
| FortiOS 7.4.0 to 7.4.6 | 7.4.7 or later |
| FortiOS 7.2 (all versions) | No fix. Migrate to a fixed release |
| FortiOS 7.0 (all versions) | No fix. Migrate to a fixed release |
| FortiOS 6.4 (all versions) | No fix. Migrate to a fixed release |

## What it is

In April 2025, Fortinet reported attackers who had broken into FortiGates through older SSL-VPN bugs and left a **symbolic link** behind. The link sits in the folder that serves SSL-VPN language files and points at the root filesystem. It gives read-only access to device files, which may include configurations. Because it lives in the user filesystem, it can survive a firmware upgrade. Fortinet added firmware checks and an AV/IPS signature to block and remove it.

CVE-2025-68686 is a **bypass of that fix**. Fortinet says a remote, unauthenticated attacker can use crafted HTTP requests to get around the patch for the symlink mechanism. The attacker must first have compromised the device through another vulnerability at filesystem level. So this bug doesn't get anyone in. It keeps an earlier intruder's read access alive on devices you may think are clean.

Fortinet rates it medium (CVSS 5.9 base, 5.3 temporal), and its advisory says "Known Exploited: No". **CISA added it to KEV on 2026-07-27**, so treat it as exploited. Neither source names an actor or a campaign. According to EveryWAN, the bypass uses an extra slash: the first patch matched the text `/lang/custom`, and `/lang//custom` slipped past. We couldn't confirm that detail from Fortinet.

## Am I affected?

You're affected if both are true:

1. **FortiOS is on an affected release:** 7.6.0 to 7.6.1, 7.4.0 to 7.4.6, or any 7.2, 7.0 or 6.4 release. Fortinet has no fix for 7.2, 7.0 and 6.4 under this CVE and says to migrate to a fixed release.
2. **SSL-VPN is, or ever was, enabled.** Fortinet states that products that never had SSL-VPN enabled are not impacted.

The risk is highest for devices that were exposed and unpatched during the 2025 campaign, because the symlink is what an earlier attacker left behind. Check your exact release in the FortiGate GUI or with `get system status`.

## What to do

1. **Upgrade** to FortiOS 7.6.2 or later, or 7.4.7 or later. Fortinet points to its upgrade tool at docs.fortinet.com/upgrade-tool to plan the path.
2. **If you run 7.2, 7.0 or 6.4,** plan a migration to a fixed branch. Fortinet lists no fix for these under this CVE.
3. **Keep the AV/IPS engine licensed and enabled.** Fortinet's April 2025 post says the engine flags and removes the symlink on 7.4, 7.2, 7.0 and 6.4. The advisory also lists a virtual patch (FG-VD-60389.0day) in FMWP DB update 26.033.
4. **If the device was exposed with SSL-VPN while unpatched, treat its configuration as compromised.** Fortinet's guidance is to review all configurations and follow its recovery steps (the community article "Technical Tip: Recommended steps to execute in case of a compromise"). In practice: rotate admin passwords, local and LDAP/RADIUS bind credentials, VPN user credentials and pre-shared keys, since the symlink exposed files that may hold them.
5. **Ask Fortinet support to check for a leftover symlink.** EveryWAN says the only way to learn whether a device ever had the link is to send support the diagnostics file. We couldn't confirm that from Fortinet.

## Detection

No indicators of compromise have been published for this CVE. Fortinet's advisory and April 2025 post list no IPs, hashes or file paths, and CISA's entry has none.

- **Requests to the SSL-VPN language-file path** from unknown addresses, especially with doubled slashes in the URI. This pattern comes from EveryWAN's description, not from Fortinet.
- **AV/IPS logs** showing the symlink signature firing on a device, which would mean a link existed.
- **Outside signs of use of the stolen files:** logins with admin or VPN credentials from unfamiliar addresses, and authentication to LDAP or RADIUS from unexpected sources.

## Sources

- [Fortinet advisory FG-IR-25-934](https://www.fortiguard.com/psirt/FG-IR-25-934)
- [CISA Known Exploited Vulnerabilities catalog entry](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-68686)
- [Fortinet PSIRT blog, April 2025 (original symlink campaign)](https://www.fortinet.com/blog/psirt-blogs/analysis-of-threat-actor-activity)
- [EveryWAN analysis, FortiOS symlink patching is not cleaning](https://everywan.com/en/blog/fortios-symlink-patching-is-not-cleaning)

---

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.
