Skip to main content
← All vulnerabilities
CVE-2025-49136GO-2025-3745GHSA-JC7G-X28F-3V3H

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.0.2
1 Metasploit module
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • knadh listmonk

    From 4.0.0 · fixed in 5.0.2

  • github.com/knadh/listmonkGo

    All versions

  • github.com/knadh/listmonkGo

    From 4.0.0 · fixed in 5.0.2

References 4

GitHub · knadh/listmonk

GitHub · rapid7/metasploit-framework