CVE-2019-6693: Hard-coded encryption key in Fortinet configuration secrets
- Vendor
- Fortinet
CVE-2019-6693 is a hard-coded cryptographic key vulnerability affecting sensitive configuration data in Fortinet FortiOS, FortiManager, and FortiAnalyzer. An attacker possessing an affected CLI configuration or configuration backup can use the manufacturer-set encryption key to decrypt protected values offline. Exposed information includes non-administrator user passwords, private-key passphrases, and the High Availability password when configured. The administrator account password is excluded from the described decryptable password values. In FortiOS, retaining the default credential-encryption settings rather than enabling private-data encryption with a custom key leaves these secrets recoverable.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation compromises the confidentiality of secrets stored in an exposed configuration. Recovered VPN or other account credentials can enable unauthorized access, impersonation, and lateral movement where the accounts remain valid and additional authentication controls do not prevent their use. Disclosure of private-key passphrases and High Availability passwords can undermine associated security controls. The vulnerability has been exploited in ransomware-related activity, including operations associated with Akira. It does not independently provide configuration-file retrieval, authentication bypass, or code execution.
Mitigation
If you can’t patch tonight, do this now.
Restrict configuration exports, CLI read access, and backup storage to authorized administrators. Protect backups with strong access controls and encryption independent of the default embedded credential-encryption key. Restrict appliance management interfaces to trusted networks or authorized peers. Enforce multifactor authentication for VPN and perimeter access to reduce the usefulness of recovered passwords, and review authentication activity for misuse of exposed accounts.
Remediation
Patch, then assume compromise.
Follow Fortinet advisory FG-IR-19-007 and apply applicable vendor fixes or configuration changes for the installed product and release. For FortiOS, enable private-data encryption and replace the default credential-encryption key with a custom key using the vendor-supported procedure. Rotate secrets contained in any exposed configuration and replace accessible backup copies with newly generated, appropriately protected backups. Exact affected and fixed version ranges are not available in the supplied information.
Exploits
3 exploits validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2019-6693 exploited in the wild?
- Yes. As of Nov 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Jun 25, 2025.
- Is there a public exploit for CVE-2019-6693?
- Yes. Mallory tracks 3 public exploits or proofs of concept for CVE-2019-6693, the earliest disclosed Dec 21, 2021.
- Is there a patch for CVE-2019-6693?
- Follow Fortinet advisory FG-IR-19-007 and apply applicable vendor fixes or configuration changes for the installed product and release. For FortiOS, enable private-data encryption and replace the default credential-encryption key with a custom key using the vendor-supported procedure.
- What products are affected by CVE-2019-6693?
- Fortinet Fortios and Fortinet Forticlient.
- How severe is CVE-2019-6693?
- CVE-2019-6693 has a CVSS v3.1 score of 6.5 (Medium) and an EPSS score of 6.6% (94th percentile) as of Nov 16, 2026.
Recent activity
19 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.