CVE-2026-75513
CRITICAL 9.1CVSS 3.1Marten's LINQ provider has SQL injection via unescaped string literals
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.
- Published
- 16 Sep 2026
- Last modified
- 9 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-89
- Also known as
- GHSA-rfx3-98h7-v3xp
- Sources
- NVDJSONOSV GHSA-rfx3-98h7-v3xpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | NuGet | Marten | >= 7.0.0, < 8.37.4 | 8.37.4 |
| OSV | NuGet | Marten | >= 9.0.0, < 9.13.0 | 9.13.0 |
References
- https://github.com/JasperFx/marten/commit/61882d0424854cb48703f08bdb246894ac576bed · WEB
- https://github.com/JasperFx/marten/pull/4911 · WEB
- https://github.com/JasperFx/marten/releases/tag/9.13.0 · WEB
- https://github.com/JasperFx/marten/security/advisories/GHSA-rfx3-98h7-v3xp · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-75513 · ADVISORY
- https://github.com/JasperFx/marten · PACKAGE
- https://github.com/JasperFx/marten/releases/tag/8.37.4 · WEB
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 16 Sep 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 Sep 2026)