CVE-2020-26138
PHP vulnerability analysis and mitigation

Overview

In SilverStripe through 4.6.0-rc1, a FormField with square brackets in the field name skips validation. This vulnerability affects the FileField class commonly used for file upload in custom code on SilverStripe websites. The vulnerability is tracked as CVE-2020-26138 and was disclosed on June 8, 2021 (NVD).

Technical details

The vulnerability exists in the FileField class which is designed for single file uploads. When square brackets are added to the field name, PHP allows submitting multiple values, coercing the FileField to accept multiple files - an unsupported feature. In this scenario, critical security controls like file extension validation and FileField->saveInto() behavior are bypassed. The vulnerability affects SilverStripe framework versions ^3.0.0 and ^4.0.0, and was fixed in versions ^4.7.4 and ^4.8.0. The vulnerability has been assigned a CVSS base score of 3.4 (Low severity) (Silverstripe Security).

Impact

If custom controller logic is used to process file uploads while implicitly relying on Form system validation, the bypass could allow uploading of files with unauthorized extensions. This primarily affects custom implementations using FileField, not the UploadField used within the CMS (Silverstripe Security).

Mitigation and workarounds

The vulnerability was patched in SilverStripe framework versions 4.7.4 and 4.8.0. Users should upgrade to these or newer versions. The issue only affects FileField implementations, not the UploadField used within the CMS (Silverstripe Security).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-65346CRITICAL9.1
  • PHPPHP
  • alexusmai/laravel-file-manager
NoNoDec 04, 2025
CVE-2025-66468HIGH7.6
  • PHPPHP
  • aimeos/ai-cms-grapesjs
NoYesDec 02, 2025
CVE-2025-65345MEDIUM6.5
  • PHPPHP
  • alexusmai/laravel-file-manager
NoNoDec 03, 2025
CVE-2025-65657MEDIUM6.5
  • PHPPHP
  • feehi/cms
NoNoDec 02, 2025
CVE-2025-65186MEDIUM6.1
  • PHPPHP
  • getgrav/grav
NoNoDec 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management