Skip to content

CVE-2026-62361 listmonk: SQL Injection in `/api/subscribers/export` bypasses table access control, leaking admin password hashes and SMTP credentials

MediumCVSS 5.5 EPSS 0.30%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
knadh listmonk(Go) < 1.1.1-0.20260619102436-c0a6525009a6 1.1.1-0.20260619102436-c0a6525009a6 Fixed
knadh listmonk = < 6.2.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
knadh listmonk(Go) < 1.1.1-0.20260619102436-c0a6525009a6 1.1.1-0.20260619102436-c0a6525009a6
knadh listmonk = < 6.2.0 No fix listed

References