Intel

AIKIDO-2026-172024

magewirephp/magewire is vulnerable to Improper Access Control

Improper Access ControlGHSA-64j9-rg74-hqc7 Published 5 days ago

81

High Risk

This Affects:

PHPmagewirephp/magewire
3.0.0 - 3.7.1
Fixed in 3.7.2
Are you affected? Scan for Free

TL;DR

Magewire exposes browser callable component actions, event listener dispatch, lifecycle hooks, and lazy load re-mounting without restricting them to the application's intended actions. A visitor can invoke inherited framework helpers, methods redeclared by Magento interceptors, Livewire lifecycle hooks such as boot or mount, and the __lazyLoad re-mount path through a crafted Magewire request, even when the component never exposed that action. This lets a visitor rerun lifecycle logic, redirect event dispatch, or trigger lazy load re-mounting outside the component's intended flow, bypassing the authorization boundary the component author assumed. The fix limits the browser callable method list to application actions, checks event listener targets, blocks direct lifecycle hook calls, and requires a genuine lazy placeholder before re-mounting.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

magewirephp/magewire is vulnerable to Improper Access Control in versions 3.0.0 - 3.7.1.

How to fix this

Upgrade the magewirephp/magewire library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform