Vulnerability DatabaseGHSA-58xv-7h9r-mx3c

GHSA-58xv-7h9r-mx3c: 
PHP vulnerability analysis and mitigation

Overview

The vulnerability (GHSA-58xv-7h9r-mx3c) was identified in Drupal 8 core, disclosed on December 18, 2019. This moderately critical security issue affects Drupal versions 8.0.0 through 8.7.11 and 8.8.0 through 8.8.1. The vulnerability is related to the file_save_upload() function's handling of filenames with leading and trailing dots (Drupal Advisory).

Technical details

The vulnerability stems from Drupal 8 core's file_save_upload() function, which failed to strip leading and trailing dots ('.') from filenames, unlike its predecessor in Drupal 7. This technical oversight could potentially allow users with file upload permissions to bypass security protections provided by Drupal's default .htaccess file (GitHub Advisory).

Impact

The vulnerability could enable users with file upload permissions to potentially upload system files such as .htaccess, effectively bypassing the security protections that Drupal's default .htaccess file provides. This could lead to unauthorized system file modifications and potential security compromises (Drupal Advisory).

Exploitability

The vulnerability requires an attacker to have user privileges that allow file uploads with any extension, working in conjunction with contributed modules. The exploitation is considered theoretical according to the security risk assessment (Drupal Advisory).

Mitigation and workarounds

The vulnerability has been patched in Drupal versions 8.7.11 and 8.8.1. The fix implements proper trimming of leading and trailing dots from filenames in the file_save_upload() function. Users are advised to upgrade to these patched versions immediately. Versions of Drupal 8 prior to 8.7.x are end-of-life and do not receive security coverage (Drupal Advisory).

Additional resources


Source: This report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-107376HIGH8.2
  • PHP logoPHP
  • webonyx/graphql-php
NoYesOct 08, 2026
CVE-2026-104890HIGH7.2
  • PHP logoPHP
  • kunstmaan/bundles-cms
NoYesOct 05, 2026
CVE-2026-107381MEDIUM6.5
  • PHP logoPHP
  • enshrined/svg-sanitize
NoYesOct 08, 2026
CVE-2026-107379MEDIUM6.5
  • PHP logoPHP
  • enshrined/svg-sanitize
NoYesOct 08, 2026
CVE-2026-107380MEDIUM5.4
  • PHP logoPHP
  • enshrined/svg-sanitize
NoYesOct 08, 2026

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