Mittel

Mautic does not shield .env files from web traffic

  • Veröffentlicht: 28.05.2025
  • Aktualisiert: 11.10.2026 10:22

Summary

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

Mitigation

Update 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:

nginx
location ~ /\.env {
    deny all;
}

After modifying your Nginx configuration, remember to reload or restart your Nginx service for the changes to take effect.

Betroffene Software

Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.

PlattformPaketAnfällige VersionenBehoben in
Composer-Paket mautic/core >= 4.4.0, < 4.4.16, >= 5.0.0-alpha, < 5.2.6, >= 6.0.0-alpha, < 6.0.2 4.4.16, 5.2.6, 6.0.2

Verweise

CVSS-Wert 5.1/10
CVSS-Vektor
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Schwäche (CWE)
CWE-312, CWE-526
Plattform
Composer
Paket
mautic/core
Veröffentlicht
28.05.2025
Aktualisiert
11.10.2026 10:22

Quellen und Lizenzen

OSV / GitHub Advisory Database - GHSA-h2wg-v8wg-jhxh - CC BY 4.0

Schwachstellenhistorie: mautic/core

Alle veröffentlichten Schwachstellen dieses Pakets (Composer-Paket), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.

Alle (57) im Archiv
Einträge insgesamt
57
Erste → letzte
01.2021 07.2026
Ohne Fix
1
In Angriffen ausgenutzt
0

Verteilung nach Schweregrad

  • Kritisch 9
  • Hoch 17
  • Mittel 29
  • Niedrig 2

Veröffentlichungen pro Jahr

  1. 2021: 16
  2. 2022: 7
  3. 2023: 0
  4. 2024: 13
  5. 2025: 13
  6. 2026: 8
Schweregrad:
  1. Hoch · 7.6 CVE-2026-9809 >= 7.0.0, < 7.1.2 7.1.2
  2. Hoch · 7.1 CVE-2026-9808 >= 7.0.0, < 7.1.2 7.1.2
  3. Kritisch · 9.9 CVE-2026-9559 >= 7.0.0, < 7.1.2 7.1.2
  4. Kritisch · 9.9 CVE-2026-9558 >= 1.3.0, >= 5.0.0, < 5.2.11, >= 6.0.0, < 6.0.9, >= 7.0.0, < 7.1.2 5.2.11, 6.0.9, 7.1.2
  5. Hoch · 7.1 CVE-2026-4776 >= 2.6.0, <= 4.4.13, >= 5.0.0, < 5.2.11, >= 6.0.0, < 6.0.9, >= 7.0.0, < 7.1.2 5.2.11, 6.0.9, 7.1.2
  6. Hoch · 7.6 CVE-2026-3105 >= 2.10.0, < 5.2.10, >= 6.0.0-alpha, < 6.0.8, >= 7.0.0-alpha, < 7.0.1 5.2.10, 6.0.8, 7.0.1
  7. Kritisch CVE-2025-13828 >= 4.0.0, < 4.4.18, >= 5.0.0, < 5.2.9, >= 6.0.0, < 6.0.7 4.4.18, 5.2.9, 6.0.7
  8. Mautic does not shield .env files from web traffic dieser Eintrag
    Mittel · 5.1 CVE-2024-47056 >= 4.4.0, < 4.4.16, >= 5.0.0-alpha, < 5.2.6, >= 6.0.0-alpha, < 6.0.2 4.4.16, 5.2.6, 6.0.2
  9. Hoch · 7.7 CVE-2024-47053 >= 1.0.1, < 5.2.3 5.2.3
  10. Kritisch · 9.1 CVE-2024-47051 < 5.2.3 5.2.3
  11. Hoch · 7.0 CVE-2022-25768 >= 1.1.3, < 4.4.13, >= 5.0.0-alpha, < 5.1.1 4.4.13, 5.1.1
  12. Kritisch · 9.6 CVE-2020-35125 < 2.16.5, >= 3.0.0, < 3.2.4 2.16.5, 3.2.4
  13. Hoch · 8.3 CVE-2022-25776 >= 1.0.2, < 4.4.12, >= 5.0.0-alpha, < 5.0.4 4.4.12, 5.0.4
  14. Hoch · 8.1 CVE-2021-27916 >= 3.3.0, < 4.4.12, >= 5.0.0-alpha, < 5.0.4 4.4.12, 5.0.4
  15. Hoch · 7.6 CVE-2021-27915 >= 1.0.0-beta2, < 4.4.12 4.4.12
  16. Kritisch · 9.0 CVE-2020-35129 < 3.2.4 3.2.4
  17. Kritisch · 9.0 CVE-2020-35128 >= 3.2.0, < 3.2.4, >= 2.0.0, < 2.16.5 3.2.4, 2.16.5
  18. Hoch · 7.5 CVE-2017-1000046 < 2.1.1 2.1.1
  19. Hoch · 8.8 CVE-2017-8874 = 1.4.1 keine Korrektur
Mehr anzeigen (7) 20 von 27 angezeigt

Erkennen Sie Schwachstellen in Ihrer Anwendung

Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.

Anwendung verbinden
DockRay Newsletter

Anwendungssicherheit in Ihrem Postfach

Wichtige Schwachstellen, konkrete Empfehlungen und praktische Tipps für Ihre Anwendungen. Wählen Sie Ihre Technologien und verfolgen Sie, was für Ihr Projekt relevant ist.

  • Eine tägliche Zusammenfassung neuer Schwachstellen, auch kritischer.
  • Benachrichtigungen über wichtige Updates.
  • Praktische Tipps zur Sicherheit und Überwachung von Anwendungen.

Leer lassen, um Meldungen zu allen Technologien zu erhalten.

Kostenlos anmelden. In jeder E-Mail mit einem Klick abmelden.