CVE-2026-40034
gitoxide - Command Injection via Partial .gitmodules Override in gix-submodule
gix-submodule before 0.29.0 (gitoxide before 0.5.21, gix before 0.84.0) incorrectly validates the update field in .gitmodules, allowing attackers to bypass the CommandForbiddenInModulesConfiguration guard when a submodule has been initialized with only partial configuration in .git/config. An attacker can inject arbitrary shell commands via the update field in .gitmodules that will be executed when Submodule::update() is called on a previously-initialized submodule, enabling remote code execution.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Passive
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used 7.3
gitoxide - Command Injection via Partial .gitmodules Override in gix-submodule
gix-submodule before 0.29.0 (gitoxide before 0.5.21, gix before 0.84.0) incorrectly validates the update field in .gitmodules, allowing attackers to bypass the CommandForbiddenInModulesConfiguration guard when a submodule has been initialized with only partial configuration in .git/config. An attacker can inject arbitrary shell commands via the update field in .gitmodules that will be executed when Submodule::update() is called on a previously-initialized submodule, enabling remote code execution.
- Record
CVE-2026-40034- CVSS 4.0
- 7.3 High
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-77
- Updated
- 2026-11-08
EUVDEUVD-2026-31831 7.3
gix-submodule before 0.29.0 (gitoxide before 0.5.21, gix before 0.84.0) incorrectly validates the update field in .gitmodules, allowing attackers to bypass the CommandForbiddenInModulesConfiguration guard when a submodule has been initialized with only partial configuration in .git/config. An attacker can inject arbitrary shell commands via the update field in .gitmodules that will be executed when Submodule::update() is called on a previously-initialized submodule, enabling remote code execution.
- Record
EUVD-2026-31831- CVSS 4.0
- 7.3 High
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - Updated
- 2026-11-08
GitHub AdvisoriesGHSA-f26g-jm89-4g65 8.5
gitoxide: CommandForbiddenInModulesConfiguration Bypass in gix_submodule::File::update() Enables Arbitrary Command Execution via .gitmodules
Summary
gix_submodule::File::update() is the API that gates whether an attacker-supplied .gitmodules file may set update = !<shell command>. The function is designed to return Err(CommandForbiddenInModulesConfiguration) unless the !command value came from a trusted local source (.git/config). Git CVE CVE-2019-19604 illustrates why this check is necessary.
However, the guard is implemented incorrectly: it checks whether any section with the same submodule name exists from a non-.gitmodules source; it does not verify that the update value came from that section.
Once a submodule has been initialized (any workflow that writes submodule.<name>.url to .git/config), and the attacker subsequently adds update = !cmd to .gitmodules, the guard passes while the command value falls through to the attacker-controlled file.
On an identical repository state, git submodule update aborts with fatal: invalid value for 'submodule.sub.update', while gix::Submodule::update() returns Ok(Some(Update::Command("touch /tmp/pwned"))).
The vulnerable code was introduced in https://github.com/GitoxideLabs/gitoxide/commit/6a2e6a436f76c8bbf2487f9967413a51356667a0.
Details
The vulnerable method is gix_submodule::File::update: https://github.com/GitoxideLabs/gitoxide/blob/main/gix-submodule/src/access.rs#L168-L193:
pub fn update(&self, name: &BStr) -> Result<Option<Update>, config::update::Error> {
let value: Update = match self.config.string(format!("submodule.{name}.update")) {
// ^^^^^^^^^^^^^^^^^^
// [A] Reads the value. gix_config::File::string() iterates sections
// newest-to-oldest; if the override section lacks `update`, it
// falls through to .gitmodules and returns the attacker value.
//
// https://github.com/GitoxideLabs/gitoxide/blob/main/gix-config/src/file/access/raw.rs#L76
Some(v) => v.as_ref().try_into().map_err(|()| config::update::Error::Invalid {
submodule: name.to_owned(),
actual: v.into_owned(),
})?,
None => return Ok(None),
};
if let Update::Command(cmd) = &value {
let ours = self.config.meta();
let has_value_from_foreign_section = self
.config
.sections_by_name("submodule")
.into_iter()
.flatten()
.any(|s| s.header().subsection_name() == Some(name) && !std::ptr::eq(s.meta(), ours));
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
// [B] Checks only that SOME section with this name exists from a
// non-.gitmodules source. Does NOT check where [A]'s value
// came from.
if !has_value_from_foreign_section {
return Err(config::update::Error::CommandForbiddenInModulesConfiguration { ... });
}
}
Ok(Some(value))
}
PoC
git submodule init copies submodule.$name.url and writes active = true into .git/config (init_submodule(), builtin/submodule--helper.c:438-517). It does not unconditionally copy update.
Since CVE-2019-19604, git rejects .gitmodules files that contain update = !cmd at parse time. However, init is a one-time operation - once the .git/config section exists, subsequent changes to .gitmodules are not re-inited.
So, the attack sequence is:
- Attacker's repo ships a benign
.gitmodules(noupdatekey). - Victim clones and runs
git submodule init->.git/configcontains:[submodule "sub"] active = true url = /tmp/sub-origin - Attacker pushes a new commit adding
update = !cmdto.gitmodules. - Victim runs
git pull->.gitmodulesnow…
- Record
GHSA-f26g-jm89-4g65- CVSS 4.0
- 8.5 High
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-77, CWE-183, CWE-349, CWE-501
- Updated
- 2026-11-02
GitHub AdvisoriesGHSA-m4f9-c775-wg56 8.5
Duplicate Advisory: gitoxide: CommandForbiddenInModulesConfiguration Bypass in gix_submodule::File::update() Enables Arbitrary Command Execution via .gitmodules
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-f26g-jm89-4g65. This link is maintained to preserve external references.
Original Description
gix-submodule before 0.82.0 incorrectly validates the update field in .gitmodules, allowing attackers to bypass the CommandForbiddenInModulesConfiguration guard when a submodule has been initialized with only partial configuration in .git/config. An attacker can inject arbitrary shell commands via the update field in .gitmodules that will be executed when Submodule::update() is called on a previously-initialized submodule, enabling remote code execution.
- Record
GHSA-m4f9-c775-wg56- CVSS 4.0
- 8.5 High
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-77
- Updated
- 2026-11-02
NVD 8.5
gix-submodule before 0.29.0 (gitoxide before 0.5.21, gix before 0.84.0) incorrectly validates the update field in .gitmodules, allowing attackers to bypass the CommandForbiddenInModulesConfiguration guard when a submodule has been initialized with only partial configuration in .git/config. An attacker can inject arbitrary shell commands via the update field in .gitmodules that will be executed when Submodule::update() is called on a previously-initialized submodule, enabling remote code execution.
- Record
CVE-2026-40034- CVSS 4.0
- 8.5 High
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-77
- Updated
- 2026-11-02
OSV 8.5
gitoxide - Command Injection via Partial .gitmodules Override in gix-submodule
gix-submodule before 0.29.0 (gitoxide before 0.5.21, gix before 0.84.0) incorrectly validates the update field in .gitmodules, allowing attackers to bypass the CommandForbiddenInModulesConfiguration guard when a submodule has been initialized with only partial configuration in .git/config. An attacker can inject arbitrary shell commands via the update field in .gitmodules that will be executed when Submodule::update() is called on a previously-initialized submodule, enabling remote code execution.
- Record
CVE-2026-40034- CVSS 4.0
- 8.5 High
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - Weakness
- CWE-77
- Updated
- 2026-11-09
Show 11 moreShow less
OSVDEBIAN-CVE-2026-40034 8.5
gix-submodule before 0.29.0 (gitoxide before 0.5.21, gix before 0.84.0) incorrectly validates the update field in .gitmodules, allowing attackers to bypass the CommandForbiddenInModulesConfiguration guard when a submodule has been initialized with only partial configuration in .git/config. An attacker can inject arbitrary shell commands via the update field in .gitmodules that will be executed when Submodule::update() is called on a previously-initialized submodule, enabling remote code execution.
- Record
DEBIAN-CVE-2026-40034- CVSS 4.0
- 8.5 High
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Updated
- 2026-11-02
OSVGHSA-f26g-jm89-4g65 8.5
gitoxide: CommandForbiddenInModulesConfiguration Bypass in gix_submodule::File::update() Enables Arbitrary Command Execution via .gitmodules
Summary
gix_submodule::File::update() is the API that gates whether an attacker-supplied .gitmodules file may set update = !<shell command>. The function is designed to return Err(CommandForbiddenInModulesConfiguration) unless the !command value came from a trusted local source (.git/config). Git CVE CVE-2019-19604 illustrates why this check is necessary.
However, the guard is implemented incorrectly: it checks whether any section with the same submodule name exists from a non-.gitmodules source; it does not verify that the update value came from that section.
Once a submodule has been initialized (any workflow that writes submodule.<name>.url to .git/config), and the attacker subsequently adds update = !cmd to .gitmodules, the guard passes while the command value falls through to the attacker-controlled file.
On an identical repository state, git submodule update aborts with fatal: invalid value for 'submodule.sub.update', while gix::Submodule::update() returns Ok(Some(Update::Command("touch /tmp/pwned"))).
The vulnerable code was introduced in https://github.com/GitoxideLabs/gitoxide/commit/6a2e6a436f76c8bbf2487f9967413a51356667a0.
Details
The vulnerable method is gix_submodule::File::update: https://github.com/GitoxideLabs/gitoxide/blob/main/gix-submodule/src/access.rs#L168-L193:
pub fn update(&self, name: &BStr) -> Result<Option<Update>, config::update::Error> {
let value: Update = match self.config.string(format!("submodule.{name}.update")) {
// ^^^^^^^^^^^^^^^^^^
// [A] Reads the value. gix_config::File::string() iterates sections
// newest-to-oldest; if the override section lacks `update`, it
// falls through to .gitmodules and returns the attacker value.
//
// https://github.com/GitoxideLabs/gitoxide/blob/main/gix-config/src/file/access/raw.rs#L76
Some(v) => v.as_ref().try_into().map_err(|()| config::update::Error::Invalid {
submodule: name.to_owned(),
actual: v.into_owned(),
})?,
None => return Ok(None),
};
if let Update::Command(cmd) = &value {
let ours = self.config.meta();
let has_value_from_foreign_section = self
.config
.sections_by_name("submodule")
.into_iter()
.flatten()
.any(|s| s.header().subsection_name() == Some(name) && !std::ptr::eq(s.meta(), ours));
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
// [B] Checks only that SOME section with this name exists from a
// non-.gitmodules source. Does NOT check where [A]'s value
// came from.
if !has_value_from_foreign_section {
return Err(config::update::Error::CommandForbiddenInModulesConfiguration { ... });
}
}
Ok(Some(value))
}
PoC
git submodule init copies submodule.$name.url and writes active = true into .git/config (init_submodule(), builtin/submodule--helper.c:438-517). It does not unconditionally copy update.
Since CVE-2019-19604, git rejects .gitmodules files that contain update = !cmd at parse time. However, init is a one-time operation - once the .git/config section exists, subsequent changes to .gitmodules are not re-inited.
So, the attack sequence is:
- Attacker's repo ships a benign
.gitmodules(noupdatekey). - Victim clones and runs
git submodule init->.git/configcontains:[submodule "sub"] active = true url = /tmp/sub-origin - Attacker pushes a new commit adding
update = !cmdto.gitmodules. - Victim runs
git pull->.gitmodulesnow…
- Record
GHSA-f26g-jm89-4g65- CVSS 4.0
- 8.5 High
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-183, CWE-349, CWE-501, CWE-77
- Updated
- 2026-11-02
OSVGHSA-m4f9-c775-wg56 8.5
Duplicate Advisory: gitoxide: CommandForbiddenInModulesConfiguration Bypass in gix_submodule::File::update() Enables Arbitrary Command Execution via .gitmodules
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-f26g-jm89-4g65. This link is maintained to preserve external references.
Original Description
gix-submodule before 0.82.0 incorrectly validates the update field in .gitmodules, allowing attackers to bypass the CommandForbiddenInModulesConfiguration guard when a submodule has been initialized with only partial configuration in .git/config. An attacker can inject arbitrary shell commands via the update field in .gitmodules that will be executed when Submodule::update() is called on a previously-initialized submodule, enabling remote code execution.
- Record
GHSA-m4f9-c775-wg56- CVSS 4.0
- 8.5 High
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-77
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2026-40034 8.5
gix-submodule before 0.29.0 (gitoxide before 0.5.21, gix before 0.84.0) incorrectly validates the update field in .gitmodules, allowing attackers to bypass the CommandForbiddenInModulesConfiguration guard when a submodule has been initialized with only partial configuration in .git/config. An attacker can inject arbitrary shell commands via the update field in .gitmodules that will be executed when Submodule::update() is called on a previously-initialized submodule, enabling remote code execution.
- Record
UBUNTU-CVE-2026-40034- CVSS 4.0
- 8.5 High
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVAZL-89292No score
CVE-2026-40034 affecting package rust for versions less than 1.75.0-30
gix-submodule before 0.29.0 (gitoxide before 0.5.21, gix before 0.84.0) incorrectly validates the update field in .gitmodules, allowing attackers to bypass the CommandForbiddenInModulesConfiguration guard when a submodule has been initialized with only partial configuration in .git/config. An attacker can inject arbitrary shell commands via the update field in .gitmodules that will be executed when Submodule::update() is called on a previously-initialized submodule, enabling remote code execution.
- Record
AZL-89292- Updated
- 2026-11-05
OSVAZL-89295No score
CVE-2026-40034 affecting package rust for versions less than 1.90.0-9
gix-submodule before 0.29.0 (gitoxide before 0.5.21, gix before 0.84.0) incorrectly validates the update field in .gitmodules, allowing attackers to bypass the CommandForbiddenInModulesConfiguration guard when a submodule has been initialized with only partial configuration in .git/config. An attacker can inject arbitrary shell commands via the update field in .gitmodules that will be executed when Submodule::update() is called on a previously-initialized submodule, enabling remote code execution.
- Record
AZL-89295- Updated
- 2026-11-05
OSVopenSUSE-SU-2026:11038-1No score
stgit-2.6.0-1.1 on GA media
These are all security issues fixed in the stgit-2.6.0-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2026:11038-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:11474-1No score
gitoxide-0.56.0-1.1 on GA media
These are all security issues fixed in the gitoxide-0.56.0-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2026:11474-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:12338-1No score
watchexec-2.8.0-1.1 on GA media
These are all security issues fixed in the watchexec-2.8.0-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2026:12338-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:21185-1No score
Security update for stgit
This update for stgit fixes the following issues:
Changes in stgit:
Update to version 2.6.0:
- chore: update changelog for 2.6.0
- fix(import): respect --name verbatim, ignoring stgit.namelength
- test(refresh): use test_when_finished for status.renames cleanup
- expect over unwrap for test
- bugfix: issue #615, add Copied variant to Status enum and move panic to a copied status, add integration test
- docs: Update copyright year
- chore: update gix to 0.83 (CVE-2026-40034, bsc#1266429)
- chore: update compatible transitive dependencies
- chore: update winnow to 1.0.3
- chore: update jiff to 0.2.24
- ci: drop dead CARGO_TARGET_*_STRIP env vars from package build
- ci: soft-pin cargo-deb to ^3.0
- ci: bump cargo-generate-rpm pin to ^0.20.0
- ci: bump GitHub Actions to Node 24 runtimes
- chore: update winnow to 1.0.1
- chore: update clap to 4.6.1
- chore: update gix to 0.81
- chore: bump MSRV to 1.85
- chore: update transitive deps
- chore: update winnow to 0.7.15
- chore: update thiserror to 2.0.18
- chore: update tempfile to 3.27.0
- chore: update tar to 0.4.45
- chore: update serde_json to 1.0.149
- chore: update jiff to 0.2.23
- chore: update indexmap to 2.14.0
- chore: update flate2 to 1.1.9
- chore: update ctrlc to 3.5.2
- chore: update clap to 4.5.61
- chore: update anyhow to 1.0.102
- chore: update anstyle to 1.0.14
Update to version 2.5.5:
- fix(squash): keep author when squashed commits have same author
Update to version 2.5.4:
- chore: update changelog for 2.5.4
- chore: update transitive dependencies
- chore: update clap to 4.5.43
- refactor: clippy fixes
- fix: gix 0.73 breaking changes
- chore: update gix to 0.73
- chore: update transitive dependencies
- chore: update serde_json to 1.0.142
- chore: update winnow to 0.7.12
- chore: update clap to 4.5.42
- refactor: clippy lints
- stgit.el: Use `with-eval-after-load' instead of a homemade version
- stgit.el: Use
advice-add' instead ofdefadvice' - stgit.el: Fix various checkdoc warnings
- stgit.el: Support Emacs versions < 31
- feat(bash): complete patches from chosen branch
- chore: update dependencies
- refactor: repair clippy lints
- chore: update clap to 4.5.40
- chore: update anstyle to 1.0.11
- chore: update winnow to 0.7.11
- chore: update anyhow to 1.0.98
- chore: update jiff to 0.2.15
- chore: update tempfile to 3.20.0
- chore: update curl to 0.4.48
- chore: update flate2 to 1.1.2
- chore: update ctrlc to 3.4.7
- chore(deps): bump winnow from 0.7.6 to 0.7.10
- chore(deps): bump clap from 4.5.36 to 4.5.39
- docs: Update copyright year
- chore: update transitive dependencies
- chore: update tempfile to 3.19.1
- chore: update jiff to 0.2.6
- chore: update winnow to 0.7.6
- chore: update gix to 0.71
- chore: update indexmap to 2.9.0
- chore: update is-terminal to 0.4.16
- chore: update ctrlc to 3.4.6
- chore: update bstr to 1.12.0
- chore: update clap to 4.5.36
- chore: update flate2 to 1.1.1
- chore: update serde to 1.0.219
- chore: update serde_json to 1.0.140
- chore: update thiserror to 2.0.12
- chore: update anyhow to 1.0.97
- refactor: repair clippy lint
- stgit.el: Move 'stgit-patch-status-face-alist' before first use
- stgit.el: Silence warnings of missing vc variables
- stgit.el: Replace ad-hoc
make-local-variable' withdefvar-local' - stgit.el: Use defvar-local instead of make-local-variable
- stgit.el: Enable lexical-binding
- stgit.el: Allow empty descriptions
- stgit.el: Add "--no-color" flag to 'git log' and 'git show'
- stgit.el: Pass patch into `stgit-process-files'
- chore: update changelog for 2.5.3
- chore: update dependencies
- refactor(stgit.el): use space-based indentation consistently
- refactor: repair clippy lint
- chore(deps): bump tempfile from 3.16.0 to 3.17.0
- chore(deps): bump jiff from 0.2.0 to 0.2.1
- build: statically linked…
- Record
openSUSE-SU-2026:21185-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:21558-1No score
Security update for gitoxide
This update for gitoxide fixes the following issues:
Changes in gitoxide:
Update to 0.56.0:
- Fixes CVE-2026-40034 (boo#1266434): the CommandForbiddenInModules trust check could be bypassed in gix_submodule::File::update(), which allowed arbitrary command execution from a crafted .gitmodules file
- Fixes a submodule name validation bypass that allowed traversal out of .git/modules and disclosure of credentials
- Fixes symlinked .gitmodules files being followed and parsed from outside the repository
- Fixes several denial-of-service vectors in gix-pack: unchecked indexing panics and uncapped allocations from crafted pack data
- Fixes HTTP credentials being leaked to the redirected host by the curl transport backend
- Add the gix config show, gix config list, gix config fmt, gix free remote refs, gix free trust, gix dirwalk and gix tix subcommands
- Add a gix status --untracked flag and gix merge tree --message for creating commits
- gix exclude query is now index-aware and no longer reports ignore matches for tracked files, matching git check-ignore
- Preserve all configured remote URLs rather than only the last one
- Fix fetching and cloning with tag refspecs in shallow clones, relative worktree linking files and loose ref path-prefix collisions
- Update the crates to the Rust 2024 edition
Refresh the vendored dependencies. Recording the state of the remaining open CVE bugs against this version, none of which it is affected by:
- CVE-2026-25541 (boo#1274525): the vendored bytes is now 1.12.1, above the 1.11.1 fix
- CVE-2025-22620 (boo#1236139): gix-worktree-state is 0.33.0, far above the 0.17.0 that fixed the world-writable checkout of executable files
update to 0.50.0: see https://github.com/GitoxideLabs/gitoxide/compare/v0.42.0...v0.50.0
update to 0.42.0:
- add first 'debug' version of gix diff file
- use revspecs for revision and path
- CVE-2025-31130: use collision-detecting SHA-1 hash boo#1240872
Update to version 0.41.0:
- add gix blame -L start,end
- add gix env to print paths relevant to the Git installation.
- Document the remaining subcommands
- Add support for statistics and additional performance information.
- add gix blame to the CLI. That way it's possible to see the blame result of any file in the repository.
Updates from version 0.40.0:
- add first 'debug' version of gix log. It's primarily meant to better understand gix blame.
- add --tree-favor to gix merge tree|commit. With it one can decide which side to favor in case of irreconcilable tree-conflicts.
- CVE-2025-22620: gix-worktree-state specifies 0777 permissions when checking out executable files (boo#1236139)
Update to version 0.39.0: New Features
- add gix merge commit --debug
- add gix merge commits
- add gix merge tree to merge trees similarly to git merge-tree.
Update to version 0.38.0: New Features
- support for listing worktrees with gix worktree list
- add first 'debug' version of gix diff tree.
- add new gix cat command.
- add gix merge-file with similar features as git merge-file
- gix merge-base for the CLI Bug Fixes
- Adjust gix clean warning and help for worktree fix
- Clarify -r/--repositories and --skip-hidden-repositories Other
- switch from time to jiff
- Unify style in config support info
- Record
openSUSE-SU-2026:21558-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
gixcrates.io | 0.31.0 up to 0.83.0 | 0.83.0 |
rustAzure Linux:3 | before 1.75.0-30 | 1.75.0-30 |
rustAzure Linux:3 | 1.85.0 up to 1.90.0-9 | 1.90.0-9 |
rust-gix-submoduleDebian:13 | All versions, plus listed versions 0.16.0-10.20.0-10.30.0-10.33.0-10.34.0-1 | None known |
rust-gix-submoduleDebian:14 | before 0.30.0-1, plus listed versions 0.16.0-10.20.0-1 | 0.30.0-1 |
rust-gixUbuntu:25.10 | All versions, plus listed versions 0.69.1-1 | None known |
rust-gix-submoduleUbuntu:25.10 | All versions, plus listed versions 0.16.0-1 | None known |
rust-gixUbuntu:26.10 | All versions, plus listed versions 0.73.0-10.83.0-2 | None known |
rust-gix-submoduleUbuntu:26.10 | All versions, plus listed versions 0.20.0-10.30.0-1 | None known |
rust-gixUbuntu:26.04:LTS | All versions, plus listed versions 0.69.1-10.69.1-20.73.0-10.73.0-1build1 | None known |
Show 6 moreShow less
| Package | Affected | Fixed |
|---|---|---|
rust-gix-submoduleUbuntu:26.04:LTS | All versions, plus listed versions 0.16.0-10.20.0-1 | None known |
stgitopenSUSE:Tumbleweed | before 2.6.0-1.1 | 2.6.0-1.1 |
gitoxideopenSUSE:Tumbleweed From an advisory covering 2 CVEs | before 0.56.0-1.1 | 0.56.0-1.1 |
watchexecopenSUSE:Tumbleweed | before 2.8.0-1.1 | 2.8.0-1.1 |
stgitopenSUSE:Leap 16.0 | before 2.6.0-bp160.1.1 | 2.6.0-bp160.1.1 |
gitoxideopenSUSE:Leap 16.0 From an advisory covering 5 CVEs | before 0.56.0-bp160.1.1 | 0.56.0-bp160.1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| facts | OSV | |
| affected | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-40034 is a high vulnerability (CVSS 7.3) in Gitoxide, published May 5, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.65%, the 51st percentile. Fixed in gix 0.83.0.
References
github.com/GitoxideLabs/gitoxide/security/advisories/GHSA-f26g-jm89-4g65
github.com/GitoxideLabs/gitoxide/commit/6a2e6a436f76c8bbf2487f9967413a51356667a0
github.com/GitoxideLabs/gitoxide/commit/dd5c18d9e526e8de462fa40aa047acd097cfa7dc
red.anthropic.com/2026/cvd/findings/ANT-2026-6SNS6KMP
vulncheck.com/advisories/gitoxide-command-injection-via-partial-gitmodules-override-in-gix-submodule
nvd.nist.gov/vuln/detail/CVE-2026-40034
Show 18 moreShow less
github.com/advisories/GHSA-f26g-jm89-4g65
github.com/advisories/GHSA-m4f9-c775-wg56
github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40034.json
security-tracker.debian.org/tracker/CVE-2026-40034
github.com/GitoxideLabs/gitoxide
ubuntu.com/security/CVE-2026-40034
cve.org/CVERecord?id=CVE-2026-40034
suse.com/security/cve/CVE-2026-40034
suse.com/security/cve/CVE-2026-25541
bugzilla.suse.com/1266429
bugzilla.suse.com/1223249
bugzilla.suse.com/1236139
bugzilla.suse.com/1240872
bugzilla.suse.com/1266434
bugzilla.suse.com/1274525
suse.com/security/cve/CVE-2024-32650
suse.com/security/cve/CVE-2025-22620
suse.com/security/cve/CVE-2025-31130
Left out here: the rest of 3 source descriptions. The JSON record has them.