# CVE-2022-25769: Improper regex in htaccess file

- Severity: High 7.2 (CVSS:3.1, scored by Mautic) `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 44% of CVEs (2026-12-01)
- Published: 2022-03-01T22:05:34.000Z
- Modified: 2026-06-17T04:34:14.850Z
- Also known as: GHSA-mj6m-246h-9w56
- Weaknesses: CWE-1284
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Mautic

## Description

ImpactThe default .htaccess file has some restrictions in the access to PHP files to only allow specific PHP files to be executed in the root of the application.

This logic isn't correct, as the regex in the second FilesMatch only checks the filename, not the full path.

(As written by CVE List.)

## Affected

- mautic/core: < 3.3.5; < 4.2.0
- mautic mautic: before 3.3.5; before 4.2.0
- mautic/core (Packagist): before 3.3.5; from 4.0.0 before 4.2.0
- acquia mautic: before 3.3.5; from 4.0.0 before 4.2.0

## Every score

- Mautic: CVSS:3.1 7.2 High `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:H`
- GitHub: rating Medium
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/mautic/mautic/security/advisories/GHSA-mj6m-246h-9w56> (vendor-advisory, web)
- <https://www.mautic.org/blog/community/mautic-4-2-one-small-step-mautic> (release-notes)

## Sources

- CVE List: [CVE-2022-25769](https://www.cve.org/CVERecord?id=CVE-2022-25769), CVE Terms of Use, modified 2024-09-18
- GitHub Advisory Database: [GHSA-mj6m-246h-9w56](https://github.com/advisories/GHSA-mj6m-246h-9w56), CC-BY-4.0, modified 2024-12-05
- NVD: [CVE-2022-25769](https://nvd.nist.gov/vuln/detail/CVE-2022-25769), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-25769 · Whole record: https://cve.day/CVE-2022-25769.json · Rebuilt by cve.day 2026-11-25T22:58:19.983Z
