Skip to content
Noroxi
CVE-2026-67322· NVD / CVE Program· CNA VulnCheck

GitPython before 3.1.52 Environment Variable Exfiltration via clone_from

Noroxi assessment

Priority: Monitor (action score 34/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 0.32% (FIRST EPSS).
  • Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
  • According to CISA the attack is automatable: targets can be found by mass scanning.
  • Fixed version: gitpython-developers GitPython 3.1.52.

Low priority for now. Upgrade to gitpython-developers GitPython 3.1.52 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

GitPython before 3.1.52 is vulnerable to environment-variable exfiltration in Repo.clone_from(). The caller-supplied remote URL is passed through Git.polish_url(), which on non-Cygwin platforms calls os.path.expandvars() on the URL before invoking git clone. An attacker who controls the clone URL can embed $NAME or ${NAME} tokens that are expanded to the values of the hosting process's environment variables (e.g., AWS_SECRET_ACCESS_KEY or GITHUB_TOKEN). The resulting URL, now containing the secret, is transmitted over the network to an attacker-controlled host during the clone attempt, disclosing the secret.

HighCVSS 8.7 · v4.0—No exploit Fix available
Published
Aug 1, 2026
Updated
Oct 23, 2026
EPSS
0.3% · 24th percentile

Report tools

JSON

Action score

34

Monitor

Low priority for now.

CVSS
34 / 40 · 8.7 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.3%

CISA SSVC decision

Exploitation
proof of concept
Automatable
yes
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
—
CNA · VulnCheck
8.7
NVD has not scored this yet; the score shown is the CNA’s.

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2026-67322

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
gitpython projectgitpython

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • gitpython project gitpythonbefore 3.1.52

Versions reported by the vendor

Affected version ranges reported by the assigning authority (VulnCheck). Independent of NVD's CPE analysis and usually ahead of it.

  • gitpython-developers GitPython

    • 3.1.52not affected
    • before 3.1.52affected · semver

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12python-gitfrom 0—
Debian:14python-gitbefore 3.1.61-13.1.61-1
openSUSE:Leap 16.0python-GitPythonbefore 3.1.44-160000.4.13.1.44-160000.4.1
openSUSE:Tumbleweedpython-GitPythonbefore 3.1.58-1.13.1.58-1.1
PyPIgitpythonbefore 3.1.523.1.52
Red Hat:ansible_automation_platform_developer:2.5::el8automation-controller-clibefore 0:4.6.32-1.el8ap0:4.6.32-1.el8ap
Red Hat:ansible_automation_platform_developer:2.5::el8python3.12-djangobefore 0:5.2.17-1.el8ap0:5.2.17-1.el8ap
Red Hat:ansible_automation_platform_developer:2.5::el8python3.12-sqlparsebefore 0:0.6.0-1.el8ap0:0.6.0-1.el8ap
Red Hat:ansible_automation_platform_developer:2.5::el8receptorbefore 0:1.6.8-1.el8ap0:1.6.8-1.el8ap
Red Hat:ansible_automation_platform_developer:2.5::el9automation-controller-clibefore 0:4.6.32-1.el9ap0:4.6.32-1.el9ap
Red Hat:ansible_automation_platform_developer:2.5::el9python3.12-djangobefore 0:5.2.17-1.el9ap0:5.2.17-1.el9ap
Red Hat:ansible_automation_platform_developer:2.6::el10python-djangobefore 0:5.2.17-1.el10ap0:5.2.17-1.el10ap
Red Hat:ansible_automation_platform_developer:2.6::el10python-sqlparsebefore 0:0.6.0-1.el10ap0:0.6.0-1.el10ap
Red Hat:ansible_automation_platform_developer:2.6::el10python3-djangobefore 0:5.2.17-1.el10ap0:5.2.17-1.el10ap
Red Hat:ansible_automation_platform_developer:2.6::el10python3-sqlparsebefore 0:0.6.0-1.el10ap0:0.6.0-1.el10ap
Red Hat:ansible_automation_platform_developer:2.6::el9automation-controllerbefore 0:4.7.17-1.el9ap0:4.7.17-1.el9ap
Red Hat:ansible_automation_platform_developer:2.6::el9automation-controller-clibefore 0:4.7.17-1.el9ap0:4.7.17-1.el9ap
Red Hat:ansible_automation_platform_developer:2.6::el9automation-controller-clibefore 0:4.7.16-1.el9ap0:4.7.16-1.el9ap
Red Hat:ansible_automation_platform_developer:2.6::el9python3.12-sqlparsebefore 0:0.6.0-1.el9ap0:0.6.0-1.el9ap
Red Hat:ansible_automation_platform_developer:2.6::el9receptorbefore 0:1.6.8-1.el9ap0:1.6.8-1.el9ap
Red Hat:ansible_automation_platform:2.5::el8automation-controller-venv-towerbefore 0:4.6.33-1.el8ap0:4.6.33-1.el8ap
Red Hat:ansible_automation_platform:2.5::el8automation-controller-venv-towerbefore 0:4.6.32-1.el8ap0:4.6.32-1.el8ap
Red Hat:ansible_automation_platform:2.5::el8automation-gateway-proxy-serverbefore 0:2.5.10-8.el8ap0:2.5.10-8.el8ap
Red Hat:ansible_automation_platform:2.5::el8automation-gateway-serverbefore 0:2.5.20260923-1.el8ap0:2.5.20260923-1.el8ap

+90

Other highest-scoring records for the same primary product.

  • CVE-2022-24439Remote Code Execution (RCE)
    41Plan
  • CVE-2026-42284GitPython: Unsafe option check validates multi_options before shlex.split transforms it
    39Monitor
  • CVE-2023-40267GitPython before 3.1.32 does not block insecure non-multi options in clone and clone_from.
    39Monitor

Published before and after this one in the same product

  • ← EarlierCVE-2026-44243May 7, 2026 · GitPython: Path traversal in GitPython reference APIs allows arbitrary file write and delete outside the repository
    31Monitor
  • ← EarlierCVE-2026-44244May 7, 2026 · GitPython: Newline injection in config_writer().set_value() enables RCE via core.hooksPath
    31Monitor
  • Later →CVE-2026-67323Aug 1, 2026 · GitPython before 3.1.51 Command Injection via unguarded Git options
    34Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
gitpython-developers GitPython3.1.52Vendor (CNA)
debian:python-git3.1.61-1 · Debian:14Package registry (OSV)
opensuse:python-GitPython3.1.58-1.1 · openSUSE:TumbleweedPackage registry (OSV)
PyPI:gitpython3.1.52Package registry (OSV)
red hat:automation-controller-cli0:4.6.32-1.el8ap · Red Hat:ansible_automation_platform_developer:2.5::el8Package registry (OSV)
red hat:automation-controller-venv-tower0:4.6.32-1.el8ap · Red Hat:ansible_automation_platform:2.5::el8Package registry (OSV)
red hat:automation-gateway-server0:2.5.20260824-1.el8ap · Red Hat:ansible_automation_platform:2.5::el8Package registry (OSV)
red hat:clang0:22.1.8-4.1.hum1 · Red Hat:hummingbird:1Package registry (OSV)
red hat:clang-analyzer0:22.1.8-4.1.hum1 · Red Hat:hummingbird:1Package registry (OSV)
red hat:clang-devel0:22.1.8-4.1.hum1 · Red Hat:hummingbird:1Package registry (OSV)
red hat:clang-libs0:22.1.8-4.1.hum1 · Red Hat:hummingbird:1Package registry (OSV)
red hat:clang-resource-filesystem0:22.1.8-4.1.hum1 · Red Hat:hummingbird:1Package registry (OSV)
red hat:clang-tools-extra0:22.1.8-4.1.hum1 · Red Hat:hummingbird:1Package registry (OSV)
red hat:clang-tools-extra-devel0:22.1.8-4.1.hum1 · Red Hat:hummingbird:1Package registry (OSV)
red hat:clang210:21.1.8-8.hum1 · Red Hat:hummingbird:1Package registry (OSV)
red hat:compiler-rt0:22.1.8-4.1.hum1 · Red Hat:hummingbird:1Package registry (OSV)
red hat:git-clang-format0:22.1.8-4.1.hum1 · Red Hat:hummingbird:1Package registry (OSV)
red hat:libcxx0:22.1.8-4.1.hum1 · Red Hat:hummingbird:1Package registry (OSV)
red hat:libcxx-devel0:22.1.8-4.1.hum1 · Red Hat:hummingbird:1Package registry (OSV)
red hat:libcxx-static0:22.1.8-4.1.hum1 · Red Hat:hummingbird:1Package registry (OSV)
red hat:llvm0:22.1.8-4.1.hum1 · Red Hat:hummingbird:1Package registry (OSV)
red hat:llvm-doc0:22.1.8-4.1.hum1 · Red Hat:hummingbird:1Package registry (OSV)
red hat:llvm210:21.1.8-8.hum1 · Red Hat:hummingbird:1Package registry (OSV)
red hat:llvm21-doc0:21.1.8-8.hum1 · Red Hat:hummingbird:1Package registry (OSV)
red hat:python3.12-django0:5.2.17-1.el8ap · Red Hat:ansible_automation_platform_developer:2.5::el8Package registry (OSV)
red hat:python3.12-gitpython0:3.1.59-1.el8ap · Red Hat:ansible_automation_platform:2.5::el8Package registry (OSV)
red hat:swift-lang0:6.3.3-0.1.1.hum1 · Red Hat:hummingbird:1Package registry (OSV)
suse:python-GitPython3.1.34.1693646983.2a2ae77-150400.9.8.1 · SUSE:Linux Enterprise Module for Python 3 15 SP7Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

  • CVE-2026-7362212 days apartGitPython before 3.1.55 Environment Variable Exfiltration via Remote.add()
    34Monitor

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
Integrity
Availability
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
X

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/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

nvd-secondary

Root cause

The extension requests broader permissions than its function needs and sends the data it collects out for purposes beyond its stated function.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

json
{  "permissions": ["tabs", "<all_urls>"],  "background": { "service_worker": "analytics.js" }}

Fixed

json
{  "permissions": ["activeTab"],  "host_permissions": ["https://yildiz.example/*"]}

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

Vendor advisories and official records. Exploit/PoC links are deliberately left out.

All records