GHSA-g27r-r6ph-vf5r: Sequoia git Sequoia-git Has Broken Hard Revocation Vulnerability
LOWGHSA-g27r-r6ph-vf5r is a LOW sequoia-git has broken hard revocation vulnerability (CWE-299: Improper Check for Certificate Revocation) affecting Sequoia git libraries in the crates.io ecosystem. The issue involves sequoia-git has broken hard revocation handling. Remediation is available by upgrading affected packages to version 0.6.0.
GHSA-g27r-r6ph-vf5r at a Glance
How to Fix GHSA-g27r-r6ph-vf5r
To remediate this vulnerability, upgrade all affected Sequoia git 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 sequoia-git to 0.6.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for sequoia-git
How to Check if You Are Affected
To determine whether your application is affected by GHSA-g27r-r6ph-vf5r, inspect your project dependencies for Sequoia git:
inspect dependencies for sequoia-git
Analyze the terminal output to locate any version of Sequoia git in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.6.0), 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-299: Improper Check for Certificate Revocation, where the product does not check or incorrectly checks the revocation status of a certificate, which may cause it to use a certificate that has been compromised. In Sequoia git, 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-g27r-r6ph-vf5r Affected Sequoia git Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
sequoia-git
|
crates.io |
< 0.6.0
|
0.6.0
|
References
Frequently Asked Questions
What is GHSA-g27r-r6ph-vf5r?
Which Sequoia git versions are affected?
What version fixes GHSA-g27r-r6ph-vf5r?
Is sequoia-git affected?
What CWE is associated with GHSA-g27r-r6ph-vf5r?
How can I check crates.io dependencies for GHSA-g27r-r6ph-vf5r?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-g27r-r6ph-vf5r",
"modified" : "2026-05-04T22:28:50Z",
"published" : "2026-05-04T22:28:50Z",
"aliases" : [ ],
"summary" : "sequoia-git has broken hard revocation handling",
"details" : "Before `sq-git` checks if a commit can be authenticated, it first looks for hard revocations. Because parsing a policy is expensive\nand a project's policy rarely changes, `sq-git` has an optimization to only check a policy if it hasn't checked it before. It does this by maintaining a set of policies that it had already seen keyed on the policy's hash. Unfortunately, due to a bug the hash was truncated to be 0 bytes and thus only hard revocations in the target commit were considered. Normally this is not a problem as hard revocations are not removed from the signing policy.\n\nAn attacker could nevertheless exploit this flaw as follows. Consider Alice and Bob who maintain a project together. If Bob's\ncertificate is compromised and Bob issues a hard revocation, Alice can add it to the project's signing policy. An attacker who has\naccess to Bob's key can then create a merge request that strips the hard revocation. If Alice merges Bob's merge request, then\nthe latest commit will not carry the hard revocation, and `sq-git` will not see the hard revocation when authenticating that commit or any following commits.\n\nNote: for this attack to be successful, Alice needs to be tricked into merging the malicious MR. If Alice is reviewing MRs, then she is likely to notice changes to the signing policy.\n\nReported-by: Hassan Sheet",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "sequoia-git"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.6.0"
} ]
} ]
} ],
"references" : [ {
"type" : "PACKAGE",
"url" : "https://gitlab.com/sequoia-pgp/sequoia-git"
}, {
"type" : "WEB",
"url" : "https://gitlab.com/sequoia-pgp/sequoia-git/-/commit/f9c9074bd80023456221f09c3c4ff19957ee9c58"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2026-0109.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-299" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-04T22:28:50Z",
"nvd_published_at" : null
}
}