GHSA-c32p-wcqj-j677: Github.com/cometbft/cometbft CometBFT Has Inconsistencies Between How Vulnerability
HIGHGHSA-c32p-wcqj-j677 is a HIGH cometbft has inconsistencies between how vulnerability (CWE-703: Improper Check or Handling of Exceptional Conditions) affecting Github.com/cometbft/cometbft libraries in the Go ecosystem. The issue involves cometbft has inconsistencies between how commit signatures are verified and how block time is derived. Remediation is available by upgrading affected packages to version 0.38.21, 0.37.18.
GHSA-c32p-wcqj-j677 at a Glance
How to Fix GHSA-c32p-wcqj-j677
To remediate this vulnerability, upgrade all affected Github.com/cometbft/cometbft dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/cometbft/cometbft to 0.38.21
Upgrade github.com/cometbft/cometbft to 0.37.18
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/cometbft/cometbft
How to Check if You Are Affected
To determine whether your application is affected by GHSA-c32p-wcqj-j677, inspect your project dependencies for Github.com/cometbft/cometbft:
inspect dependencies for github.com/cometbft/cometbft
Analyze the terminal output to locate any version of Github.com/cometbft/cometbft in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.38.21), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-703: Improper Check or Handling of Exceptional Conditions, where the product does not properly anticipate or handle exceptional conditions that rarely occur during normal operation of the product. In Github.com/cometbft/cometbft, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-c32p-wcqj-j677 Affected Github.com/cometbft/cometbft Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/cometbft/cometbft
|
Go |
≥ 0.38.0-alpha.1
< 0.38.21
|
0.38.21
|
|
github.com/cometbft/cometbft
|
Go |
< 0.37.18
|
0.37.18
|
References
Frequently Asked Questions
What is GHSA-c32p-wcqj-j677?
Which Github.com/cometbft/cometbft versions are affected?
What version fixes GHSA-c32p-wcqj-j677?
Is github.com/cometbft/cometbft affected?
What CWE is associated with GHSA-c32p-wcqj-j677?
How can I check Go dependencies for GHSA-c32p-wcqj-j677?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-c32p-wcqj-j677",
"modified" : "2026-02-27T21:37:55Z",
"published" : "2026-01-23T16:56:23Z",
"aliases" : [ ],
"summary" : "CometBFT has inconsistencies between how commit signatures are verified and how block time is derived",
"details" : "# CSA-2026-001: Tachyon\n\n## Description\n\n**Name:** CSA-2026-001: Tachyon\n\n**Criticality:** Critical (Catastrophic Impact; Possible Likelihood per [ACMv1.2](https://github.com/interchainio/security/blob/main/resources/CLASSIFICATION_MATRIX.md))\n\n**Affected versions:** All versions of CometBFT\n\n**Affected users:** Validators and protocols relying on block timestamps\n\n## Description\n\nA consensus-level vulnerability was discovered in CometBFT's \"BFT Time\" implementation due to an inconsistency between how commit signatures are verified and how block time is derived.\n\nThis breaks a core BFT Time guarantee: \"A faulty process cannot arbitrarily increase the Time value.\"\n\n## Impact\n\nDownstream impact on chains affects any module, smart contract, or system that relies on the block timestamp.\n\n## Patches\n\nThe new CometBFT releases [v0.38.21](https://github.com/cometbft/cometbft/releases/tag/v0.38.21) and [v0.37.18](https://github.com/cometbft/cometbft/releases/tag/v0.37.18) fix this issue. The `main` unreleased branch is also patched.\n\n## Workarounds\n\nThere are no effective workarounds for this vulnerability. Upgrading to patched versions is required.\n\n## Timeline\n\n- January 8, 2026, 5:27PM UTC: Issue reported to Cosmos Bug Bounty Program\n- January 9, 2026, 4:55AM UTC: Issue triaged and validated by core team\n- January 12, 2026, 10:25PM UTC: Core team completes patch for the issue\n- January 13, 2026 4:41PM UTC: Pre-notification delivered to ecosystem partners\n- January 23, 2026, 3:00PM UTC: Patch made available\n\n## Credits\n\nThis issue was reported to the Cosmos Bug Bounty Program on HackerOne. Credit to SEAL 911 and [QED Audit](https://x.com/QED_Audit) for the discovery and help with the patch.\n\nIf you believe you have found a bug in the Cosmos Stack or would like to contribute to the program by reporting a bug, please see https://hackerone.com/cosmos.\n\nIf you have questions about Cosmos security efforts, please reach out to our official communication channel at security@cosmoslabs.io.\n\nA Github Security Advisory for this issue is available in the CometBFT repository. For more information about CometBFT, see https://docs.cometbft.com/.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/cometbft/cometbft"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.38.0-alpha.1"
}, {
"fixed" : "0.38.21"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.38.20"
}
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/cometbft/cometbft"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.37.18"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.37.17"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/cometbft/cometbft/security/advisories/GHSA-c32p-wcqj-j677"
}, {
"type" : "WEB",
"url" : "https://github.com/cometbft/cometbft/commit/bf8274fcdbcab2bc652660ae627196a90a6efb97"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/cometbft/cometbft"
}, {
"type" : "WEB",
"url" : "https://github.com/cometbft/cometbft/releases/tag/v0.37.18"
}, {
"type" : "WEB",
"url" : "https://github.com/cometbft/cometbft/releases/tag/v0.38.21"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/vuln/GO-2026-4361"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-703" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-01-23T16:56:23Z",
"nvd_published_at" : null
}
}