Security mailing lists by PureSourceCode

CVE-2025-49136

MEDIUM 6.5CVSS 3.1

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

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.

Published
9 Jun 2025
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-1336
Also known as
GHSA-jc7g-x28f-3v3hGO-2025-3745
Sources
NVDJSONOSV GHSA-jc7g-x28f-3v3hJSONOSV GO-2025-3745JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 CRITICAL 9.0 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.0 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD nadh listmonk
cpe:2.3:a:nadh:listmonk:*:*:*:*:*:*:*:*
>= 4.0.0, < 5.0.2 5.0.2
OSV Go github.com/knadh/listmonk >= 4.0.0, < 5.0.2 5.0.2
OSV Go github.com/knadh/listmonk all versions

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 9 Jun 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Jun 2025)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 9 Jun 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.