Vulnerability · Published Jul 15, 2026 · Assigned by GitHub_M
CVE-2026-62361listmonk: SQL Injection in `/api/subscribers/export` bypasses table access control, leaking admin password hashes and SMTP credentials
Medium 5.5
In plain English
A medium-severity SQL injection in listmonk from knadh. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/knadh/listmonk | 1.1.1-0.20260619102436-c0a6525009a6 | GHSA-xgjr-7j9q-2h4r |
Affected products (as reported)
Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N
References
- https://github.com/knadh/listmonk/security/advisories/GHSA-xgjr-7j9q-2h4r x_refsource_CONFIRM
- https://github.com/knadh/listmonk/commit/c0a6525009a65265230185f16e8674dcc83aa024 x_refsource_MISC
- https://github.com/knadh/listmonk/releases/tag/v6.2.0 x_refsource_MISC