
Cloud Vulnerability DB
A community-led vulnerabilities database
GHSA-q54r-jf2p-rfr2 fixed Cache::protect_options(), which read security-relevant settings with the unfiltered gix_config::File::boolean() accessor, so a repository opened with reduced trust could switch off the .git path protections from its own .git/config.
Commit::verify_signature() has the same pattern for one key. In gix/src/commit/verify.rs every other setting that affects the verification result is read through a trust-aware accessor (trusted_path for the verifier program, the allowed-signers file and the revocation file), but gpg.minTrustLevel is read with the unfiltered Snapshot::string().
When a repository is opened with Trust::Reduced (ownership mismatch), its untrusted .git/config can therefore set gpg.minTrustLevel = undefined and override a stricter value from the user's trusted global or system configuration. Outcome::is_valid() then returns true for an OpenPGP or X.509 signature whose key the user's policy does not accept.
Checked on main at d1e064e3 (2026-11-10) and on the published gix 0.90.0 source, the release that fixed GHSA-q54r-jf2p-rfr2. This is a source-review finding: I did not build or run it. I rate it Low, for the reasons given under Impact.
gix/src/commit/verify.rs (main at d1e064e3, identical in gix 0.90.0):
let config = commit.repo.config_snapshot();
let minimum_trust = config
.string(Gpg::MIN_TRUST_LEVEL) // unfiltered: honors untrusted sections
.map(|value| Gpg::MIN_TRUST_LEVEL.try_into_trust_level(value))
.transpose()?
.unwrap_or_default();
...
let program = super::signature_program(&config, format) // config.trusted_path(...) (filtered)
...
.trusted_path(gpg::Ssh::ALLOWED_SIGNERS_FILE) // (filtered)
.trusted_path(gpg::Ssh::REVOCATION_FILE) // (filtered)Snapshot::string() is self.repo.config.resolved.string(key) (gix/src/config/snapshot/access.rs), which accepts values from every section regardless of Trust.
minimum_trust decides the result for OpenPGP and X.509 signatures (gix-object/src/signature/verify.rs):
outcome.valid =
output.status.success() && outcome.status == Status::Good && outcome.trust_level >= minimum_trust;Read the key through the trust-aware accessor, as the neighbouring settings do:
let minimum_trust = config
.plumbing()
.string_filter(Gpg::MIN_TRUST_LEVEL, &mut commit.repo.filter_config_section())
...Two reads in the same area use unfiltered accessors too. I do not think they are vulnerabilities on their own, but they follow the same pattern and may be worth aligning:
gix/src/commit/sign.rs: config.string(Gpg::FORMAT) (the signing key and the program are already filtered).gix/src/config/cache/access.rs, may_sign_commits(): self.resolved.boolean(Commit::GPG_SIGN). An untrusted repository can turn off commit.gpgSign that the user enabled globally, so commits created through gix in that repository are silently unsigned.I listed every config read in gix/src that does not go through a *_filter accessor or filter_config_section (about 100) and reviewed them one by one. Filter drivers, diff and merge drivers, remotes, credential helpers and program paths are filtered. gpg.minTrustLevel was the only unfiltered read I found that feeds a security decision.
Not executed (source review only). Scenario:
gpg.minTrustLevel = fully (or marginal / ultimate) in ~/.gitconfig, to accept commit signatures only from keys they trust..git/config contains:[gpg]
minTrustLevel = undefinedgix-based tool calls commit.verify_signature() and checks outcome.is_valid().
Expected with the victim's policy: false. Expected from the code as it is: true, because the repository-local value replaces the global one and trust_level >= minimum_trust holds for undefined.The untrusted repository configuration downgrades the signature trust policy that the user set in trusted configuration. An application that relies on Outcome::is_valid() accepts commits it should reject.
Limits, which is why I rate it Low:
undefined, so users who never raised gpg.minTrustLevel are not affected.minimum_trust, and the allowed-signers and revocation files are read with trusted_path.trusted_path).
Severity: CVSS 3.1 AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:N (2.2, Low). With the integrity impact scored High it would be 4.4. I am happy to defer to your rating, or to have this handled as plain hardening if you prefer.
Git itself applies repository configuration without a trust filter, so this is a deviation from gitoxide's own trust model, not from Git's behaviour.
CWE-807 (Reliance on Untrusted Inputs in a Security Decision), CWE-347 (Improper Verification of Cryptographic Signature).
I found no existing issue, pull request or advisory mentioning minTrustLevel.
Prepared with AI assistance.Source: NVD
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."