Authorization bypass in symfony/ux-live-component via an empty batch action request
- CVE-2026-133774
- EUVD-2026-133720
Description
A live component protected by #[IsGranted], on its class or on its default action, can be rendered by a caller who is not granted access. POST /_components/{name}/_batch is handled by Symfony\UX\LiveComponent\Controller\BatchActionController, which has no controller attributes: the attributes of the component are only checked by the sub-request issued for each action. With an empty actions list, no sub-request was issued, and the hydrated component was rendered and returned with a 200. The caller needs a valid signed props payload for the component, such as the data-live-props-value of a page that rendered it: one the caller could see before losing access, or a cached or shared page. The checksum binds the props to the component name, not to a user, a session or a time, so such a payload can be replayed. Actions are not affected, since each action of a non-empty batch is still checked in its own sub-request. Components that load data from their props, like an entity identifier, disclose that data to the caller. BatchActionController now rejects a batch without any action with a BadRequestHttpException. The JavaScript client never sends such a request: it uses the URL of the component when there is no action, /{action} for a single one and /_batch for two or more.
Text from the CVE.org record.
Recommendation
Symfony symfony/ux-live-component
- If you run a version from 3.0.0 to before 3.8.1update to 3.8.1 or laterMinor version change: check the release notes
- If you run a version from 2.5.0 to before 2.36.3update to 2.36.3 or laterMinor version change: check the release notes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Symfony symfony/ux-live-component
Affected versions Fixed in from 3.0.0 to before 3.8.1 3.8.1 from 2.5.0 to before 2.36.3 2.36.3
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.