# CVE-2026-75513: Marten: SQL injection in Marten's LINQ provider via unescaped string literals

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-16T20:46:17.189Z
- Modified: 2026-11-09T16:46:31.948Z
- Also known as: GHSA-rfx3-98h7-v3xp
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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/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.

(As written by CVE List.)

## Affected

- JasperFx marten: >= 7.0.0, < 9.13.0
- Marten (NuGet): from 7.0.0 before 8.37.4; from 9.0.0 before 9.13.0

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L`

## References

- <https://github.com/JasperFx/marten/security/advisories/GHSA-rfx3-98h7-v3xp> (exploit, web)
- <https://github.com/JasperFx/marten/pull/4911> (web)
- <https://github.com/JasperFx/marten/commit/61882d0424854cb48703f08bdb246894ac576bed> (web)
- <https://github.com/JasperFx/marten/releases/tag/9.13.0> (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)

## Sources

- CVE List: [CVE-2026-75513](https://www.cve.org/CVERecord?id=CVE-2026-75513), CVE Terms of Use, modified 2026-09-19
- GitHub Advisory Database: [GHSA-rfx3-98h7-v3xp](https://github.com/advisories/GHSA-rfx3-98h7-v3xp), CC-BY-4.0, modified 2026-11-09
- NVD: [CVE-2026-75513](https://nvd.nist.gov/vuln/detail/CVE-2026-75513), Public domain, modified 2026-09-19

---

Page: https://cve.day/CVE-2026-75513 · Whole record: https://cve.day/CVE-2026-75513.json · Rebuilt by cve.day 2026-11-25T22:59:39.134Z
