Skip to content
Fencer Vulns
critical 9.1

CVE-2025-49136 json

listmonk's Sprig template Injection vulnerability leads to reading of Environment Variable for low privilege user

published 2025-06-09 17 mo ago modified 2026-09-10 1 mo ago also GHSA-jc7g-x28f-3v3h , GO-2025-3745 , EUVD-2025-17462

cvss
9.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.6%
EPSS 1.6% chance of exploitation in 30 days, percentile 76%
public exploits
1
Metasploit

Summary

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.

Patch / fix

  • go github.com/knadh/listmonk 5.0.2
  • nadh listmonk 5.0.2
  • govulncheck-vulndb openSUSE Tumbleweed 0.0.20250612T141001-1.1

opensuse advisories openSUSE-SU-2025:15225-1

Timeline

  1. First public exploit (Metasploit auxiliary/gather/listmonk_env_disclosure)
  2. Published

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
total
Assessed
16 mo ago

Exploit prediction

1.65% chance of exploitation in the next 30 days, higher than 76% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

CVSS scores

assigned by version score vector
CNA 3.1 9.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
GitHub 3.1 9.0 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
go github.com/knadh/listmonk
>=4.0.0, <5.0.2
all versions
5.0.2

Affected products

  • knadh listmonk

Classification

Weakness
  • CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.