Template Function Vulnerability in Listmonk by Knadh
CVE-2025-49136

9.1CRITICAL

Key Information:

Vendor

Knadh

Status
Vendor
CVE Published:
9 June 2025

What is CVE-2025-49136?

Listmonk, a self-hosted newsletter and mailing list manager, has a vulnerability affecting versions 4.0.0 through 5.0.1. The 'env' and 'expandenv' template functions, enabled by default in Sprig, pose a risk in multi-user installations. They allow non-super-admin users with permissions for campaigns or templates to exploit the '{{ env }}' template expression, potentially exposing sensitive environment variables. To safeguard against this risk, users are advised to upgrade to version 5.0.2.

Affected Version(s)

listmonk >= 4.0.0, < 5.0.2

References

CVSS V3.1

Score:
9.1
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
Required
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2025-49136 : Template Function Vulnerability in Listmonk by Knadh