{"id":"CVE-2026-62361","summary":"listmonk: SQL Injection in `/api/subscribers/export` bypasses table access control, leaking admin password hashes and SMTP credentials","details":"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.","aliases":["GHSA-xgjr-7j9q-2h4r"],"modified":"2026-08-12T03:51:19.813270477Z","published":"2026-07-15T20:56:45.832Z","database_specific":{"cwe_ids":["CWE-89"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62361.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/knadh/listmonk/releases/tag/v6.2.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62361.json"},{"type":"ADVISORY","url":"https://github.com/knadh/listmonk/security/advisories/GHSA-xgjr-7j9q-2h4r"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62361"},{"type":"FIX","url":"https://github.com/knadh/listmonk/commit/c0a6525009a65265230185f16e8674dcc83aa024"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/knadh/listmonk","events":[{"introduced":"0"},{"fixed":"c0a6525009a65265230185f16e8674dcc83aa024"},{"fixed":"ef0a75872463f10a4848af6c547d1c057405453a"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"6.2.0"}]}}],"versions":["v6.1.0","nightly","v6.0.0","v5.1.0","v5.0.3","v5.0.2","v5.0.1","v5.0.0","v4.1.0","v4.0.1","v4.0.0","v3.0.0","v2.5.1","v2.5.0","v2.4.0","v2.3.0","v2.2.0","v2.1.0","v2.0.0","v1.1.0","v1.0.0","v0.9.0-beta","v0.8.0-beta","v0.7.0-alpha","v0.6.2-alpha","v0.6.1-alpha","v0.6.0-alpha","v0.5.2-alpha","v0.5.1-alpha","v0.5.0-alpha","v0.4.0-alpha","v0.3.3-alpha","v0.3.2-alpha","v0.3.1-alpha","v0.3.0-alpha","v0.2.2-alpha","v0.2.1-alpha","v0.2.0-alpha","v0.1.2-alpha","v0.1.1-alpha","v0.1.0-alpha"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-62361.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N"}]}