CVE-2022-25275
published high CVSS 3.1 · 7.5drupal: multiple vulnerabilities
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Drupal | — | Core9.4 to < 9.4.3 · 9.3 to < 9.3.19 · 7 to < 7.91 | Affected | Not stated | drupal |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Drupal | Core | 9.4 to < 9.4.3 (affected · custom)9.3 to < 9.3.19 (affected · custom)7 to < 7.91 (affected · custom) | drupal · cna |
Weaknesses
2- Information Disclosure
- CWE-noinfo Not enough information
References
1Provider assertions
3drupal · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 7f8d69cc77e45514fdc98cafaed66e18c5b56feaa9d6b9c20bef15c229b301b0
- Ingested
- 23 Sep 2026, 07:59:05 UTC
- Source record
- Official CVE record