CVE-2026-45288
No CISA KEV listing is included in this saved record. Exploitation may still have occurred.
FIRST EPSS: 0.37 % · percentile 32.10 % · scored 23 Nov 2026.
Saved 23 Nov 2026 19:27:38 UTC · View this risk record (JSON)
No access to your tenant or devices. Every item links to its source. What this means
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 advisoryMarten 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 advisoryMarten 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## 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 advisoryCISA KEV lists vulnerabilities known to be exploited. FIRST EPSS estimates the likelihood of exploitation in the next 30 days. An unavailable score does not mean zero risk.
This view includes predictions for CVE identifiers explicitly listed in public NuGet advisories. Microsoft release pages have their own prediction coverage. Check source status for the scope and latest checks.
No CISA KEV listing is included in this saved record. Exploitation may still have occurred.
FIRST EPSS: 0.37 % · percentile 32.10 % · scored 23 Nov 2026.
Saved 23 Nov 2026 19:27:38 UTC · View this risk record (JSON)
Compare earlier KEV listings and EPSS scores. Advisory wording and affected versions have a separate history.
A prediction change is reported when EPSS rises from below 10% to 10% or higher. Every daily score change from the last 30 days stays in this history. Before that, it keeps KEV changes and moves between EPSS bands (0.1%, 1%, 5%, 10%, 20%, 50% and 90%).
CVE-2026-45288 · 23 Nov 2026 19:27:38 UTC
CVE-2026-45288 · 22 Nov 2026 18:25:39 UTC
CVE-2026-45288 · 21 Nov 2026 17:15:52 UTC
CVE-2026-45288 · 20 Nov 2026 15:48:10 UTC
CVE-2026-45288 · 19 Nov 2026 16:46:59 UTC
CVE-2026-45288 · 18 Nov 2026 15:46:44 UTC
CVE-2026-45288 · 17 Nov 2026 15:26:11 UTC
CVE-2026-45288 · 17 Nov 2026 02:39:16 UTC
CVE-2026-45288 · 15 Nov 2026 14:45:34 UTC
CVE-2026-45288 · 14 Nov 2026 16:37:01 UTC
CVE-2026-45288 · 13 Nov 2026 19:59:34 UTC
CVE-2026-45288 · 12 Nov 2026 18:18:51 UTC
CVE-2026-45288 · 10 Nov 2026 20:24:10 UTC
CVE-2026-45288 · 09 Nov 2026 21:04:24 UTC
CVE-2026-45288 · 08 Nov 2026 15:12:21 UTC
CVE-2026-45288 · 07 Nov 2026 16:07:52 UTC
CVE-2026-45288 · 06 Nov 2026 19:10:17 UTC
CVE-2026-45288 · 05 Nov 2026 22:49:22 UTC
CVE-2026-45288 · 05 Nov 2026 02:54:06 UTC
CVE-2026-45288 · 03 Nov 2026 16:59:18 UTC
CVE-2026-45288 · 02 Nov 2026 23:59:04 UTC
CVE-2026-45288 · 01 Nov 2026 23:58:58 UTC
CVE-2026-45288 · 01 Nov 2026 03:04:52 UTC
CVE-2026-45288 · 31 Oct 2026 01:52:30 UTC
CVE-2026-45288 · 29 Oct 2026 18:29:26 UTC
CVE-2026-45288 · 28 Oct 2026 19:55:37 UTC
CVE-2026-45288 · 27 Oct 2026 15:46:19 UTC
CVE-2026-45288 · 27 Oct 2026 00:23:05 UTC
See how the publisher's advisory changed over time. Each link opens the version saved at that time. The publisher's update date can differ from the date shown here.
Each link identifies one complete publisher record. History can include advisories that previously shared an identifier; an identifier removed by a publisher no longer establishes a current relationship. A historical link shows only that record and earlier saved versions. Failed checks and unchanged reads do not create new versions.
euvd · EUVD-2026-33022 · Published
euvd · EUVD-2026-33022 · Published
euvd · EUVD-2026-33022 · Published
euvd · EUVD-2026-33022 · Published
euvd · EUVD-2026-33022 · Published
euvd · EUVD-2026-33022 · Published
euvd · EUVD-2026-33022 · Published
euvd · EUVD-2026-33022 · Published
euvd · EUVD-2026-33022 · Published
euvd · EUVD-2026-33022 · Published
euvd · EUVD-2026-33022 · Published
euvd · EUVD-2026-33022 · Published
euvd · EUVD-2026-33022 · Published
euvd · EUVD-2026-33022 · Published
nvd · CVE-2026-45288 · Published
osv · GHSA-vmw2-qwm8-x84c · Published
cve-program · CVE-2026-45288 · Published