{
  "id": "CVE-2026-75513",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-75513",
  "published_at": "2026-09-16T20:46:17.189Z",
  "title": "Marten: SQL injection in Marten's LINQ provider via unescaped string literals",
  "vendor": "JasperFx",
  "product": "marten",
  "cvss": {
    "score": 9.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-89",
  "cvss_by_source": {
    "cna": 9.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "JasperFx",
        "product": "marten",
        "ranges": [
          "\u003e= 7.0.0, \u003c 9.13.0"
        ],
        "fixed_in": [
          "9.13.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade marten to 9.13.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/JasperFx/marten/security/advisories/GHSA-rfx3-98h7-v3xp"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/JasperFx/marten/pull/4911"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/JasperFx/marten/commit/61882d0424854cb48703f08bdb246894ac576bed"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/JasperFx/marten/releases/tag/9.13.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
