๐Ÿ” CVE Alert

CVE-2026-75513

CRITICAL 9.1

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

CVSS Score
9.1
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-89
Vendor jasperfx
Product marten
Published Sep 16, 2026
Stay Ahead of the Next One

Get instant alerts for jasperfx marten

Be the first to know when new critical vulnerabilities affecting jasperfx marten are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
Low

Affected Versions

JasperFx / marten
>= 7.0.0, < 9.13.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/JasperFx/marten/security/advisories/GHSA-rfx3-98h7-v3xp github.com: https://github.com/JasperFx/marten/pull/4911 github.com: https://github.com/JasperFx/marten/commit/61882d0424854cb48703f08bdb246894ac576bed github.com: https://github.com/JasperFx/marten/releases/tag/9.13.0