Incorrect authorization in WeGIA - #VU163010
Published: November 9, 2026
Vulnerability details
The vulnerability allows an authenticated employee to download the full WeGIA database or overwrite it with an uploaded dump.
The vulnerability exists due to WeGIA's permissao() authorization gate comparing permission bitmasks as numeric ranks and accepting explicit denial values when the default permission requirement is used. An authenticated employee can directly request protected endpoints when their role has an existing permission row marked SEM ACESSO or otherwise lacking the required permission bits.