CVE-2025-31514: Insertion of Sensitive 2FA Information in logs and debug command

Published Oct 14, 2025
·
Updated

A insertion of sensitive information into log file vulnerability in Fortinet FortiOS 7.6.0 through 7.6.3, FortiOS 7.4 all versions, FortiOS 7.2 all versions, FortiOS 7.0 all versions, FortiOS 6.4 all versions, FortiProxy 7.6.0 through 7.6.3, FortiProxy 7.4.0 through 7.4.13, FortiProxy 7.2 all versions, FortiProxy 7.0 all versions may allow attacker to information disclosure via <insert attack vector here>

Other sources

An Insertion of Sensitive Information into Log File vulnerability [CWE-532] in FortiOS may allow an attacker with at least read-only privileges to retrieve sensitive 2FA-related information via observing logs or via diagnose command.

FortiGuard

Affected Software

12 affected componentsFixes available
Fortinet FortiOS>=7.6.0<=7.6.3, <=7.4, <=7.2, <=7.0, <=6.4
Fortinet FortiOS>=6.4.0<7.6.4
Fortinet FortiProxy>=7.0.0<7.6.4
Fortinet FortiOS>=7.6.0<=7.6.3
Fortinet FortiOS>=7.4
Fortinet FortiOS>=7.2
Fortinet FortiOS>=7.0
Fortinet FortiOS>=6.4
Fortinet FortiProxy>=7.6.0<=7.6.3
Fortinet FortiProxy>=7.4.0<=7.4.13
Fortinet FortiProxy>=7.2
Fortinet FortiProxy>=7.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade FortiOS to a version that resolves this vulnerability.

    Fixed in 7.6.4
  2. Upgrade

    Upgrade FortiProxy to a version that resolves this vulnerability.

    Fixed in 7.6.4
  3. Upgrade

    Upgrade FortiProxy to a version that resolves this vulnerability.

    Fixed in 7.4.14

Event History

Oct 14, 2025
Advisory Published
via FortiGuard·12:00 AM
Data Sourced
via FortiGuard·12:00 AM
DescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·03:23 PM
Data Sourced
via MITRE·03:23 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeaknessAffected Software
Jun 9, 2026
Advisory Published
via FortiGuard·02:43 PM

Frequently Asked Questions

1

What is the severity of CVE-2025-31514?

CVE-2025-31514 has been classified as a medium-severity vulnerability due to its potential to expose sensitive information.

2

How do I fix CVE-2025-31514?

To fix CVE-2025-31514, upgrade to FortiOS version 7.6.4 or later.

3

What versions are affected by CVE-2025-31514?

CVE-2025-31514 affects FortiOS versions 7.6.0 through 7.6.3, as well as all versions of 7.4, 7.2, 7.0, and 6.4.

4

What type of sensitive information is exposed in CVE-2025-31514?

CVE-2025-31514 can expose sensitive two-factor authentication (2FA) related information.

5

Who can exploit CVE-2025-31514?

CVE-2025-31514 can be exploited by an attacker who has at least read-only privileges.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203