CVE-2026-75513
Marten is a .NET Transactional Document DB and Event Store on …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/JasperFx/marten/commit/61882d0424854cb48703f08bdb246894ac576bed
- github.com/JasperFx/marten/pull/4911
- github.com/JasperFx/marten/releases/tag/9.13.0
- github.com/JasperFx/marten/security/advisories/GHSA-rfx3-98h7-v3xp
- nvd.nist.gov/vuln/detail/CVE-2026-75513
- github.com/advisories/GHSA-rfx3-98h7-v3xp
- github.com/JasperFx/marten/releases/tag/8.37.4
- nvd.nist.gov/vuln/detail/CVE-2026-75513
- cve.org/CVERecord?id=CVE-2026-75513
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.