Summary
- Fortinet has shipped a fix for CVE-2025-25257, a critical flaw in its FortiWeb web application firewall.
- The bug is an unauthenticated SQL injection in the Fabric Connector that can be turned into remote code execution on the appliance.
- Researchers published exploit details within days of the patch. Waiting is a bad idea.
- Fixed builds are 7.6.4, 7.4.8, 7.2.11 and 7.0.11, or anything later.
- CISA added the flaw to its Known Exploited Vulnerabilities catalog on July 18, 2025.
A SQL injection that hands attackers the firewall
Fortinet published advisory FG-IR-25-151 in early July. It covers CVE-2025-25257, an SQL injection in the FortiWeb GUI and Fabric Connector that an attacker can reach without logging in. A crafted HTTP or HTTPS request is enough to run SQL commands, and public write-ups showed how to push that into code execution. That matters because FortiWeb sits in front of the web applications it is meant to protect.
How the attack works
The vulnerable endpoint reads an Authorization header and drops its contents into a database query. Public exploits abuse that to write a Python .pth file on the device, which then runs code. Once an attacker controls the WAF, they sit in the traffic path. They can read requests or plant a foothold for later.
Why speed counts here
Fortinet bugs tend to draw scanning soon after details go public, and this one followed the pattern. Patch first, then check logs for odd requests to the Fabric Connector endpoint. Fortinet later said it had seen exploitation in the wild.
Know what matters before your first meeting.
Get the weekday brief for exploited vulnerabilities, new KEV additions, patch signals, and what deserves attention first.
By subscribing you agree to our Privacy Policy.
Free. Weekday mornings. 5 minutes or less.
What Fortinet asks customers to do
Upgrade. Where a maintenance window is weeks away and the box cannot be touched before then, Fortinet suggests switching off the HTTP/HTTPS administrative interface as a stopgap, which cuts off the attack path while leaving the underlying code unfixed. Treat that as temporary.
Update habits for edge devices
Security appliances deserve the fastest patch cycle in the building. They face the internet. They also hold privileged positions on the network, so a flaw like this one gives attackers an unusually good return.
Bottom line for FortiWeb admins
Check versions today. If it sits in 7.6.0 to 7.6.3, 7.4.0 to 7.4.7, 7.2.0 to 7.2.10 or 7.0.0 to 7.0.10, it needs the update.
Know what matters before your first meeting.
Weekday mornings. Five minutes. What changed in security, why it matters.
By subscribing you agree to our Privacy Policy.
Free. Weekday mornings. 5 minutes or less.
Short patch windows on edge gear remain one of the cheapest defenses a team can buy.
Newer CyberExperts coverage on this topic
This article still works as background. If you want the current picture, start with the freshest related coverage below and today's brief.
Citrix NetScaler CVE-2026-19490: The Auth Bypass That Went From PoC to Probes in a Day
CVE-2026-19490 is a CVSS 9.3 NetScaler Gateway/AAA auth bypass. A public PoC on Sept 2 was followed by live probes within a...
PaperCut NG/MF: The Print Server That Learned Remote Code Execution Again
CVE-2026-81578 and CVE-2026-82078 chain to pre-auth RCE on PaperCut Application Server. Confirm Emergency Patch Release 2, restrict admin exposure, and hunt like...
JFrog Artifactory CVE-2026-82329: Empty Join Key, Full Admin Token, Busy Scanners
CVE-2026-82329 lets attackers forge Artifactory admin tokens via a deterministic empty join key. Mass scanning peaked near 406,000 attempts; patch fixed builds...
Friday’s brief: Cisco VPN firewalls under attack, then GitLab, Synology NAS ransomware and Cisco SD-WAN spyware
The fastest way to catch up on what changed after this article was published.
Start your morning with the signal that matters.
Get the biggest cybersecurity developments, why they matter, and where to go deeper on CyberExperts.
By subscribing you agree to our Privacy Policy.
Free. Weekdays. Built for operators.