9.1

CVE-2025-49136: listmonk's Sprig template Injection vulnerability leads to reading of Environment Variable for low privilege user

Analyzed
AliasesGHSA-jc7g-x28f-3v3hGO-2025-3745
Published 09-06-2025Last modified 10-06-2025

Vulnerability summary

CVE-2025-49136 is a critical (CVSS 9.1) vulnerability in knadh listmonk. EPSS estimates a 1.58% chance of exploitation in the next 30 days, higher than 75.5% of scored vulnerabilities. 2 public exploits are recorded.

Priority
Prioritiseweaponized exploit

Weaponized exploit (Metasploit, 08-06-2025)

Source freshness unavailable

How is this decided?
CVSS score
9.1/10
010
Critical · v3.1 (CVE.org)
EPSS score
1.58%
0%100%
Low · +0.04 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits2github, metasploit

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 09-06-2025
    PublishedVulnerability first disclosed.
  2. 10-06-2025
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

1.58%

Chance of exploitation in the next 30 days

Percentile

76%

Versus all other CVEs

30-day change

Increase +0.04 pp

From 1.54% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

2 found
  • githubUnverified

    Listmonk

    Maturity: poc

  • MetasploitMetasploitremoteUnverified

    Listmonk Insecure Sprig Template Functions Environment Disclosure

    auxiliary/gather/listmonk_env_disclosure

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.

Github.com/knadh1 product
  • listmonk≥ 4.0.0, < 5.0.2 | All versions (No fix recorded)
Knadh1 product
Nadh1 product

3 vendors · 3 products

References

5 links