{"id":"EUVD-2026-33022","revision":null,"records":[{"revision":"1c9e658dea1a48d9a28e3eac8b488ada","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-45288","aliases":[],"title":"Marten has an SQL injection vulnerability in its full-text search regConfig parameter","description":"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.","state":0,"publishedAt":"2026-05-28T20:20:11.377+00:00","modifiedAt":"2026-05-30T02:13:53.945+00:00","affected":[{"ecosystem":"Vendor product","name":"marten","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"JasperFx\",\n                    \"product\": \"marten\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 8.36.1\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":"CRITICAL"}],"references":["https://github.com/JasperFx/marten/security/advisories/GHSA-vmw2-qwm8-x84c","https://github.com/JasperFx/marten/pull/4343","https://github.com/JasperFx/marten/commit/626249656829860b9c55895b5b6046b61a2a695f"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-45288","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-45288","identifiers":["CVE-2026-45288"]},"retained":false,"historicalAffected":[]},{"revision":"756bd4a61d534ae2ae689f1cab51a470","observedAt":"2026-11-23T20:27:37.186+00:00","statement":{"source":"euvd","id":"EUVD-2026-33022","aliases":["CVE-2026-45288","GHSA-vmw2-qwm8-x84c"],"title":"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 validat…","description":"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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":null}],"references":["https://github.com/JasperFx/marten/security/advisories/GHSA-vmw2-qwm8-x84c","https://github.com/JasperFx/marten/pull/4343","https://github.com/JasperFx/marten/commit/626249656829860b9c55895b5b6046b61a2a695f"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-33022","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"May 28, 2026, 8:20:11 PM","dateUpdated":"May 30, 2026, 2:13:53 AM"},"relatedAdvisories":[],"note":"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."},"key":"euvd:EUVD-2026-33022","identifiers":["EUVD-2026-33022","CVE-2026-45288","GHSA-vmw2-qwm8-x84c"]},"retained":false,"historicalAffected":[]},{"revision":"2c7e6431401f40daa73315dedd5d2af2","observedAt":"2026-10-25T10:17:33.838+00:00","statement":{"source":"nvd","id":"CVE-2026-45288","aliases":[],"title":"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 validat…","description":"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.","state":0,"publishedAt":"2026-05-28T21:16:31.22+00:00","modifiedAt":"2026-07-21T09:10:00.107+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":"CRITICAL"}],"references":["https://github.com/JasperFx/marten/commit/626249656829860b9c55895b5b6046b61a2a695f","https://github.com/JasperFx/marten/pull/4343","https://github.com/JasperFx/marten/security/advisories/GHSA-vmw2-qwm8-x84c"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-45288","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-89"],"productCriteria":[],"sourceDates":{"published":"2026-05-28T21:16:31.220","lastModified":"2026-07-21T09:10:00.107"},"relatedAdvisories":[],"note":"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."},"key":"nvd:CVE-2026-45288","identifiers":["CVE-2026-45288"]},"retained":false,"historicalAffected":[]},{"revision":"30f9923ac7c1424eb4f8d4b89e318a20","observedAt":"2026-10-23T16:01:25.029+00:00","statement":{"source":"osv","id":"GHSA-vmw2-qwm8-x84c","aliases":["CVE-2026-45288"],"title":"Marten has an injection vulnerability in its full-text search regConfig parameter","description":"## Summary\n\nMarten'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.\n\n## Affected APIs\n\n- `IQuerySession.SearchAsync<T>(string searchTerm, string regConfig, ...)`\n- `IQuerySession.PlainTextSearchAsync<T>(...)`\n- `IQuerySession.PhraseSearchAsync<T>(...)`\n- `IQuerySession.WebStyleSearchAsync<T>(...)`\n- `IQuerySession.PrefixSearchAsync<T>(...)`\n- `IQueryable<T>.Where(x => x.Search(term, regConfig))` and the matching `PlainTextSearch` / `PhraseSearch` / `WebStyleSearch` / `PrefixSearch` extension methods\n\n## Details\n\nIn 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:\n\n```csharp\nprivate string Sql =>\n    $\"to_tsvector('{_regConfig}'::regconfig, {_dataConfig}) @@ {_searchFunction}('{_regConfig}'::regconfig, ?)\";\n```\n\n`_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.\n\n### Confirmed exploit shapes (with `regConfig` set to attacker-controlled input)\n\n| Goal | Payload |\n| --- | --- |\n| Time-based blind | `english'::text); SELECT pg_sleep(5); --` |\n| Information disclosure | `english'; SELECT version(); --` |\n| DDL execution | `english'; DROP TABLE mt_doc_article; --` |\n\nAll five overloads listed above produced SQL containing the verbatim payload.\n\n## Impact\n\n- **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.\n- **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.\n- **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.\n\n## Patches\n\nFixed in **Marten 8.36.1** (and forward) by [#4343](https://github.com/JasperFx/marten/pull/4343).\n\n`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.\n\n## Workarounds\n\nIf users cannot upgrade immediately, do **one** of the following at the application boundary:\n\n1. Hard-code `regConfig` to a compile-time constant (`\"english\"`, `\"simple\"`, …) and never accept it from request input.\n2. 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.\n3. Drop the `regConfig` argument from the call site so Marten falls back to the safe default.\n\n## Resources\n\n- Patch PR: [JasperFx/marten#4343](https://github.com/JasperFx/marten/pull/4343)\n- Patched file: [`FullTextWhereFragment.cs`](https://github.com/JasperFx/marten/blob/master/src/Marten/Linq/SqlGeneration/Filters/FullTextWhereFragment.cs)\n- Regression tests: [`full_text_regconfig_sql_injection.cs`](https://github.com/JasperFx/marten/blob/master/src/LinqTests/Bugs/full_text_regconfig_sql_injection.cs)\n- CWE-89: <https://cwe.mitre.org/data/definitions/89.html>\n\n## Credit\n\nReported privately to the JasperFx team with a working proof of concept covering all five affected overloads.","state":0,"publishedAt":"2026-05-14T20:46:26+00:00","modifiedAt":"2026-06-09T10:30:13.5915667+00:00","affected":[{"ecosystem":"NuGet","name":"Marten","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"8.37.0"}]}],"versions":["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.0","3.11.0","3.12.0","3.12.1","3.12.2","3.12.3","3.12.4","3.13.0","3.13.1","3.13.2","3.13.3","3.13.4","3.13.5","3.14.0","3.14.1","3.14.2","3.14.3","3.14.4","3.2.0","3.3.0","3.4.0","3.5.0","3.6.0","3.6.1","3.6.2","3.7.0","3.7.1","3.8.0","3.8.1","3.9.0","4.0.0","4.0.0-alpha","4.0.1","4.0.2","4.0.3","4.0.4","4.1.0","4.2.0","4.3.0","4.3.1","5.0.0","5.1.0","5.10.0","5.10.1","5.11.0","5.2.0","5.3.0","5.3.1","5.4.0","5.5.0","5.5.1","5.5.2","5.6.0","5.7.0","5.8.0","5.9.0","6.0.3","6.0.4","6.0.5","6.1.0","6.2.0","6.3.0","6.4.0","6.4.1","6.4.2","7.0.0","7.1.0","7.1.1","7.10.0","7.10.1","7.11.0","7.12.0","7.13.0","7.13.1","7.14.0","7.15.0","7.16.0","7.17.0","7.17.1","7.18.0","7.19.0","7.19.1","7.2.0","7.20.0","7.20.1","7.20.2","7.21.0","7.21.1","7.22.0","7.23.0","7.23.1","7.24.0","7.25.0","7.25.1","7.25.2","7.26.0","7.26.1","7.26.2","7.26.3","7.26.4","7.26.5","7.26.6","7.27.0","7.28.0","7.28.1","7.28.2","7.29.0","7.3.0","7.3.1","7.30.0","7.30.1","7.30.2","7.30.3","7.31.0","7.31.1","7.31.2","7.31.3","7.32.0","7.33.0","7.33.1","7.33.2","7.33.3","7.34.0","7.34.1","7.35.0","7.35.1","7.35.2","7.35.3","7.36.0","7.37.0","7.37.1","7.37.2","7.37.3","7.38.0","7.38.1","7.39.0","7.39.1","7.39.2","7.39.3","7.39.5","7.39.6","7.4.0","7.40.0","7.40.1","7.40.2","7.40.3","7.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"],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://github.com/JasperFx/marten/security/advisories/GHSA-vmw2-qwm8-x84c","https://nvd.nist.gov/vuln/detail/CVE-2026-45288","https://github.com/JasperFx/marten/pull/4343","https://github.com/JasperFx/marten/commit/626249656829860b9c55895b5b6046b61a2a695f","https://github.com/JasperFx/marten"],"sourceUrl":"https://github.com/advisories/GHSA-vmw2-qwm8-x84c","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-vmw2-qwm8-x84c","identifiers":["GHSA-vmw2-qwm8-x84c","CVE-2026-45288"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-24T12:25:34.5336315+00:00","complete":true,"records":1792,"lastAttemptAt":"2026-11-24T12:25:34.5336315+00:00","lastSuccessAt":"2026-11-24T12:25:34.7050132+00:00","error":null,"lastVerifiedAt":"2026-11-24T12:25:34.7050135+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-f6e4a7f93ed9acd6fcb1f804a4567f7b9b16730ac126110af8d6d24176317946-2ae43d33679e7db56ab1b459a4a26f489723a98eec44cb48e7b9bc15fd8c4513","complete":true,"records":431119,"lastAttemptAt":"2026-11-24T12:25:34.0435863+00:00","lastSuccessAt":"2026-11-24T12:25:33.8929077+00:00","error":null,"lastVerifiedAt":"2026-11-24T12:25:34.0435863+00:00","snapshotPublishedAt":"2026-11-24T11:31:46+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-0041dd74f0f74a56936efb9a3230e9b6","complete":false,"records":13935,"lastAttemptAt":"2026-11-24T12:35:26.4116826+00:00","lastSuccessAt":"2026-11-24T12:35:26.406+00:00","error":"326 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-24T12:35:26.406+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13515,"expectedIdentifiers":13982,"failedIdentifiers":326},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-24T12:25:34.5336315+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-24T12:25:34.5336315+00:00","lastSuccessAt":"2026-11-24T12:25:34.7058109+00:00","error":null,"lastVerifiedAt":"2026-11-24T12:25:34.7058137+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-af8ced7ee5fc4e4d8e650974b0ea48bf","complete":false,"records":13947,"lastAttemptAt":"2026-11-24T12:26:14.9732632+00:00","lastSuccessAt":"2026-11-24T12:26:14.959+00:00","error":null,"lastVerifiedAt":"2026-11-24T12:26:14.959+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13482,"expectedIdentifiers":13982,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-c86437892ddabdeaf17409463a17578b1e71dd185d64061100dd57629858f6d6","complete":true,"records":10074,"lastAttemptAt":"2026-11-24T12:25:34.3950091+00:00","lastSuccessAt":"2026-11-23T22:27:19.6557603+00:00","error":null,"lastVerifiedAt":"2026-11-24T12:25:34.3950091+00:00","snapshotPublishedAt":"2026-11-23T21:33:52+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-24T12:25:34.1932135+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-24T12:25:34.1932135+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-3afd4dd07a6bf352a6a53c4438150c464a2527017b95ca94804134ea15f1eba9","complete":true,"records":3220,"lastAttemptAt":"2026-11-24T12:25:34.4958379+00:00","lastSuccessAt":"2026-11-24T10:25:37.8779609+00:00","error":null,"lastVerifiedAt":"2026-11-24T12:25:34.4958379+00:00","snapshotPublishedAt":"2026-11-24T09:33:40+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-b3f815f4b80e6ee7009a469e05600427b49c4c540d96b9bae57af39cb7a4c7df","complete":true,"records":232959,"lastAttemptAt":"2026-11-24T12:25:34.2909692+00:00","lastSuccessAt":"2026-11-24T08:27:06.9384925+00:00","error":null,"lastVerifiedAt":"2026-11-24T12:25:34.2909692+00:00","snapshotPublishedAt":"2026-11-24T07:33:55+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}