All vulnerabilities

PyPI

CVE-2026-71500

Mareforma: invalidated claims still promote to REPLICATED

Severity
Medium
Published
19 Nov 2026
Last changed
19 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
0.3.8
Exploit chance
0.1% in the next 30 daysHigher than 1% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Improper check for unusual conditions (CWE-754)
Also known as
GHSA-rgg9-956j-3378
Sources
OSV.dev and GitHub

Description

_maybe_update_replicated_unlocked never checks t_invalid, so a claim that a signed contradiction verdict has marked invalid can still climb to REPLICATED through convergence detection, and it pulls an honest peer up with it.

Three gaps line up:

  • The new-claim short-circuit reads only status and asserter_keyid (core.py:1339-1352); an invalidated but still-open new claim passes.
  • The candidate-peer SELECT filters status = 'open', unresolved = 0, and transparency_logged = 1 but has no t_invalid predicate (core.py:1390-1410), so an invalidated existing claim qualifies as a convergence partner.
  • The promotion UPDATE gates only on status = 'open' (core.py:1422-1426), leaving a TOCTOU window even after the SELECT is fixed.

A signed contradiction verdict is meant to be terminal for the trust ladder: validate_claim refuses to promote a t_invalid claim to ESTABLISHED, and record_replication_verdict already gates its promotion UPDATE on t_invalid IS NULL.

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.0 before 0.3.8

About mareforma

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

References