{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-75513","id":"CVE-2026-75513","title":"Marten: SQL injection in Marten's LINQ provider via unescaped string literals","description":"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/Dictiona","descriptionLong":"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":"2026-09-16T20:46:17.189Z","updated":"2026-10-28T02:31:03.184387667Z","reserved":"2026-08-17T20:49:21.599Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L","rating":"critical","source":"GitHub_M"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L","rating":"critical","source":"github.com"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L","rating":"critical","source":"OSV"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L","rating":"critical","source":"GitHub"}],"rating":"critical","products":["JasperFx marten"],"affectedProducts":[{"vendor":"JasperFx","product":"marten","defaultStatus":null,"versions":[{"version":">= 7.0.0, < 9.13.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"NuGet","name":"Marten","purl":"pkg:nuget/Marten","ranges":[">=7.0.0 <8.37.4",">=9.0.0 <9.13.0"],"fixed":["8.37.4","9.13.0"],"advisory":"GHSA-rfx3-98h7-v3xp"}],"cwes":["CWE-89"],"aliases":["GHSA-rfx3-98h7-v3xp"],"references":[{"url":"https://github.com/JasperFx/marten/security/advisories/GHSA-rfx3-98h7-v3xp","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/JasperFx/marten/pull/4911","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/JasperFx/marten/commit/61882d0424854cb48703f08bdb246894ac576bed","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/JasperFx/marten/releases/tag/9.13.0","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/75xxx/CVE-2026-75513.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-75513","tags":["advisory"]},{"url":"https://github.com/JasperFx/marten","tags":["package"]},{"url":"https://github.com/JasperFx/marten/releases/tag/8.37.4","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00468,"epssPercentile":0.41258,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-75513","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-75513","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-75513","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-rfx3-98h7-v3xp","ok":true,"note":"GHSA-rfx3-98h7-v3xp"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-75513","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}