CVE-2025-49136
CVE-2025-49136 · listmonk's Sprig template Injection vulnerability leads to reading of Environment Variable for low privilege user
CVSS 9.1 · Critical · EPSS 1.6% · Public exploit
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- listmonkNo fix published
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- openSUSE-SU-2025:15225-1 · openSUSE Tumbleweed ·
Affected products and versions
listmonk
- Versions
- >= 4.0.0, < 5.0.2: Affected
No fix published