# CVE-2022-29059: SQL injection in FortiWeb

- Vendor: Fortinet, FortiWeb
- Severity: LOW (CVSS 3.1 2.6)
- Exploited (CISA KEV): not listed
- EPSS: 0.4% on 2026-11-23
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: FG-IR-22-140, https://fortiguard.com/psirt/FG-IR-22-140
- Published: 2025-03-14; updated: 2025-03-14
- Page: https://patchtonight.com/cve/CVE-2022-29059/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| FortiWeb 7.0.0 to 7.0.1 | 7.0.2 or later |
| FortiWeb 6.4.0 to 6.4.3 | Upgrade past 6.4.3; see the advisory |
| FortiWeb 6.3.0 to 6.3.23 | Upgrade past 6.3.23; see the advisory |
| FortiWeb 6.2.3 to 6.2.8 | Upgrade past 6.2.8; see the advisory |

## The vendor's description

An improper neutralization of special elements used in an SQL command ('SQL Injection') vulnerability [CWE-89] in FortiWeb version 7.0.1 and below, 6.4.2 and below, 6.3.20 and below, 6.2.7 and below may allow a privileged attacker to execute SQL commands over the log database via specifically crafted strings parameters.

## Sources

- [Fortinet advisory](https://fortiguard.com/psirt/FG-IR-22-140)

---

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.
