Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2022-25277
drupal

Score7.2 High
CVSS 3.1
Exploit probability (EPSS)1.5%
within the next 30 days
CategoryCode execution & injection
Published26 April 2023
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, with administrator privileges, without any user interaction.

A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.

Weakness type: Unrestricted file upload.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

Drupal core sanitizes filenames with dangerous extensions upon upload (reference: SA-CORE-2020-012) and strips leading and trailing dots from filenames to prevent uploading server configuration files (reference: SA-CORE-2019-010). However, the protections for these two vulnerabilities previously did not work correctly together. As a result, if the site were configured to allow the upload of files with an htaccess extension, these files' filenames would not be properly sanitized. This could allow bypassing the protections provided by Drupal core's default .htaccess files and possible remote code execution on Apache web servers. This issue is mitigated by the fact that it requires a field administrator to explicitly configure a file field to allow htaccess as an extension (a restricted permission), or a contributed module or custom code that overrides allowed file uploads.

CVSS: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Weakness: CWE-434 – Unrestricted file upload

Affected products

VendorProductVersions
drupaldrupal>=8.0.0 <9.3.19
drupaldrupal>=9.4.0 <9.4.3

Sources

Latest in the same category

  • CVE-2026-140281 Critical 9.2
    GPT-SoVITS through 20250606v2pro contains an unsafe deserialization vulnerability in the api.py /set_model endpoint that allows unauthenticated attackers to load arbitrary model checkpoints. Attackers can set…
    Code execution & injection · 1 December 2026
  • CVE-2026-121479 Medium 6.3
    A flaw was found in sequoia-sq. This vulnerability can lead to arbitrary code execution when the tool displays suggested command hints derived from untrusted inputs, such as user identities. Because command arguments…
    Code execution & injection · 1 December 2026
  • CVE-2026-139863 Medium 5.5
    A weakness has been identified in itsourcecode Stock Management System 1.0. This affects an unknown part of the file php_action/fetchProductImageUrl.php. This manipulation of the argument i causes sql injection. The…
    Code execution & injection · 30 November 2026
  • CVE-2026-139862 Medium 5.5
    A vulnerability was identified in itsourcecode Stock Management System 1.0. Affected by this vulnerability is an unknown functionality of the file php_action/fetchSelectedCategories.php. The manipulation of the…
    Code execution & injection · 30 November 2026
  • CVE-2026-139861 Medium 5.5
    A vulnerability was determined in itsourcecode Stock Management System 1.0. Affected is an unknown function of the file php_action/fetchSelectedBrand.php. Executing a manipulation of the argument brandId can lead to…
    Code execution & injection · 30 November 2026
  • CVE-2026-139860 Medium 5.5
    A vulnerability was found in itsourcecode Stock Management System 1.0. This impacts an unknown function of the file php_action/fetchOrderData.php. Performing a manipulation of the argument orderId results in sql…
    Code execution & injection · 30 November 2026