CVE-2026-40034

Source
https://cve.org/CVERecord?id=CVE-2026-40034
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-40034.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-40034
Aliases
Downstream
AZL (2)
CGA (16)
DEBIAN (1)
MINI (1)
openSUSE (5)
UBUNTU (1)
Related
Published
2026-05-26T14:08:48Z
Modified
2026-11-12T03:50:08Z
Severity
  • 8.5 (High) CVSS_V4 - 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 Calculator
Summary
gitoxide - Command Injection via Partial .gitmodules Override in gix-submodule
Details

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.

Database specific
{
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
        "CWE-77"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40034.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "range": [
                        {
                            "fixed": "0.5.21"
                        },
                        {
                            "fixed": "0.84.0"
                        }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/gitoxidelabs/gitoxide

Affected ranges

Type
GIT
Repo
https://github.com/gitoxidelabs/gitoxide
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "0.29.0"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
        },
        {
            "range": [
                {
                    "fixed": "6a2e6a436f76c8bbf2487f9967413a51356667a0"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "range": [
                {
                    "fixed": "dd5c18d9e526e8de462fa40aa047acd097cfa7dc"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

TEST-0.*
TEST-0.0.0
cargo-smart-release-v0.*
cargo-smart-release-v0.1.0
cargo-smart-release-v0.10.0
cargo-smart-release-v0.10.1
cargo-smart-release-v0.10.2
cargo-smart-release-v0.12.0
cargo-smart-release-v0.12.1
cargo-smart-release-v0.13.0
cargo-smart-release-v0.14.0
cargo-smart-release-v0.15.0
cargo-smart-release-v0.16.0
cargo-smart-release-v0.16.1
cargo-smart-release-v0.17.0
cargo-smart-release-v0.18.0
cargo-smart-release-v0.19.0
cargo-smart-release-v0.2.0
cargo-smart-release-v0.2.1
cargo-smart-release-v0.2.2
cargo-smart-release-v0.2.3
cargo-smart-release-v0.2.4
cargo-smart-release-v0.20.0
cargo-smart-release-v0.3.0
cargo-smart-release-v0.3.1
cargo-smart-release-v0.4.0
cargo-smart-release-v0.5.0
cargo-smart-release-v0.5.1
cargo-smart-release-v0.5.2
cargo-smart-release-v0.5.3
cargo-smart-release-v0.5.4
cargo-smart-release-v0.5.5
cargo-smart-release-v0.5.6
cargo-smart-release-v0.6.0
cargo-smart-release-v0.7.0
cargo-smart-release-v0.8.0
cargo-smart-release-v0.9.0
Other
end-2020
the-beginning-2020
gitoxide-v0.*
gitoxide-v0.8.0
gitoxide-v0.8.1
v0.*
v0.1.0
v0.10.0
v0.11.0
v0.12.0
v0.13.0
v0.14.0
v0.17.0
v0.18.0
v0.19.0
v0.20.0
v0.21.0
v0.22.0
v0.22.1
v0.23.0
v0.24.0
v0.25.0
v0.26.0
v0.27.0
v0.28.0
v0.3.0
v0.30.0
v0.31.0
v0.31.1
v0.33.0
v0.34.0
v0.35.0
v0.36.0
v0.37.0
v0.4.0
v0.47.0
v0.5.0
v0.6.0
v0.7.0
v0.8.1
v0.8.2
v0.8.3
v0.8.4
v0.9.0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-40034.json"