Katalog CVE

CVE-2026-142634

ŚrednieCVSS 5.3
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.46%

Percentyl 41 - wyżej niż 41% wszystkich znanych CVE

Streszczenie

W Laravelu przed wersjami 13.43.0 i 12.73.0 ochronę $guarded w Eloquent można obejść alternatywną pisownią nazwy chronionego atrybutu (np. wariantem z myślnikiem lub spacją dla is_admin). Sprawdzenie porównywało surowy klucz, podczas gdy rozwiązywanie set-mutatora normalizowało go przez Str::studly() lub Str::camel().

Ocena ryzyka

Zdalny klient mógł zapisać chronione atrybuty, takie jak role lub flagi uprawnień, jeśli model używa czarnej listy $guarded z set-mutatorem i mass-assignuje niezaufane dane.

Rekomendacja

Zaktualizuj Laravel do wersji 13.43.0 lub 12.73.0 i unikaj mass-assign niezaufanych danych do modeli z czarną listą $guarded.

Inne podatności w Laravel

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

Laravel is a web application framework. Prior to 13.43.0 and 12.73.0, Eloquent's $guarded protection can be bypassed with an alternate spelling of a guarded attribute name, such as a hyphen or whitespace variant of is_admin. The guard check compared the raw key, while set-mutator resolution normalized it with Str::studly() or Str::camel(). Applications are affected when a model uses a $guarded blacklist, defines a set-mutator (classic or Attribute-based) on a guarded attribute, and mass-assigns untrusted input such as $request->all(). A remote client could then write protected attributes such as role or privilege flags. This issue is fixed in versions 13.43.0 and 12.73.0.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS