# CVE-2022-25275

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2023-04-26 · Modified: 2025-02-03
- Aliases: UBUNTU-CVE-2022-25275
- Record: https://cvemate.com/vulnerability/CVE-2022-25275 · JSON: https://cvemate.com/vulnerability/CVE-2022-25275/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.667%, percentile 53.246%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- ubuntu drupal7 (Ubuntu): All versions (No fix recorded)
- drupal core: ≥ 9.4, \< 9.4.3 \| ≥ 9.3, \< 9.3.19 \| ≥ 7, \< 7.91
- drupal drupal: ≥ 7.0, \< 7.91 \| ≥ 8.0.0, \< 9.3.19 \| ≥ 9.4.0, \< 9.4.3

## References

- <https://www.drupal.org/sa-core-2022-012>
- <https://ubuntu.com/security/CVE-2022-25275>
- <https://www.cve.org/CVERecord?id=CVE-2022-25275>

---

Data as of 2026-12-05T06:27:05.571Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
