SCA: security update for mautic/core (GHSA-h2wg-v8wg-jhxh)

medium Tenable Cloud Security Plugin ID 434787

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- SummaryThis advisory addresses a security vulnerability in Mautic where sensitive .env configuration files
may be directly accessible via a web browser. This exposure could lead to the disclosure of sensitive
information, including database credentials, API keys, and other critical system configurations. Sensitive
Information Disclosure via .env File Exposure: The .env file, which typically contains environment
variables and sensitive application configurations, is directly accessible via a web browser due to
missing web server configurations that restrict access to such files. This allows an unauthenticated
attacker to view the contents of this file by simply navigating to its URL. MitigationUpdate Mautic to the
latest Mautic version. By default, Mautic does not use .env files for production data. For Apache users:
Ensure your web server is configured to respect .htaccess files. For Nginx users: As Nginx does not
inherently support .htaccess files, you must manually add a configuration block to your Nginx server
configuration to deny access to .env files. Add the following to your Nginx configuration for the Mautic
site: location ~ /\.env { deny all; } After modifying your Nginx configuration, remember to reload or
restart your Nginx service for the changes to take effect. (CVE-2024-47056)

See Also

https://github.com/advisories/GHSA-h2wg-v8wg-jhxh

Plugin Details

Severity: Medium

ID: 434787

Version: Revision 1.3

Type: Local

Family: SCA Checks

Published: 8/20/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.1

Percentile: 7.46

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Low

Base Score: 3.6

Temporal Score: 2.7

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:N/A:P

CVSS Score Source: CVE-2024-47056

CVSS v3

Risk Factor: Medium

Base Score: 5.1

Temporal Score: 4.5

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/28/2025

Vulnerability Publication Date: 5/28/2025

Reference Information

CVE: CVE-2024-47056