CVE-2025-49136
Listmonk Environment Variable Information Disclosure
Description
listmonk is a standalone, self-hosted, newsletter and mailing list manager. Starting in version 4.0.0 and prior to version 5.0.2, the `env` and `expandenv` template functions which is enabled by default in Sprig enables capturing of env variables on host. While this may not be a problem on single-user (super admin) installations, on multi-user installations, this allows non-super-admin users with campaign or template permissions to use the `{{ env }}` template expression to capture sensitive environment variables. Users should upgrade to v5.0.2 to mitigate the issue.
INFO
Published Date :
June 9, 2025, 5:15 p.m.
Last Modified :
July 11, 2025, 5:23 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
6.0
Exploitability Score :
2.3
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-49136
.
URL | Resource |
---|---|
https://github.com/knadh/listmonk/commit/d27d2c32cf3af2d0b24e29ea5a686ba149b49b3e | Patch |
https://github.com/knadh/listmonk/releases/tag/v5.0.2 | Release Notes |
https://github.com/knadh/listmonk/security/advisories/GHSA-jc7g-x28f-3v3h | Exploit Vendor Advisory |
https://github.com/knadh/listmonk/security/advisories/GHSA-jc7g-x28f-3v3h | Exploit Vendor Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-49136
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-49136
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jul. 11, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N Added CWE NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:a:nadh:listmonk:*:*:*:*:*:*:*:* versions from (including) 4.0.0 up to (excluding) 5.0.2 Added Reference Type GitHub, Inc.: https://github.com/knadh/listmonk/commit/d27d2c32cf3af2d0b24e29ea5a686ba149b49b3e Types: Patch Added Reference Type GitHub, Inc.: https://github.com/knadh/listmonk/releases/tag/v5.0.2 Types: Release Notes Added Reference Type GitHub, Inc.: https://github.com/knadh/listmonk/security/advisories/GHSA-jc7g-x28f-3v3h Types: Exploit, Vendor Advisory Added Reference Type CISA-ADP: https://github.com/knadh/listmonk/security/advisories/GHSA-jc7g-x28f-3v3h Types: Exploit, Vendor Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 10, 2025
Action Type Old Value New Value Added Reference https://github.com/knadh/listmonk/security/advisories/GHSA-jc7g-x28f-3v3h -
New CVE Received by [email protected]
Jun. 09, 2025
Action Type Old Value New Value Added Description listmonk is a standalone, self-hosted, newsletter and mailing list manager. Starting in version 4.0.0 and prior to version 5.0.2, the `env` and `expandenv` template functions which is enabled by default in Sprig enables capturing of env variables on host. While this may not be a problem on single-user (super admin) installations, on multi-user installations, this allows non-super-admin users with campaign or template permissions to use the `{{ env }}` template expression to capture sensitive environment variables. Users should upgrade to v5.0.2 to mitigate the issue. Added CVSS V3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H Added CWE CWE-1336 Added Reference https://github.com/knadh/listmonk/commit/d27d2c32cf3af2d0b24e29ea5a686ba149b49b3e Added Reference https://github.com/knadh/listmonk/releases/tag/v5.0.2 Added Reference https://github.com/knadh/listmonk/security/advisories/GHSA-jc7g-x28f-3v3h
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-49136
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-49136
weaknesses.