statamic/cms · Security

Statamic: Missing file upload validation on frontend forms allows uploading disallowed file types

GHSA ID
GHSA-qhr7-v3xp-vw9m
CVE ID
CVE-2026-71434
Severity
medium
Published
Updated
CVSS
5.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS v3
5.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Description

Impact

Public frontend forms did not enforce the file upload restrictions that the Control Panel enforces, so an unauthenticated visitor could upload file types an administrator had intended to disallow through a form's assets or files field. For assets fields, files could be stored on a public, web-accessible disk. Statamic's global upload allowlist still applied, so executable types such as .php and .html remained blocked.

Patches

This has been fixed in 5.74.3 and 6.24.2.

CWEs

References