{"id":"CVE-2026-75513","title":"Marten is a .NET Transactional Document DB and Event Store on PostgreSQL","summary":"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 SQ…","severity":"critical","cvss":9.1,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L","cwe":["CWE-89"],"vendor":"JasperFx","product":"marten","affected":["marten >= 7.0.0, < 9.13.0"],"patched":["Marten 9.13.0"],"published":"2026-09-16","updated":"2026-09-19","sourceUpdated":"2026-09-19T02:16:54.140","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-75513","references":[{"url":"https://github.com/JasperFx/marten/commit/61882d0424854cb48703f08bdb246894ac576bed","label":"security-advisories@github.com"},{"url":"https://github.com/JasperFx/marten/pull/4911","label":"security-advisories@github.com"},{"url":"https://github.com/JasperFx/marten/releases/tag/9.13.0","label":"security-advisories@github.com"},{"url":"https://github.com/JasperFx/marten/security/advisories/GHSA-rfx3-98h7-v3xp","label":"security-advisories@github.com"},{"url":"https://github.com/JasperFx/marten/security/advisories/GHSA-rfx3-98h7-v3xp","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-75513"},{"url":"https://github.com/advisories/GHSA-rfx3-98h7-v3xp"}],"tags":["nvd","cve.org","exploit-available","ghsa","nuget"],"exploitAvailable":true,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-19T01:54:54.693812Z"},"epss":0.00352,"epssPercentile":0.28786,"aliases":["GHSA-rfx3-98h7-v3xp"],"ecosystem":"nuget","ingestedAt":"2026-09-16T21:05:36.878Z","slug":"CVE-2026-75513","body":"## Overview\n\nMarten 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-75513)\n\nAffected packages:\n\n- `Marten >= 7.0.0, <= 9.12.0`\n\nPatched in:\n\n- `Marten 9.13.0`\n\nSource: https://github.com/advisories/GHSA-rfx3-98h7-v3xp","depth":"abyssal","depthScore":62,"depthScoreParts":{"impact":50.1,"likelihood":0.1,"exploitation":12,"ransomware":0},"changes":[{"seq":207571,"id":"CVE-2026-75513","ts":1789786627060,"field":"exploit_available","old":"false","new":"true"}]}