{"cve":"CVE-2025-49136","nvd":{"published":"2025-06-09T17:15:29.917","modified":"2026-06-17T09:30:48.450","status":"Analyzed","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5},"cwes":["CWE-1336"],"references":["https://github.com/knadh/listmonk/commit/d27d2c32cf3af2d0b24e29ea5a686ba149b49b3e","https://github.com/knadh/listmonk/releases/tag/v5.0.2","https://github.com/knadh/listmonk/security/advisories/GHSA-jc7g-x28f-3v3h","https://github.com/knadh/listmonk/security/advisories/GHSA-jc7g-x28f-3v3h"],"products":["nadh:listmonk"],"source":"nvd","synced_at":"2026-10-19T22:02:23.998251710+00:00"},"epss":{"cve":"CVE-2025-49136","score":0.0158,"percentile":0.75507,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-jc7g-x28f-3v3h","url":"https://osv.dev/vulnerability/GHSA-jc7g-x28f-3v3h","summary":"listmonk's Sprig template Injection vulnerability leads to reading of Environment Variable for low privilege user","modified":"2026-09-10T03:50:57.834073790Z","packages":[{"ecosystem":"Go","name":"github.com/knadh/listmonk","purl":"pkg:golang/github.com/knadh/listmonk","ranges":[">=4.0.0 <5.0.2"],"fixed":["5.0.2"]}]},{"id":"GO-2025-3745","url":"https://osv.dev/vulnerability/GO-2025-3745","summary":"listmonk's Sprig template Injection vulnerability leads to reading of Environment Variable for low privilege user in github.com/knadh/listmonk","modified":"2025-06-10T17:59:27.103153Z","packages":[{"ecosystem":"Go","name":"github.com/knadh/listmonk","purl":"pkg:golang/github.com/knadh/listmonk","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}