
100% Defensive Scanner for CVE-2026-110264 GitLab Arbitrary File Write (PHP2Shell) - No exploit code, only version & patch detection for security teams and learners.
A defensive security scanner for CVE-2026-110264 - GitLab CE/EE Arbitrary File Write (PHP2Shell).
This tool does NOT contain any exploit code. It is 100% safe and educational.
GitLab CE/EE < 18.3.5 is vulnerable to a file-write vulnerability in the OAuth redirect handling (GLSA-2026-01). Attackers can abuse it to write PHP files and get shell access (PHP2Shell). This is being used as the case study for PHP2Shell research.
git clone https://github.com/YOUR-USERNAME/GitLab2Safe-Defensive-Checker
cd GitLab2Safe-Defensive-Checker
pip install requests
### Usage
python3 checker.py --url https://gitlab.example.com
Output:
[+] Target: https://gitlab.example.com
[+] Version Found: 18.3.2
[!] VULNERABLE - Please upgrade to 18.3.5 or later
### Disclaimer
This tool is for *educational and defensive purposes only*. No exploit code included. Use only on systems you own.
### Author
Made by Fari - Learning Defensive Security
### References
- GitLab Security Release: 18.3.5
- GLSA-2026-01