ALPINE-CVE-2026-42284

Source
https://security.alpinelinux.org/vuln/CVE-2026-42284
Import Source
https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-42284.json
JSON Data
https://api.osv.dev/v1/vulns/ALPINE-CVE-2026-42284
Upstream
Published
2026-05-07T19:16:01Z
Modified
2026-11-03T06:30:17Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

GitPython is a python library used to interact with Git repositories. Prior to version 3.1.47, _clone() validates multi_options as the original list, then executes shlex.split(" ".join(multi_options)). A string like "--branch main --config core.hooksPath=/x" passes validation (starts with --branch), but after split becomes ["--branch", "main", "--config", "core.hooksPath=/x"]. Git applies the config and executes attacker hooks during clone. This issue has been patched in version 3.1.47.

References

Affected packages

Alpine:v3.23 / py3-gitpython

Package

Name
py3-gitpython
Purl
pkg:apk/alpine/py3-gitpython?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.1.49-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-42284.json"

Alpine:v3.24 / py3-gitpython

Package

Name
py3-gitpython
Purl
pkg:apk/alpine/py3-gitpython?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.1.49-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-42284.json"