Intel

AIKIDO-2026-661685

awcodes/filament-curator is vulnerable to Path Traversal

Path TraversalGHSA-3xm3-q2fj-x8rq Published 4 days ago

65

Medium Risk

This Affects:

PHPawcodes/filament-curator
3.0.0 - 3.7.10
Fixed in 3.7.11
4.0.0 - 4.2.0
Fixed in 4.2.1
5.0.0 - 5.3.1
Fixed in 5.3.2
Are you affected? Scan for Free

TL;DR

Filament Curator lets authenticated media-library users upload files and crop curations through a Filament panel. The curation modal's saveCuration() writes to a client-supplied key path without validation, so a crafted key can resolve onto and overwrite a sibling file inside the storage disk. Separately, SVG sanitization is gated on the client filename extension while the serving layer types the file from sniffed bytes, so SVG markup uploaded under another extension is stored unsanitized and can be served as image/svg+xml inline and execute script in the application origin. The fix validates the curation payload before writing, sanitizes SVGs based on the detected type, and pins the served Content-Type from the stored extension with a forced download and nosniff for unknown types.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your Filament panel lets users upload media or crop curations.

Background info

awcodes/filament-curator is vulnerable to Path Traversal in versions 3.0.0 - 3.7.10, 4.0.0 - 4.2.0 and 5.0.0 - 5.3.1.

How to fix this

Upgrade the awcodes/filament-curator library to the patch version.