{"id":"CVE-2026-62361","state":"PUBLISHED","title":"listmonk: SQL Injection in `/api/subscribers/export` bypasses table access control, leaking admin password hashes and SMTP credentials","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.","publishedAt":"2026-07-15T20:56:45.832Z","updatedAt":"2026-07-16T15:12:24.544Z","severity":{"score":5.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["knadh listmonk"],"affected":[{"vendor":"knadh","product":"listmonk","versions":[{"version":"< 6.2.0","status":"affected"}]}],"references":["https://github.com/knadh/listmonk/security/advisories/GHSA-xgjr-7j9q-2h4r","https://github.com/knadh/listmonk/commit/c0a6525009a65265230185f16e8674dcc83aa024","https://github.com/knadh/listmonk/releases/tag/v6.2.0"],"weaknesses":["CWE-89"],"ingestedAt":"2026-10-29T20:12:32.778Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/62xxx/CVE-2026-62361.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-62361","state":"PUBLISHED","datePublished":"2026-07-15T20:56:45.832Z","dateUpdated":"2026-07-16T15:12:24.544Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-13T22:04:59.677Z"},"containers":{"cna":{"title":"listmonk: SQL Injection in `/api/subscribers/export` bypasses table access control, leaking admin password hashes and SMTP credentials","descriptions":[{"lang":"en","value":"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":[{"vendor":"knadh","product":"listmonk","versions":[{"version":"< 6.2.0","status":"affected"}]}],"references":[{"url":"https://github.com/knadh/listmonk/security/advisories/GHSA-xgjr-7j9q-2h4r","name":"https://github.com/knadh/listmonk/security/advisories/GHSA-xgjr-7j9q-2h4r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/knadh/listmonk/commit/c0a6525009a65265230185f16e8674dcc83aa024","name":"https://github.com/knadh/listmonk/commit/c0a6525009a65265230185f16e8674dcc83aa024","tags":["x_refsource_MISC"]},{"url":"https://github.com/knadh/listmonk/releases/tag/v6.2.0","name":"https://github.com/knadh/listmonk/releases/tag/v6.2.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-89","lang":"en","description":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-15T20:56:45.832Z"},"source":{"advisory":"GHSA-xgjr-7j9q-2h4r","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/knadh/listmonk/security/advisories/GHSA-xgjr-7j9q-2h4r","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-16T14:49:09.062685Z","id":"CVE-2026-62361","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-16T15:12:24.544Z"}}]}}}