All vulnerabilities

PyPI

CVE-2026-71533

Mareforma: search_claims skips verify-on-read, serving forged rows

Severity
Medium
Published
19 Nov 2026
Last changed
19 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
0.3.8
Exploit chance
under 0.1% in the next 30 daysEPSS by FIRST, 24 Nov 2026
Weakness
Improper verification of a cryptographic signature (CWE-347)
Also known as
GHSA-m29v-3g7g-9c63
Sources
OSV.dev and GitHub

Description

search_claims never calls _row_verified_on_read. Its row loop applies only the PRELIMINARY-unenrolled filter, then appends the row. query_claims runs the same projection but additionally re-verifies REPLICATED/ESTABLISHED signatures on read (line 4023) and drops any row that fails, per the documented tamper guarantee in the comment block above it: a high-trust row whose signature does not verify is excluded from query results entirely.

So a tampered or forged high-trust row splits the two read paths. Any process with DB write access, or an attacker copying a genuine validation envelope onto a fresh row, can flip a row to ESTABLISHED. query() drops it; search() serves it at its persisted trust level. Verified in a runtime check against a forged ESTABLISHED row:

The docstring makes this worse: search_claims promises "the same projection as query_claims" and that the include_unverified filter "applies identically", so callers reasonably trust search results equally.

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
mareformaPyPI · osv:PyPI:mareforma
  • From 0.3.7 before 0.3.8

About mareforma

Weekly downloads (PyPI)
254PyPI Stats, 24 Nov 2026

References