Vulnerability · Published May 28, 2026 · Assigned by GitHub_M
CVE-2026-45288Marten has an SQL injection vulnerability in its full-text search regConfig parameter
Critical 9.8
In plain English
A critical-severity SQL injection in marten from JasperFx. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 32% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Marten is a .NET Transactional Document DB and Event Store on PostgreSQL. Prior to 8.36.1, Marten's full-text search APIs interpolated the user-supplied regConfig parameter directly into the generated SQL without parameterization or validation, making every code path that exposes regConfig to untrusted input a SQL injection sink. This vulnerability is fixed in 8.36.1.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| NuGet | marten | 8.37.0 | GHSA-vmw2-qwm8-x84c |
Affected products (as reported)
Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/JasperFx/marten/security/advisories/GHSA-vmw2-qwm8-x84c x_refsource_CONFIRM
- https://github.com/JasperFx/marten/pull/4343 x_refsource_MISC
- https://github.com/JasperFx/marten/commit/626249656829860b9c55895b5b6046b61a2a695f x_refsource_MISC