{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-49136","id":"CVE-2025-49136","title":"listmonk's Sprig template Injection vulnerability leads to reading of Environment Variable for low privilege user","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 ","descriptionLong":"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":"2025-06-09T16:21:48.266Z","updated":"2026-10-28T02:30:29.783334354Z","reserved":"2025-06-02T10:39:41.634Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},{"version":"3.1","score":9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"github.com"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["knadh listmonk"],"affectedProducts":[{"vendor":"knadh","product":"listmonk","defaultStatus":null,"versions":[{"version":">= 4.0.0, < 5.0.2","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/knadh/listmonk","purl":"pkg:golang/github.com/knadh/listmonk","ranges":[">=4.0.0 <5.0.2","all versions"],"fixed":["5.0.2"],"advisory":"GHSA-jc7g-x28f-3v3h"}],"cwes":["CWE-1336"],"aliases":["GHSA-jc7g-x28f-3v3h","GO-2025-3745"],"references":[{"url":"https://github.com/knadh/listmonk/security/advisories/GHSA-jc7g-x28f-3v3h","tags":["x_refsource_CONFIRM","exploit","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/knadh/listmonk/commit/d27d2c32cf3af2d0b24e29ea5a686ba149b49b3e","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/knadh/listmonk/releases/tag/v5.0.2","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/49xxx/CVE-2025-49136.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-49136","tags":["advisory"]},{"url":"https://github.com/knadh/listmonk","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.01648,"epssPercentile":0.76974,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-49136","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-49136","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-49136","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-jc7g-x28f-3v3h","ok":true,"note":"GHSA-jc7g-x28f-3v3h"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-49136","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}