PHP file inclusion in WeGIA - #VU136996
Published: July 7, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary code.
The vulnerability exists due to improper control of filename for include/require statement in PHP program in the controller dispatcher and backup import functionality when handling a crafted backup archive and a user-controlled module path. A remote privileged user can upload a crafted gzip-compressed tar archive and invoke the dispatcher with a phar:// module path to execute arbitrary code.
The issue relies on the backup-management permission and on the ability to reference the uploaded archive through PHP's phar:// stream wrapper.