CVE-2022-25275

HIGH
7.5
CVSS Score
Published: April 26, 2023 at 12:00 AM UTC
Updated: June 17, 2026 at 04:33 AM UTC
1 product affected across 1 vendorDrupal

Using Core by Drupal?

Get instant alerts when new vulnerabilities affect Core - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 0.7%
SSVC
No known exploit

Description

In some situations, the Image module does not correctly check access to image files not stored in the standard public files directory when generating derivative images using the image styles system. Access to a non-public file is checked only if it is stored in the "private" file system. However, some contributed modules provide additional file systems, or schemes, which may lead to this vulnerability. This vulnerability is mitigated by the fact that it only applies when the site sets (Drupal 9) $config['image.settings']['allow_insecure_derivatives'] or (Drupal 7) $conf['image_allow_insecure_derivatives'] to TRUE. The recommended and default setting is FALSE, and Drupal core does not provide a way to change that in the admin UI. Some sites may require configuration changes following this security release. Review the release notes for your Drupal version if you have issues accessing files or image styles after updating.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

7 ≤ v < 7.917.0 ≤ v < 7.918.0.0 ≤ v < 9.3.199.3 ≤ v < 9.3.199.4 ≤ v < 9.4.39.4.0 ≤ v < 9.4.379.39.4
Affected range stops below 7.91, so it looks safe — our inference, not a vendor statement
Affected range stops below 9.3.19, so it looks safe — our inference, not a vendor statement
Affected range stops below 9.4.3, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

Patch and advisory references

SSVC — Action Prioritization

SSVCNo known exploitAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.5HIGHCISA-ADP
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card