# CVE-2020-15226: SQL Injection in GLPI Search API

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.0
- **CVSS:** 5.0 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: Low; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.04% (percentile 63, 2026-11-26)
- **CWE:** CWE-89
- **Published:** 2020-10-07T19:20:14.000Z
- **Modified:** 2026-06-17T02:56:18.617Z

## Who should check

- Anyone running glpi-project glpi \>= 9.1, \< 9.5.2

## Description

In GLPI before version 9.5.2, there is a SQL Injection in the API's search function. Not only is it possible to break the SQL syntax, but it is also possible to utilise a UNION SELECT query to reflect sensitive information such as the current database version, or database user. The most likely scenario for this vulnerability is with someone who has an API account to the system. The issue is patched in version 9.5.2. A proof-of-concept with technical details is available in the linked advisory.

## Affected and fixed versions

- glpi-project glpi: \>= 9.1, \< 9.5.2 (cvelist)

## Mitigation

- Upgrade glpi to 9.5.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2020-15226. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2020-15226.md
Affected: glpi-project glpi >= 9.1, < 9.5.2
Fixed in: glpi-project glpi 9.5.2

Steps:
1. Search this machine and project for glpi-project glpi: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2020-15226 being exploited?

There is no confirmed exploitation: CVE-2020-15226 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.04% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2020-15226?

Medium: CVSS 5.0 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2020-15226?

glpi-project glpi \>= 9.1, \< 9.5.2.

### Is there a fix for CVE-2020-15226?

Yes. Fixed in glpi-project glpi 9.5.2. Upgrade glpi to 9.5.2 or later.

### How do I check if I'm affected by CVE-2020-15226?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/glpi-project/glpi/security/advisories/GHSA-jwpv-7m4h-5gvc>
- patch: <https://github.com/glpi-project/glpi/commit/3dc4475c56b241ad659cc5c7cb5fb65727409cf0>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2020-15226>

HTML: <https://flawdb.com/CVE-2020-15226> · JSON: <https://flawdb.com/api/v1/entries/CVE-2020-15226>
