CVE-2026-62361 Details
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.
A SQL injection vulnerability has been identified in Listmonk versions prior to 6.2.0, specifically in the GET /api/subscribers/export endpoint. This vulnerability allows authenticated users with the subscribers:sql_query and subscribers:get_all permissions to bypass table access controls and read arbitrary database tables, such as users and settings. The issue arises because the export endpoint does not validate user-controlled query parameters before executing them, unlike the regular subscriber query endpoint. As a result, sensitive information, including bcrypt password hashes and SMTP credentials, can be extracted from the database. Additionally, the vulnerability allows the execution of data-modifying PostgreSQL Common Table Expressions (CTEs), further escalating the impact.
Users are advised to upgrade to Listmonk version 6.2.0, which addresses this vulnerability by implementing the necessary SQL query validation on the subscriber export endpoint.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 15, 2026CISA-ADP
Assessed Jul 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/knadh/listmonk/security/advisories/GHSA-xgjr-7j9q-2h4r | CISA-ADP | AdvisoryRemedyVendor |
| https://github.com/knadh/listmonk/commit/c0a6525009a65265230185f16e8674dcc83aa024 | [email protected] | Source CodeVendor |
| https://github.com/knadh/listmonk/releases/tag/v6.2.0 | [email protected] | Release NotesVendor |
| https://github.com/knadh/listmonk/security/advisories/GHSA-xgjr-7j9q-2h4r | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| listmonk | <= 6.1.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 16, 2026 | CVE Modified | CISA-ADP |
| Jul 15, 2026 | New CVE Received | [email protected] |
Volerion