# CVE-2025-7381: Exposure of sensitive PHP information to an unauthorized control sphere in mautic/mautic images

- Severity: Medium 5.3 (CVSS:3.1, scored by Mautic) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- 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.28%, higher than 21% of CVEs (2026-12-01)
- Published: 2025-07-09T15:16:37.305Z
- Modified: 2026-06-17T10:04:48.967Z
- Weaknesses: CWE-497
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Mautic

## Description

ImpactThis is an information disclosure vulnerability originating from PHP's base image. This vulnerability exposes the PHP version through an X-Powered-By header, which attackers could exploit to fingerprint the server and identify potential weaknesses.

WorkaroundsThe mitigation requires changing the expose_php variable from "On" to "Off" in the file located at /usr/local/etc/php/php.ini.

(As written by CVE List.)

## Affected

- mautic/mautic: <= 6.0.3-20250707-apache; <= 6.0.3-20250707-fpm; <= 5.2.7-20250707-apache; <= 5.2.7-20250707-fpm

## References

- <https://github.com/mautic/docker-mautic/security/advisories/GHSA-89jm-p7jf-x8jx>

## Sources

- CVE List: [CVE-2025-7381](https://www.cve.org/CVERecord?id=CVE-2025-7381), CVE Terms of Use, modified 2025-07-10
- NVD: [CVE-2025-7381](https://nvd.nist.gov/vuln/detail/CVE-2025-7381), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-7381 · Whole record: https://cve.day/CVE-2025-7381.json · Rebuilt by cve.day 2026-11-25T22:59:01.033Z
