CVE-2026-82251: gitoxide before 0.52.1 Path Traversal via Submodule Name

Published Aug 28, 2026
·
Updated

gitoxide before 0.52.1 fails to validate submodule names from .gitmodules configuration, allowing path traversal when deriving submodule git directories. Attackers can craft malicious submodule names with traversal segments to redirect state() and open() functions to repositories outside .git/modules, causing repository confusion and inspection of attacker-controlled repositories.

Affected Software

1 affected component
gitoxide gitoxide<0.52.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade gitoxide to a version that resolves this vulnerability.

    Fixed in 0.52.1
  2. Compensating control

    If you cannot upgrade immediately, restrict or monitor use of untrusted .gitmodules content because gitoxide before 0.52.1 does not validate submodule names from the .gitmodules configuration, which can enable path traversal outside .git/modules.

Event History

Aug 28, 2026
CVE Published
via MITRE·10:49 AM
Data Sourced
via MITRE·10:49 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which installations are affected?

gitoxide versions before 0.52.1 are affected. Version 0.52.1 and later are not identified as affected by the provided advisory data.

2

What must an attacker control to exploit this issue?

The attacker must be able to supply or induce processing of a .gitmodules configuration containing a malicious submodule name with path-traversal segments. No authentication or user interaction is required according to the supplied vector.

3

What is the practical impact of a malicious submodule name?

Traversal segments can cause gitoxide to derive submodule Git directory paths outside .git/modules. This can redirect state() and open() operations to other repositories, resulting in repository confusion and inspection of attacker-controlled repositories.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203