
Chrome WebGPU Use-After-Free (CWE-416) Este kit de ferramentas é para pesquisa de segurança e verificação defensiva em torno do CVE-2026-5281. Versão corrigida do Chrome: 146.0.7680.178 Versões potencialmente vulneráveis: qualquer versão abaixo de 146.0.7680.178
Use-After-Free do WebGPU do Chrome (CWE-416)
Este kit é para pesquisa de segurança e verificação defensiva em torno da CVE-2026-5281. Versão corrigida do Chrome: 146.0.7680.178 Versões potencialmente vulneráveis: qualquer versão abaixo de 146.0.7680.178
A partir desta pasta:
cd CVE-2026-5281
Exibir ajuda:
python cve_2026_5281_scanner.py --help
python cve_2026_5281_scanner.py --local
Versão com saída JSON:
python cve_2026_5281_scanner.py --local --json
O que você verá:
Execute:
python cve_2026_5281_scanner.py --fleet ".\sample_fleet.csv"
Formato CSV exigido:
host,product,version
PC-01,Google Chrome,146.0.7680.165
PC-02,Google Chrome,146.0.7680.200
Versão com saída JSON:
python cve_2026_5281_scanner.py --fleet ".\sample_fleet.csv" --json
Arquivo único:
python cve_2026_5281_scanner.py --triage ".\sample.log"
Verificação de pasta:
python cve_2026_5281_scanner.py --triage "C:\path\to\logs"
Exibir ajuda:
python cve_2026_5281_exploit.py --help
Gerar todos os artefatos de PoC em uma pasta de teste:
python cve_2026_5281_exploit.py --generate-all --output ".\_poc_output"
Gerar apenas um tipo de artefato:
python cve_2026_5281_exploit.py --html-payload --output ".\_poc_output"
python cve_2026_5281_exploit.py --detection-script --output ".\_poc_output"
python cve_2026_5281_exploit.py --server-config --output ".\_poc_output"
python cve_2026_5281_exploit.py --staged-payload --output ".\_poc_output"
python cve_2026_5281_scanner.py --local --json
Se vulnerável, atualize o Chrome para 146.0.7680.178 ou mais recente.
Execute o scanner novamente para confirmar o estado corrigido.
Use esta seção para produzir evidências reproduzíveis de que sua verificação está completa e defensável.
python cve_2026_5281_exploit.py --generate-all --output ".\poc_fixed"
python -m http.server 8080 -d ".\poc_fixed"
Execute o teste automatizado do navegador e salve a saída estruturada:
python cve_2026_5281_automated_test.py --url "http://localhost:8080/exploit.html" --timeout 20 --out-json ".\evidence\vulnerable_run.json"
Também salve a saída do console em um log de texto para a avaliação do scanner:
python cve_2026_5281_automated_test.py --url "http://localhost:8080/exploit.html" --timeout 20 *> ".\evidence\vulnerable_run.log"
Após atualizar o navegador, repita e salve as saídas:
python cve_2026_5281_automated_test.py --url "http://localhost:8080/exploit.html" --timeout 20 --out-json ".\evidence\patched_run.json"
python cve_2026_5281_automated_test.py --url "http://localhost:8080/exploit.html" --timeout 20 *> ".\evidence\patched_run.log"
python cve_2026_5281_scanner.py --assess-claim --vuln-log ".\evidence\vulnerable_run.log" --patched-log ".\evidence\patched_run.log" --vuln-version "146.0.7680.165" --patched-version "146.0.7680.178" --json
Comportamento esperado da avaliação:
--local --json.\evidence\vulnerable_run.json).\evidence\patched_run.json).log)Use apenas em sistemas e ambientes que você possui ou para os quais está explicitamente autorizado a testar.