CVE-2026-75513

GHSA-rfx3-98h7-v3xp · published 16 Sep 2026 · updated 9 Nov 2026

Marten: SQL injection in Marten's LINQ provider via unescaped string literals

9.1CriticalCVSS 9.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Marten 8.37.4 and Marten 9.13.0.

Marten is a .NET Transactional Document DB and Event Store on PostgreSQL. From version 7.0.0 until 9.13.0, several Marten LINQ and tenant-management paths interpolate runtime, potentially attacker-controlled strings into single-quoted SQL literals without escaping or parameterization. The primary confirmed vector is a dictionary indexer key used by Where filters in src/Marten/Linq/Members/Dictionaries/DictionaryItemMember.cs. Additional affected sinks include SelectParser.cs, DatabaseScopedTenantPartitions.cs, and DeleteAllForTenant.cs reached through IEventStore.DeleteProjectionProgressAsync, while DictionaryContainsKeyFilter.cs (Newtonsoft serializer only; System.Text.Json is not affected) handles ContainsKey calls. Events/Daemon/Internals/EventLoader.cs contains a related per-tenant partition-pruning literal that the advisory identifies as a defense-in-depth sink. A crafted single quote can escape the generated literal, enabling filter or multi-tenant authorization bypass and blind data exfiltration, and deployments that permit semicolon-batched Npgsql statements may also allow data modification. This issue is fixed in version 9.13.0.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
JasperFx>=7.0.0 <9.13.0
nuget: Marten>=7.0.0 <8.37.4, >=9.0.0 <9.13.08.37.4, 9.13.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-75513 severity on Zeptric[![CVE-2026-75513](https://zeptric.io/badge/cve/CVE-2026-75513.svg)](https://zeptric.io/cve/CVE-2026-75513)