[ CVE-2026-62361 · Published 15 Jul 2026 ]
listmonk: SQL Injection in `/api/subscribers/export` bypasses table access control, leaking admin password hashes and SMTP credentials
[ Why it matters ]Priority signals
- Public proof-of-concept exploit exists (CISA SSVC)
[ Description ]Official description
listmonk is a standalone, self-hosted, newsletter and mailing list manager. Prior to 6.2.0, listmonk’s GET /api/subscribers/export endpoint injects the user-controlled query parameter into QuerySubscribersForExport in internal/core/subscribers.go without calling validateQueryTables, unlike GET /api/subscribers, allowing an authenticated user with subscribers:sql_query and subscribers:get_all to read arbitrary database tables such as users and settings and execute data-modifying PostgreSQL CTEs. This issue is fixed in version 6.2.0.
[ Fixes ]How to fix it
- github.com/knadh/listmonk 1.1.1-0.20260619102436-c0a6525009a6Fixed version · GitHub Advisories · go package github.com/knadh/listmonk: upgrade to 1.1.1-0.20260619102436-c0a6525009a6 or later (affected < 1.1.1-0.20260619102436-c0a6525009a6)
Fixed versions
- knadh listmonk: upgrade to 6.2.0 or laterEarlier versions are listed as affected
From the affected-version ranges in the CVE record. Check the vendor's advisory for the exact release for your platform or branch.
Vendor advisories and patches
- Vendor advisorygithub.com
- Patchgithub.com
- Release notesgithub.com
[ Packages ]Affected open-source packages
- github.com/knadh/listmonk goAffected < 1.1.1-0.20260619102436-c0a6525009a6 · fixed in 1.1.1-0.20260619102436-c0a6525009a6 · GHSA-xgjr-7j9q-2h4r
[ References ]References
- github.com/knadh/listmonk/security/advisories/GHSA-xgjr-7j9q-2h4rx_refsource_CONFIRM
- github.com/knadh/listmonk/commit/c0a6525009a65265230185f16e8674dcc83aa024x_refsource_MISC
- github.com/knadh/listmonk/releases/tag/v6.2.0x_refsource_MISC