Read the docs
TI-2025-31216 Aliases CVE-2025-49136GHSA-jc7g-x28f-3v3h

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

Priority HIGH 74CWE-1336Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-1336.

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01648 76th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed listmonk (knadh): 5.0.2github.com/knadh/listmonk (Go): 5.0.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
knadhlistmonk4.0.0 to before 5.0.25.0.2Patch availableCNA
—github.com/knadh/listmonk (Go)4.0.0 to before 5.0.25.0.2Patch availableGHSA-jc7g-x28f-3v3h
  • listmonk Vendorknadh Affected 4.0.0 to before 5.0.2 Fixed in 5.0.2 Patch available CNA
  • github.com/knadh/listmonk (Go) Vendor— Affected 4.0.0 to before 5.0.2 Fixed in 5.0.2 Patch available GHSA-jc7g-x28f-3v3h

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:nadh:listmonk:*:*:*:*:*:*:*:*4.0.0 to before 5.0.2Vulnerableknadh
  • cpe:2.3:a:nadh:listmonk:*:*:*:*:*:*:*:* Versions 4.0.0 to before 5.0.2 Vulnerable ·knadh

Remediation

  • Fix · CNA listmonk (knadh) Fixed in 5.0.2
  • Fix · GHSA-jc7g-x28f-3v3h github.com/knadh/listmonk (Go) Fixed in 5.0.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-49136
  2. 2026-10-03 Alias added: GHSA-jc7g-x28f-3v3h

References

  • TI-2025-36190 listmonk Vulnerable to CSRF to XSS Chain That Can Lead to Admin Account Takeover CVSS 4.0HIGH 8.6
  • TI-2026-27072 listmonk: Active sessions remain valid after password reset and password change CVSS 3.1HIGH 7.1
  • TI-2026-17337 listmonk Vulnerable to Stored XSS Leading to Admin Account Takeover CVSS 4.0MEDIUM 5.4
  • TI-2025-28914 Listmonk v4.1.0 (fixed in v5.0.0) is vulnerable to SQL Injection in the QuerySubscribers… CVSS 3.1MEDIUM 6.5
  • TI-2026-26831 listmonk: Broken Access Control in CSV Import (Unauthorized List Assignment) CVSS 3.1MEDIUM 5.4

Sources