🛡️ GHSA-g27r-r6ph-vf5r — sequoia-git

🟢 CVSS 2.0 — Low ✅ No Known Exploit CWE-299 OSV
2.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

sequoia-git has broken hard revocation handling

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

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is high, an attacker needs administrative privileges on the target. A user must actively cooperate. Rated impact: confidentiality none, integrity low, availability none.

Weakness class

GHSA-g27r-r6ph-vf5r is classified as CWE-299: Improper Check for Certificate Revocation. 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.

Affected software

GHSA-g27r-r6ph-vf5r is recorded against 1 package.

  • sequoia-git

Timeline and source

Published on 4 May 2026 and last revised on 6 May 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

gitlab.com (Package)
gitlab.com (Web)
rustsec.org (Web)

Details

Severity LOW
CVSS Score 2.0
CVSS Vector 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
CWE CWE-299
Public Exploit ✅ No
Source OSV
Published 2026-05-04
Updated 2026-08-20
Modified 2026-05-06
Fix URL N/A

Affected Packages

Software From version Fixed in
sequoia-git

Similar Threats

Free Vulnerability Check

Is your site affected by GHSA-g27r-r6ph-vf5r?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against GHSA-g27r-r6ph-vf5r and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesGitHub AdvisoryGitHub Advisory Undated