CVE-2025-49136

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-49136
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-49136.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-49136
Aliases
Related
Published
2025-06-09T17:15:29Z
Modified
2025-06-12T17:01:54.755824Z
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/knadh/listmonk

Affected ranges

Type
GIT
Repo
https://github.com/knadh/listmonk
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

v0.*

v0.1.0-alpha
v0.1.1-alpha
v0.1.2-alpha
v0.2.0-alpha
v0.2.1-alpha
v0.2.2-alpha
v0.3.0-alpha
v0.3.1-alpha
v0.3.2-alpha
v0.3.3-alpha
v0.4.0-alpha
v0.5.0-alpha
v0.5.1-alpha
v0.5.2-alpha
v0.6.0-alpha
v0.6.1-alpha
v0.6.2-alpha
v0.7.0-alpha
v0.8.0-beta
v0.9.0-beta

v1.*

v1.0.0
v1.1.0

v2.*

v2.0.0
v2.1.0
v2.2.0
v2.3.0
v2.4.0
v2.5.0
v2.5.1

v3.*

v3.0.0

v4.*

v4.0.0
v4.0.1
v4.1.0

v5.*

v5.0.0
v5.0.1