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.
Published: 2026-07-15
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The /api/subscribers/export endpoint in Listmonk 6.1.x and earlier injects a user‑controlled query parameter directly into an internal database query without validating the table name, enabling an authenticated user who possesses the subscribers:sql_query and subscribers:get_all permissions to read any database table, including users, settings, and sensitive credentials, and to execute data‑modifying Common Table Expressions in PostgreSQL; this pure SQL injection flaw (CWE‑89) allows extraction of admin password hashes and SMTP credentials and the alteration of critical data, but it does not provide remote code execution.

Affected Systems

All installations of the Listmonk newsletter manager running any version earlier than 6.2.0, as identified by the vendor knadh for the listmonk product. Any user who has not yet applied the 6.2.0 release is vulnerable.

Risk and Exploitability

The CVSS score of 5.5 classifies the flaw as moderate, the EPSS score is below 1 %, and it is not listed in CISA’s KEV catalog, indicating a low likelihood of exploitation given current threat observations. However, the attack requires an authenticated session with the two mentioned permissions; once those credentials are in hand, the attacker can exfiltrate sensitive data and modify critical database contents. Although remote code execution is not possible, the exposure of password hashes and SMTP credentials could lead to broader compromise of the host system and any external services linked to the Listmonk instance.

Generated by OpenCVE AI on July 31, 2026 at 02:42 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Listmonk to version 6.2.0 or later, which restores proper query table validation and removes the injection path.
  • Revoke the subscribers:sql_query and subscribers:get_all permissions from users who do not need them, limiting the attack surface for SQL injection.
  • If an immediate upgrade cannot be performed, restrict or block access to the /api/subscribers/export endpoint (for example, via firewall rules or by removing the role that grants it) until the patch is applied.

Generated by OpenCVE AI on July 31, 2026 at 02:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 30 Jul 2026 20:45:00 +0000

Type Values Removed Values Added
First Time appeared Nadh
Nadh listmonk
Vendors & Products Nadh
Nadh listmonk

Thu, 16 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 15 Jul 2026 21:00:00 +0000

Type Values Removed Values Added
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.
Title listmonk: SQL Injection in `/api/subscribers/export` bypasses table access control, leaking admin password hashes and SMTP credentials
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-16T15:12:24.544Z

Reserved: 2026-07-13T22:04:59.677Z

Link: CVE-2026-62361

cve-icon Vulnrichment

Updated: 2026-07-16T14:49:16.624Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T02:45:04Z

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')