CVEBrief

Home / Drupal / Core / CVE-2022-25277

CVE-2022-25277: is it exploited, and which versions of Drupal Core are affected and fixed?

CVE-2022-25277 is an unrestricted file upload vulnerability in Drupal Core. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: drupal/core from 8.0.0 before 9.3.19 and drupal/core from 9.4.0 before 9.4.3 (GitHub advisory GHSA-6955-67hm-vjjq). Fixed in 9.3.19 and 9.4.3 (GitHub advisory GHSA-6955-67hm-vjjq). Severity: High (7.2, CVSS 3.1, from CISA-ADP).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:39 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 13:38 UTC
Affected
drupal/core from 8.0.0 before 9.3.19 and drupal/core from 9.4.0 before 9.4.3
GitHub advisory GHSA-6955-67hm-vjjq
Fixed in
9.3.19 and 9.4.3
GitHub advisory GHSA-6955-67hm-vjjq
Severity
High 7.2
CVSS 3.1 from CISA-ADP
Exploit odds (EPSS)
1.42% in 30 days
higher than 74% of CVEs; FIRST, December 2, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2022-25277?

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.

From the CVE record by drupal, last updated February 3, 2025, 18:41 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
DrupalCorefrom 9.4 before 9.4.3
from 9.3 before 9.3.19
9.4.3, 9.3.19

As the CVE record by drupal states it, last updated February 3, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
Packagistdrupal/core>= 8.0.0, < 9.3.199.3.19GHSA-6955-67hm-vjjq
Packagistdrupal/core>= 9.4.0, < 9.4.39.4.3GHSA-6955-67hm-vjjq

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 10, 2023. Summary: Drupal core arbitrary PHP code execution.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
drupaldrupalfrom 8.0.0 before 9.3.19application
drupaldrupalfrom 9.4.0 before 9.4.3application

NVD analysis (status Modified), last modified June 17, 2026, 04:33 UTC.

How severe is CVE-2022-25277?

ScoreVersionVectorSource
High 7.2CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HCISA-ADP
High 7.2CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2022-25277 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: total (CISA ADP, February 3, 2025)
EPSS
1.42% probability of exploitation activity in the next 30 days, percentile 73.7 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
February 16, 2022
Published
April 26, 2023, 00:00 UTC
CVE record updated
February 3, 2025, 18:41 UTC by drupal
NVD
Modified, last modified June 17, 2026, 04:33 UTC
Last checked
CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:39 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect Core?

Every CVE in Core

Questions about CVE-2022-25277

Is CVE-2022-25277 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 1.42% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of Drupal Core are affected by CVE-2022-25277?

drupal/core from 8.0.0 before 9.3.19 and drupal/core from 9.4.0 before 9.4.3, per the GitHub advisory GHSA-6955-67hm-vjjq. The tables above give every range the sources list.

Which version fixes CVE-2022-25277?

9.3.19 and 9.4.3, per the GitHub advisory GHSA-6955-67hm-vjjq. Check the vendor's advisory before you rely on it.

How severe is CVE-2022-25277?

High (7.2, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.

Where is the official record of CVE-2022-25277?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.