CVE-2026-62361: knadh listmonk SQL injection in subscriber export endpoint

CVE-2026-62361 · Severity: medium · CVSS 5.5 · Published 2026-07-15

listmonk, a self-hosted newsletter and mailing list manager, contains a security flaw in its subscriber export feature. An authorized user with specific query permissions can bypass security restrictions to access sensitive database information, such as administrator password hashes and SMTP credentials. This could lead to a full takeover of the mailing list system and exposure of private configuration data.

Technologies: github.com/knadh/listmonk (Go), Kailash Nadh Listmonk. Vendors: Go, Kailash Nadh.

Quick answers

Is CVE-2026-62361 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-62361 being exploited in the wild.
How severe is CVE-2026-62361?
Medium severity, with a CVSS score of 5.5, published 15 July 2026.
Which products and versions are affected?
github.com/knadh/listmonk (Go) < 1.1.1-0.20260619102436-c0a6525009a6, SEMVER:introduced=0,fixed=1.1.1-0.20260619102436-c0a6525009a6; Kailash Nadh Listmonk < 6.2.0.
Is there a fix for CVE-2026-62361?
Yes. github.com/knadh/listmonk (Go): upgrade to 1.1.1-0.20260619102436-c0a6525009a6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-62361 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-62361?
Check whether you run github.com/knadh/listmonk (Go) or Kailash Nadh Listmonk at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • github.com/knadh/listmonk (Go): upgrade to 1.1.1-0.20260619102436-c0a6525009a6 or later
    go get github.com/knadh/listmonk@v1.1.1-0.20260619102436-c0a6525009a6

Technical details

A SQL injection vulnerability exists in the GET /api/subscribers/export endpoint of listmonk. While the standard query endpoint implements a 'validateQueryTables' check to restrict access to sensitive tables, the export endpoint omits this validation, directly injecting user-controlled query parameters into a SQL template. An authenticated attacker with 'subscribers:sql_query' and 'subscribers:get_all' permissions can exploit this to read arbitrary tables (such as 'users' for bcrypt hashes and 'settings' for SMTP credentials) using error-based or time-based exfiltration. Additionally, because the export path does not use a read-only transaction, attackers can execute data-modifying PostgreSQL Common Table Expressions (CTEs). The issue is resolved in version 6.2.0.

Affected products

  • knadh listmonk < 6.2.0

Identifiers

  • CVE-2026-62361
  • GHSA-xgjr-7j9q-2h4r

Timeline

  • 2026-06-26: patched: Version 6.2.0 released
  • 2026-06-26: advisory: GitHub Security Advisory published
  • 2026-07-15: disclosed: CVE published to NVD

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.