Skip to content
Heist/ feed
Back to feed
Medium

go-f3 is Vulnerable to Cached Justification Verification Bypass

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-59941
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 21:04 UTC · Revision 1

Source evidence

go-f3 is Vulnerable to Cached Justification Verification Bypass

core-osv · Original source

Published 29 Sept 2025, 22:38 UTC

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.

osv:CVE-2025-59941
Complete source record
{
  "id": "22b93a3f9787db5e420fa826d96a9a727c35277b0e91ab9e847f6144e80108d0",
  "url": "https://osv.dev/vulnerability/CVE-2025-59941",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "go-f3 is Vulnerable to Cached Justification Verification Bypass",
    "summary": "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.",
    "evidence": "osv:CVE-2025-59941",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-59941",
      "aliases": [
        "CVE-2025-59941",
        "GHSA-7pq9-rf9p-wcrf",
        "GO-2025-3989"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/filecoin-project/go-f3",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "38f162023fd48c6f3904c3dab06a887f908190ca"
                },
                {
                  "fixed": "76fff18cf07b21baccf537024bdb2fb41f75f6e2"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:filecoin:go-f3:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.8.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "76fff18cf07b21baccf537024bdb2fb41f75f6e2"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.8.8",
            "v0.8.7",
            "v0.8.6",
            "v0.8.5",
            "v0.8.4",
            "v0.8.3",
            "v0.8.2",
            "v0.8.1",
            "v0.8.0",
            "v0.7.3",
            "v0.7.2",
            "v0.7.1",
            "v0.7.0",
            "v0.6.0",
            "v0.5.0",
            "v0.4.0",
            "v0.3.0",
            "v0.2.0",
            "v0.1.0",
            "v0.0.7",
            "v0.0.6",
            "v0.0.5",
            "v0.0.4",
            "v0.0.3",
            "v0.0.2",
            "v0.0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-59941.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:39.632532734Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59941.json",
        "https://github.com/filecoin-project/go-f3/security/advisories/GHSA-7pq9-rf9p-wcrf",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-59941",
        "https://github.com/filecoin-project/go-f3/commit/76fff18cf07b21baccf537024bdb2fb41f75f6e2#diff-e1f646cea41790e1642e4e649c9e3c526344736d67222201703e1c29c23e9625"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-305"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59941.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-59941",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 507008,
  "published_at": "2025-09-29T22:38:42.589+00:00"
}