CVE-2025-59941 go-f3 is Vulnerable to Cached Justification Verification Bypass

Medium 5.9 Published Updated

An attacker can bypass justification verification in go-f3 by reusing cached verification results across different message contexts.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-59941?

CVE-2025-59941 is a medium-severity vulnerability in filecoin-project go-f3, published on 29 Sep 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

go-f3 is a Golang implementation of Fast Finality for Filecoin (F3). In versions 0.8.8 and below, go-f3's justification verification caching mechanism has a vulnerability where verification results are cached without properly considering the context of the message. An attacker can bypass justification verification by submitting a valid message with a correct justification and then reusing the same cached justification in contexts where it would normally be invalid. This occurs because the cached verification does not properly validate the relationship between the justification and the specific message context it's being used with. This issue is fixed in version 0.8.9.

Weakness: CWE-305

Which versions are affected by CVE-2025-59941?

3 open source packages ship an affected version, including github.com/filecoin-project/go-f3. It affects 1 product.

PackageAffectedFixed in
github.com/filecoin-project/go-f3 GoAll versions0.8.9
github.com/filecoin-project/go-f3 GoAll versions0.8.9
github.com/filecoin-project/go-f3 GoAll versions0.8.9

Products include Filecoin Go-F3.

How do I fix CVE-2025-59941?

Upgrade github.com/filecoin-project/go-f3 to 0.8.9 or later.

Is CVE-2025-59941 being exploited?

There is no known exploitation of CVE-2025-59941 in the wild and no public exploit code.

Sources

Also known as GHSA-7pq9-rf9p-wcrf, GO-2025-3989.

Is CVE-2025-59941 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free