{"id":"CVE-2026-142295","aliases":["EUVD-2026-141535","GHSA-w94q-53g3-jgw5"],"status":"published","title":"Mathesar 0.7.0 through 0.12.0 Unauthenticated Memory Exhaustion via functools.cache","description":"Mathesar 0.7.0 through 0.12.0 contains an unauthenticated memory exhaustion vulnerability because _get_publicly_shared_form_from_request in mathesar/auth.py caches HttpRequest objects indefinitely. Attackers can send repeated requests with large headers to /files/ download, thumbnail, load, or upload views, growing worker memory until the server process crashes.","severity":{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","level":"high","assessor":"cna","from":"cve","others":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna","from":"cve"},{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","from":"ghsa"}]},"epss":{"day":"2026-12-04","score":0.00596,"percentile":0.49951,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-401"],"published":"2026-12-02T16:48:59Z","modified":"2026-12-04T20:46:00Z","products":[{"vendor":"mathesar-foundation","product":"mathesar"}],"references":[{"url":"https://github.com/mathesar-foundation/mathesar/blob/0.12.0/mathesar/auth.py#L109-L138","tags":["technical-description","article"]},{"url":"https://github.com/mathesar-foundation/mathesar/blob/0.12.0/mathesar/views/download_link.py#L18-L66","tags":["technical-description","article"]},{"url":"https://www.vulncheck.com/advisories/mathesar-0.7.0-through-0.12.0-unauthenticated-memory-exhaustion-via-functools-cache","tags":["third-party-advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142295","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-w94q-53g3-jgw5"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142295.json","tags":["advisory"]},{"url":"https://github.com/mathesar-foundation/mathesar","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-142295","title":"Mathesar 0.7.0 through 0.12.0 Unauthenticated Memory Exhaustion via functools.cache","description":"Mathesar 0.7.0 through 0.12.0 contains an unauthenticated memory exhaustion vulnerability because _get_publicly_shared_form_from_request in mathesar/auth.py caches HttpRequest objects indefinitely. Attackers can send repeated requests with large headers to /files/ download, thumbnail, load, or upload views, growing worker memory until the server process crashes.","status":"published","published":"2026-12-02T16:48:59.576Z","modified":"2026-12-03T14:32:10.27Z","cvss":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","level":"high","assessor":"cna"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-401"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial","date":"2026-12-03"},"updated_at":"2026-12-03T14:43:25.378084Z"}],"euvd":[{"id":"EUVD-2026-141535","description":"Mathesar 0.7.0 through 0.12.0 contains an unauthenticated memory exhaustion vulnerability because _get_publicly_shared_form_from_request in mathesar/auth.py caches HttpRequest objects indefinitely. Attackers can send repeated requests with large headers to /files/ download, thumbnail, load, or upload views, growing worker memory until the server process crashes.","status":"published","published":"2026-12-02T16:48:59Z","modified":"2026-12-03T14:32:10Z","cvss":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","level":"high"}],"updated_at":"2026-12-02T21:27:23.327078Z"}],"ghsa":[{"id":"GHSA-w94q-53g3-jgw5","title":"Mathesar 0.7.0 through 0.12.0 contains an unauthenticated memory exhaustion vulnerability because...","description":"Mathesar 0.7.0 through 0.12.0 contains an unauthenticated memory exhaustion vulnerability because _get_publicly_shared_form_from_request in mathesar/auth.py caches HttpRequest objects indefinitely. Attackers can send repeated requests with large headers to /files/ download, thumbnail, load, or upload views, growing worker memory until the server process crashes.","status":"published","published":"2026-12-02T18:31:52Z","modified":"2026-12-02T18:31:52Z","cvss":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-401"],"updated_at":"2026-12-02T18:38:43.855074Z"}],"nvd":[{"id":"CVE-2026-142295","description":"Mathesar 0.7.0 through 0.12.0 contains an unauthenticated memory exhaustion vulnerability because _get_publicly_shared_form_from_request in mathesar/auth.py caches HttpRequest objects indefinitely. Attackers can send repeated requests with large headers to /files/ download, thumbnail, load, or upload views, growing worker memory until the server process crashes.","status":"published","published":"2026-12-02T17:17:58.723Z","modified":"2026-12-04T16:38:28.523Z","cvss":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-401"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial","date":"2026-12-03"},"updated_at":"2026-12-03T15:17:27.288122Z"}],"osv":[{"id":"CVE-2026-142295","title":"Mathesar 0.7.0 through 0.12.0 Unauthenticated Memory Exhaustion via functools.cache","description":"Mathesar 0.7.0 through 0.12.0 contains an unauthenticated memory exhaustion vulnerability because _get_publicly_shared_form_from_request in mathesar/auth.py caches HttpRequest objects indefinitely. Attackers can send repeated requests with large headers to /files/ download, thumbnail, load, or upload views, growing worker memory until the server process crashes.","status":"published","published":"2026-12-02T16:48:59.576Z","modified":"2026-12-04T20:46:00.773756689Z","cvss":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","level":"high"}],"cwes":["CWE-401"],"updated_at":"2026-12-03T21:09:37.793559Z"}]}}
