Read the docs
TI-2026-66646 Aliases GHSA-g27r-r6ph-vf5r

sequoia-git has broken hard revocation handling

Priority LOW 38CWE-299Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub.

Summary

Before `sq-git` checks if a commit can be authenticated, it first looks for hard revocations. Because parsing a policy is expensive and 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. An attacker could nevertheless exploit this flaw as follows. Consider Alice and Bob who maintain a project together. If Bob's certificate is compromised and Bob issues a hard revocation, Alice can add it to the project's signing policy. An attacker who has access to Bob's key can then create a merge request that strips the hard revocation. If Alice merges Bob's merge request, then the 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. Note: 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. Reported-by: Hassan Sheet

Why it matters now

Fix Fixed sequoia-git (crates.io): 0.6.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—sequoia-git (crates.io)before 0.6.00.6.0Patch availableGHSA-g27r-r6ph-vf5r
  • sequoia-git (crates.io) Vendor— Affected before 0.6.0 Fixed in 0.6.0 Patch available GHSA-g27r-r6ph-vf5r

Remediation

  • Fix · GHSA-g27r-r6ph-vf5r sequoia-git (crates.io) Fixed in 0.6.0 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-g27r-r6ph-vf5r

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences