CreateAction relationship data can be applied to an existing record
Summary
CreateAction schemas may be mounted from a resource page, table, or enclosing schema that already has a record. In affected versions, relationship components in the create form could inherit unintended existing record context before the newly created record was available.
An authenticated user...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| composerfilament/actions |
>= 3.0.0, < 3.3.58→ 3.3.58 |
3.3.58 |
| composerfilament/actions |
>= 4.0.0, < 4.17.0→ 4.17.0 |
4.17.0 |
| composerfilament/actions |
>= 5.0.0, < 5.12.0→ 5.12.0 |
5.12.0 |
Original description The description as published by the source.
CreateAction schemas may be mounted from a resource page, table, or enclosing schema that already has a record. In affected versions, relationship components in the create form could inherit unintended existing record context before the newly created record was available.
An authenticated user able to invoke an affected CreateAction could cause relationship state to be associated with an unintended record. Filament now binds CreateAction schemas to the model class being created and rejects table action record context where it is not valid.
Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-874938S2.
Source: GitHub Repository Security Advisories (Game のスタック) GitHub Advisory OSV
References
- GITHUB_REPO_ADVISORY filamentphp/filament