Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

Marten has an SQL injection vulnerability in its full-text search regConfig parameter

CVSS 3.1 9.8 CRITICALEUVD CVSS 3.1 9.8 CVSS 3.1 · [email protected] · Secondary 9.8 CRITICALCVSS_V3 Publisher rating CRITICALFixed by Marten 8.37.0KEV status unknown

cve-program · CVE-2026-45288

Published

Marten is a .NET Transactional Document DB and Event Store on PostgreSQL. Prior to 8.36.1, Marten's full-text search APIs interpolated the user-supplied regConfig parameter directly into the generated SQL without parameterization or validation, making every code path that exposes regConfig to untrusted input a SQL injection sink. This vulnerability is fixed in 8.36.1.

Read the publisher's advisory

euvd · EUVD-2026-33022

Published

Marten is a .NET Transactional Document DB and Event Store on PostgreSQL. Prior to 8.36.1, Marten's full-text search APIs interpolated the user-supplied regConfig parameter directly into the generated SQL without parameterization or validation, making every code path that exposes regConfig to untrusted input a SQL injection sink. This vulnerability is fixed in 8.36.1.

Read the publisher's advisory

nvd · CVE-2026-45288

Published

Marten is a .NET Transactional Document DB and Event Store on PostgreSQL. Prior to 8.36.1, Marten's full-text search APIs interpolated the user-supplied regConfig parameter directly into the generated SQL without parameterization or validation, making every code path that exposes regConfig to untrusted input a SQL injection sink. This vulnerability is fixed in 8.36.1.

Read the publisher's advisory

osv · GHSA-vmw2-qwm8-x84c

Published

## Summary Marten's full-text search APIs interpolated the user-supplied `regConfig` parameter directly into the generated SQL without parameterization or validation, making every code path that exposes `regConfig` to untrusted input a SQL injection sink. ## Affected APIs - `IQuerySession.SearchAsync<T>(string searchTerm, string regConfig, ...)` - `IQuerySession.PlainTextSearchAsync<T>(...)` - `IQuerySession.PhraseSearchAsync<T>(...)` - `IQuerySession.WebStyleSearchAsync<T>(...)` - `IQuerySession.PrefixSearchAsync<T>(...)` - `IQueryable<T>.Where(x => x.Search(term, regConfig))` and the matching `PlainTextSearch` / `PhraseSearch` / `WebStyleSearch` / `PrefixSearch` extension methods ## Details In the affected versions, [`FullTextWhereFragment`](https://github.com/JasperFx/marten/blob/master/src/Marten/Linq/SqlGeneration/Filters/FullTextWhereFragment.cs) renders the WHERE-clause SQL by string interpolation: ```csharp private string Sql => $"to_tsvector('{_regConfig}'::regconfig, {_dataConfig}) @@ {_searchFunction}('{_regConfig}'::regconfig, ?)"; ``` `_regConfig` arrives unchanged from the public API surface above. Any value containing a single quote terminates the SQL literal and lets an attacker append arbitrary PostgreSQL. ### Confirmed exploit shapes (with `regConfig` set to attacker-controlled input) | Goal | Payload | | --- | --- | | Time-based blind | `english'::text); SELECT pg_sleep(5); --` | | Information disclosure | `english'; SELECT version(); --` | | DDL execution | `english'; DROP TABLE mt_doc_article; --` | All five overloads listed above produced SQL containing the verbatim payload. ## Impact - **Confidentiality**: an attacker can append arbitrary `SELECT` statements and exfiltrate database contents through error channels, response timing, or — if the application surfaces query results — directly. - **Integrity / Availability**: DDL, `UPDATE`, `DELETE`, and `pg_sleep`-style denial-of-service payloads succeed under the same vector. Concrete impact depends on the database role used by the Marten connection string. - **Precondition**: the calling application must forward attacker-controlled input into the `regConfig` parameter (e.g. a `?lang=` query string mapped to `regConfig`). Applications that hard-code `regConfig` to a compile-time constant are not exploitable. ## Patches Fixed in **Marten 8.36.1** (and forward) by [#4343](https://github.com/JasperFx/marten/pull/4343). `FullTextWhereFragment` now validates `regConfig` against `^[a-zA-Z_][a-zA-Z0-9_]*(\.[a-zA-Z_][a-zA-Z0-9_]*)?$` (a simple PostgreSQL identifier, optionally schema-qualified, capped at `NAMEDATALEN-1` per side) and throws `ArgumentException` for anything else. The default value (`"english"`), schema-qualified configs (`"pg_catalog.english"`), and the standard PostgreSQL text-search configurations all continue to work. ## Workarounds If users cannot upgrade immediately, do **one** of the following at the application boundary: 1. Hard-code `regConfig` to a compile-time constant (`"english"`, `"simple"`, …) and never accept it from request input. 2. Validate any externally-sourced `regConfig` value before passing it to Marten — e.g. against the same regex as the patch (`^[a-zA-Z_][a-zA-Z0-9_]*(\.[a-zA-Z_][a-zA-Z0-9_]*)?$`) or against an allowlist of PostgreSQL configurations the application actually uses. 3. Drop the `regConfig` argument from the call site so Marten falls back to the safe default. ## Resources - Patch PR: [JasperFx/marten#4343](https://github.com/JasperFx/marten/pull/4343) - Patched file: [`FullTextWhereFragment.cs`](https://github.com/JasperFx/marten/blob/master/src/Marten/Linq/SqlGeneration/Filters/FullTextWhereFragment.cs) - Regression tests: [`full_text_regconfig_sql_injection.cs`](https://github.com/JasperFx/marten/blob/master/src/LinqTests/Bugs/full_text_regconfig_sql_injection.cs) - CWE-89: <https://cwe.mitre.org/data/definitions/89.html> ## Credit Reported privately to the JasperFx team with a working proof of concept covering all five affected overloads.

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2026-45288

Published

marten

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "vendor": "JasperFx",
                    "product": "marten",
                    "versions": [
                        {
                            "version": "< 8.36.1",
                            "status": "affected"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

euvd · EUVD-2026-33022

Published

EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.

Original publisher date fields

datePublished: May 28, 2026, 8:20:11 PM

dateUpdated: May 30, 2026, 2:13:53 AM

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

nvd · CVE-2026-45288

Published

NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.

Source analysis status: Deferred

Weakness classifications: CWE-89

Original publisher date fields

published: 2026-05-28T21:16:31.220

lastModified: 2026-07-21T09:10:00.107

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GHSA-vmw2-qwm8-x84c

Published

Marten

NuGet

ECOSYSTEM · introduced 0 → fixed 8.37.0

341 versions listed as affected

0.5.0.8, 0.5.0.9, 0.5.1.34, 0.5.2.36, 0.5.3.38, 0.6.0.43, 0.6.1.46, 0.6.2.57, 0.6.3.67, 0.6.4.77, 0.6.5.78, 0.6.6.82, 0.7.0.85, 0.7.0.97, 0.7.1.103, 0.8.0.132, 0.8.10.355, 0.8.2.188, 0.8.3.238, 0.8.4.255, 0.8.5.274, 0.8.6.284, 0.8.7.297, 0.8.8.299, 0.8.9.322, 0.9.0.379, 0.9.1.401, 0.9.10.555, 0.9.11.556, 0.9.12.563, 0.9.2.423, 0.9.2.427, 0.9.3.458, 0.9.4.464, 0.9.5.473, 0.9.6.493, 0.9.6.498, 0.9.7.515, 0.9.7.517, 0.9.8.523, 0.9.9.534, 0.9.9.551, 1.0.0, 1.0.0-alpha-625, 1.0.0-alpha-639, 1.0.0-alpha-644, 1.0.0-alpha-663, 1.0.0-alpha-664, 1.0.0-alpha-666, 1.0.0-alpha-667, 1.0.0-alpha-668, 1.0.0-alpha-669, 1.0.0-alpha-701, 1.0.0-alpha-703, 1.0.0-alpha-706, 1.0.0-alpha-709, 1.0.0-alpha-710, 1.0.0-alpha-719, 1.0.1, 1.0.2, 1.0.3, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.3.0, 1.4.0, 1.4.1, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 2.0.0, 2.0.0-alpha-50651, 2.0.0-alpha-51133, 2.0.0-alpha-51614, 2.0.0-rc-50930, 2.0.0-rc-51247, 2.1.0, 2.10.0, 2.10.1, 2.10.2, 2.10.3, 2.2.0, 2.3.0, 2.3.1, 2.3.2, 2.4.0, 2.5.0, 2.6.0, 2.7.0, 2.7.1, 2.8.0, 2.8.1, 2.8.2, 2.9.0, 3.0.0, 3.0.0-alpha-1, 3.0.0-alpha-2, 3.0.1, 3.1.0, 3.10.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40.4, 7.40.5, 7.5.0, 7.6.0, 7.7.0, 7.8.0, 7.9.0, 8.0.0, 8.0.0-alpha-2, 8.0.0-alpha-3, 8.0.0-alpha-5, 8.0.0-alpha-6-, 8.0.0-beta-1, 8.0.0-beta-2, 8.0.0-rc-1, 8.0.0-rc-2, 8.0.1, 8.1.0, 8.1.2, 8.10.0, 8.10.1, 8.11.0, 8.12.0, 8.13.0, 8.13.1, 8.13.2, 8.13.3, 8.14.0, 8.15.0, 8.15.1, 8.15.2, 8.15.3, 8.15.4, 8.16.0, 8.16.1, 8.16.2, 8.16.3, 8.16.4, 8.17.0, 8.18.0, 8.18.1, 8.18.2, 8.18.3, 8.19.0, 8.2.0, 8.2.1, 8.20.0, 8.21.0, 8.22.0, 8.22.1, 8.22.2, 8.23.0, 8.24.0, 8.25.0, 8.26.0, 8.26.1, 8.26.2, 8.27.0, 8.28.0, 8.29.0, 8.29.1, 8.29.2, 8.29.3, 8.3.0, 8.3.1, 8.3.2, 8.3.3, 8.30.0, 8.30.1, 8.31.0, 8.32.0, 8.32.1, 8.33.0, 8.34.0, 8.34.1, 8.34.2, 8.35.0, 8.36.0, 8.4.0, 8.5.0, 8.6.0, 8.7.0, 8.8.0, 8.8.1, 8.8.2, 8.9.0, 8.9.0-channels-alpha-1, 8.9.0-channels-alpha-2

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 24 Nov 12:56 UTC · 271 of 275 readable · 268 fully read · 1 waiting for a rate limit · documentation 469/469 current