listmonk: SQL Injection in `/api/subscribers/export` bypasses table access control, leaking admin password hashes and SMTP credentials
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in github.com/knadh/listmonk 1.1.1-0.20260619102436-c0a6525009a6.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| knadh | <6.2.0 | ||
| go: github.com/knadh/listmonk | <1.1.1-0.20260619102436-c0a6525009a6 | 1.1.1-0.20260619102436-c0a6525009a6 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket