CVE-2025-25257Known exploitationPublic exploitNetwork attack vector

Unauthenticated SQL execution via unsanitized Bearer token

Published Jul 17, 2025 · Updated Feb 26, 2026

SQL injection in Fortinet FortiWeb allows remote attackers to execute unauthorized SQL via crafted HTTP or HTTPS requests. The GUI's get_fabric_user_by_token() function incorporates the Authorization Bearer token into a database query without neutralizing SQL metacharacters. No authentication or user interaction is required; injected queries can write files through SELECT INTO OUTFILE and lead to command execution.

CVSS severityUnavailable
Unscored
EPSS probability99.92%
Next 30 days · Nov 1, 2026
Known exploitationReported
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Contact us

Summary

What happened

SQL injection in Fortinet FortiWeb allows remote attackers to execute unauthorized SQL via crafted HTTP or HTTPS requests. The GUI's get_fabric_user_by_token() function incorporates the Authorization Bearer token into a database query without neutralizing SQL metacharacters. No authentication or user interaction is required; injected queries can write files through SELECT INTO OUTFILE and lead to command execution.

The record

CVE
CVE-2025-25257
Published
Jul 17, 2025
Updated
Feb 26, 2026
Vendor
Fortinet
Product
FortiWeb
Classifications
CWE-89, T1190
Attack vector
network
Privileges
unauthenticated

Timeline

How it unfolded

  1. Jul 17, 2025CVE publishedPublication date reported by the CVE source.
  2. Feb 26, 2026Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=7.0.0 <=7.0.10
  2. Affected versionversion=7.2.0 <=7.2.10
  3. Affected versionversion=7.4.0 <=7.4.7
  4. Affected versionversion=7.6.0 <=7.6.3

What conditions does exploitation require?

Attack vectornetwork
Required privilegesunauthenticated

What is affected?

Fortinet · FortiWebversion=7.0.0 <=7.0.10; version=7.2.0 <=7.2.10; version=7.4.0 <=7.4.7; version=7.6.0 <=7.6.3

Published CVSS scores

9.6FortinetCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:F/RL:X/RC:C

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Activity data is delayed. The latest report is Sep 28, 2026.

Daily unique IPsShadowserver observations through Sep 28, 2026. Gaps indicate unavailable data.
Sep 22, 2026Sep 28, 2026
View daily counts
Reporting dayUnique IPs
Sep 22, 20266
Sep 23, 20264
Sep 24, 20262
Sep 25, 20266
Sep 26, 20262
Sep 27, 20262
Sep 28, 20265
Latest reporting daySep 28, 2026
Latest daily unique IPs5
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectornetwork
Privilegesunauthenticated
Known exploitationReported
Public exploitPublished

Weakness, pattern, technique

CWE-89Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
T1190Exploit Public-Facing Application

Public exploit references

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Reported exploitation

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Get started to see how Hinoki identifies affected software and validates exploitability in your environment.

Contact us