GHSA-qrxh-g29w-pchr: 
PHP Análise e mitigação de vulnerabilidades

Summary

A user who can access an Eloquent-backed DataTables listing can cause the application to empty the model’s database table if the application’s database account permits that operation. On a public listing, an anonymous visitor can reach the affected search. On an authenticated listing, ordinary viewing access can be sufficient. The affected Composer package is yajra/laravel-datatables-oracle. The affected releases are 10.7.0–10.11.4, 11.0.0–11.1.6, 12.0.0–12.7.2, and 13.0–13.3.1. Package on Packagist

Fix status

Patch releases are planned for all four package branches (10.x, 11.x, 12.x, and 13.x). The fixes have been tested on private branches and are awaiting release.

Details

When processing a search on a nested column, EloquentDataTable::compileQuerySearch() accepts a relationship path from the client without checking whether the application configured the full path for that listing. Eloquent resolves relationship names by invoking methods. As a result, client input can select an unintended method that runs with the application’s database privileges. Both global search and individual column search reach this code. Affected implementation in v13.3.1 The patch checks the complete path before asking Eloquent to resolve it. For example, configuring publisher alone does not authorize traversal to publisher.region. Applications can enable that search by explicitly loading publisher.region or defining a server-side filterColumn callback.

Proof of concept

The reporter observed that a single search request to a Laravel 13 application using package version 13.3.1 emptied a seeded table. The maintainer independently verified the underlying method invocation using a harmless counter. This allowed the same behavior to be checked before and after the patch without deleting data.

TestAffected version 13.3.1Patched commit 19eae89
Unconfigured method on the root model, global and column searchCounter incremented once per searchZero calls
Unconfigured method on a related model, global and column searchCounter incremented once per searchZero calls
A positive control confirmed that a configured nested search still returned the expected records. To verify the regression test on the patched branch, run vendor/bin/phpunit tests/Integration/DeepRelationTest.php. The result was 7 tests passed, 9 assertions.
On the 10.x, 11.x, and 12.x backports, the same harmless checks confirmed that global and per-column search skipped unconfigured relationships at both the root and nested levels. A configured nested relationship still returned the expected records on each branch.

Impact

A user who can access an Eloquent DataTables listing can supply search metadata that causes the application to invoke an unintended model method. This can empty a database table if the application’s database account permits the operation. Public listings may expose this to unauthenticated visitors.

The reporter identified a similar issue in Laravel’s handling of relationship inclusion. This advisory covers a separate path in yajra/laravel-datatables-oracle, where DataTables processes relationship names during search. Applications using an affected DataTables version will need the package fix even if they have already updated Laravel. See Laravel framework advisory CVE-2026-114508.


Origem: NVD

Relacionado PHP Vulnerabilidades:

CVE ID

Gravidade

Pontuação

Tecnologias

Nome do componente

Exploit CISA KEV

Tem correção

Data de publicação

GHSA-qrxh-g29w-pchrCRITICAL9.1
  • PHP logoPHP
  • yajra/laravel-datatables-oracle
NãoSimNov 28, 2026
GHSA-r28f-v6v7-gm9wHIGH8.6
  • PHP logoPHP
  • inter-mediator/inter-mediator
NãoNãoNov 28, 2026
GHSA-gqm7-fq99-9hmmHIGH7.5
  • PHP logoPHP
  • yajra/laravel-datatables-oracle
NãoSimNov 28, 2026
GHSA-7h52-wmhj-vrvfHIGH7.1
  • PHP logoPHP
  • ianm/follow-users
NãoSimNov 28, 2026
GHSA-2vpq-v76w-pfwmMEDIUM6.1
  • PHP logoPHP
  • cecil/cecil
NãoSimNov 28, 2026

Avaliação Gratuita de Vulnerabilidades

Avalie a sua postura de segurança na nuvem

Avalie suas práticas de segurança em nuvem em 9 domínios de segurança para avaliar seu nível de risco e identificar lacunas em suas defesas.

Avaliação de solicitação

Recursos adicionais da Wiz

Marque uma demonstração personalizada

Pronto para ver a Wiz em ação?

"A melhor experiência do usuário que eu já vi, fornece visibilidade total para cargas de trabalho na nuvem."
David EstlickCISO
"A Wiz fornece um único painel de vidro para ver o que está acontecendo em nossos ambientes de nuvem."
Adam FletcherDiretor de Segurança
"Sabemos que se a Wiz identifica algo como crítico, na verdade é."
Greg PoniatowskiChefe de Gerenciamento de Ameaças e Vulnerabilidades