Skip to content
Medium 6.9

Mareforma: transparency_logged trusts the unsigned rekor block

CVE-2026-71534 First seen on SecPulse

Affected packages

PackageAffected → Fixed
mareformamareforma —
PyPImareforma
≥ 0.3.0, < 0.3.8→ 0.3.8
pipmareforma
< 0.3.8→ 0.3.8
Original description The description as published by the source.

What's wrong

During restore, transparency_logged is recomputed as 1 if (toml_logged is not False and bundle_has_rekor) else 0, where bundle_has_rekor comes only from a rekor.uuid field inside signature_bundle. That derivation is wrong in both directions.

First, the rekor block is metadata attached after signing (attach_rekor_entry in mareforma/signing/rekor.py leaves the payload and signatures untouched), so it is not covered by the Ed25519 signature. A hand-edited claims.toml can add "rekor": {"uuid": "x"} to any claim's bundle and forge the "publicly witnessed by Rekor" state. The claim signature still verifies, and restore never cross-checks the block against [rekor_inclusions] or the log. Tampering with claims.toml is the exact threat model restore defends against; _verify_claim_signatures_on_restore checks only payload and signatures.

Second, a signed claim in a graph that never used Rekor is written with transparency_logged=1 (the column default when Rekor is disabled) but restores as 0 because its bundle has no rekor block. The convergence gate requires transparency_logged = 1, so post-restore peers can no longer converge to REPLICATED. With no rekor_url configured, refresh_unsigned() is a no-op and the flag stays 0 forever. Observed on the honest path: signed non-Rekor claim restores from transparency_logged=1 to 0, and a subsequent peer stays at PRELIMINARY instead of converging.

Severity and impact

High. An attacker w…

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details