CVE-2026-45288 Marten has an SQL injection vulnerability in its full-text search regConfig parameter

Critical 9.8 Published Updated

Attackers can execute arbitrary SQL commands via the regConfig parameter in Marten's full-text search APIs, potentially reading or modifying database contents.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-45288?

CVE-2026-45288 is a critical SQL injection vulnerability in JasperFx marten, published on 28 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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.

Weakness: CWE-89

Which versions are affected by CVE-2026-45288?

2 open source packages ship an affected version, including Marten.

PackageAffectedFixed in
Marten NuGetAll versions8.37.0
Marten NuGetAll versions8.37.0

How do I fix CVE-2026-45288?

Upgrade Marten to 8.37.0 or later.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2026-45288 being exploited?

There is no known exploitation of CVE-2026-45288 in the wild and no public exploit code.

Sources

Also known as GHSA-vmw2-qwm8-x84c.

Is CVE-2026-45288 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free