# CVE-2026-6357: pip self-update functionality can import newly installed modules after wheel installation

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-27 · Modified: 2026-04-27
- Aliases: GHSA-jp4c-xjxw-mgf9, PYSEC-2026-2876, UBUNTU-CVE-2026-6357, DEBIAN-CVE-2026-6357, CGA-2grw-7qmc-x782, CGA-33jp-jchx-fm2f, CGA-3fj4-3qjc-7wqx, CGA-3q7x-p52m-q3mp, CGA-3r5f-758q-7ph3, CGA-4pgf-4932-xv9f, CGA-4q8h-rwxv-w29p, CGA-5fgc-xg33-q6rm, CGA-5wxv-pv2q-mgc9, CGA-62q8-238c-v33c, CGA-65f2-g6q2-gq56, CGA-65q2-63cw-4355, CGA-6934-j8w5-ggwc, CGA-69j4-wp86-cj67, CGA-6c89-6hm8-xfqv, CGA-743m-mw55-gvrf, CGA-74h5-68pc-h963, CGA-75h8-cp8p-5q7j, CGA-7c5q-3jcr-h2wp, CGA-7hwg-2hm8-9v7p, CGA-7pw2-rhmg-m2hr, CGA-7vq8-m28w-6rmf, CGA-878h-62c9-c973, CGA-8rfj-3rhg-w3v8, CGA-8w3m-p9rg-vfgv, CGA-97jr-cc2w-hvww, CGA-9mpm-vw3p-877f, CGA-9p85-6p9p-xxj4, CGA-9p93-mvq3-hqr9, CGA-9p9p-hxp5-pm25, CGA-9r53-r65g-q7w7, CGA-9vpv-j259-8mmc, CGA-9w28-69qf-4w3p, CGA-9xrp-wqw2-r88g, CGA-c78w-4mfv-pvj6, CGA-c9wv-p5qf-9527, CGA-cw5w-2fgf-h6w4, CGA-f23g-hw2r-25m8, CGA-f58r-wmv8-qhh6, CGA-f82f-3526-6j9q, CGA-fjj9-8247-rwgh, CGA-fq23-xmmr-jhmh, CGA-hh49-8gc5-xqv4, CGA-hj7q-qj68-59p2, CGA-hxwc-mc26-gppv, CGA-j28w-x4g3-v4gm, CGA-j3hc-c7rg-v7h3, CGA-jcf6-jpj4-rmh5, CGA-mchq-v2c6-5wv2, CGA-mj5m-9xqj-9p3f, CGA-mm63-xvh3-mh3q, CGA-mqmh-hx93-572f, CGA-pgfc-w32r-q468, CGA-pw4j-3v7c-xw8f, CGA-q7p3-r52w-jp5x, CGA-q7rp-85gc-42qw, CGA-qgm6-wf4x-7m3p, CGA-qmmj-2pmg-2vpx, CGA-qqqf-xxvc-8365, CGA-qv7m-cxw3-rc76, CGA-r34m-72p8-3fgw, CGA-r482-24m8-gv9h, CGA-rjrx-qcxc-v6rm, CGA-v2xw-43q7-p5g3, CGA-vgj4-9c5g-7r6m, CGA-vhg3-6mhv-fmmp, CGA-vqhx-829c-hm3h, CGA-vqpj-m7r7-vf4j, CGA-vvj5-vwcm-hmw9, CGA-w375-fp2j-6xfm, CGA-w4wh-v6g4-558x, CGA-w665-9fq7-pw8r, CGA-w8wp-q9p5-56fw, CGA-wr77-fjgp-w8vx, CGA-x964-7vr9-c5jm, CGA-xp9c-g4wr-2338, CGA-xxhv-qj82-m683, CGA-2gvc-m97m-3mrv, CGA-2jj8-xjj6-38jx, CGA-377v-c5p8-576x, CGA-3p3q-f7gr-39qj, CGA-3v2m-7jgr-x9mc, CGA-535p-fgh2-72rj, CGA-5635-gjxc-g8v4, CGA-5p8c-3j9p-r4cc, CGA-5wph-293c-g9xh, CGA-6675-5r6c-695m, CGA-6765-6r28-mhj7, CGA-6jqw-gvfp-2mgh, CGA-6p4j-3hpw-vgh5, CGA-6wgq-mcq7-qj85, CGA-6x53-rfhr-3p22, CGA-75p6-xwm9-7693, CGA-7r77-q9f8-2gqq, CGA-7wxw-x88f-87m7, CGA-8fh5-gcg2-vp2p, CGA-8g5g-j9jw-jqhj, CGA-8rx6-vvmh-mj7f, CGA-95ww-4qxx-xg75, CGA-9626-3qxf-q74v, CGA-9ff6-vrhv-m92q, CGA-9j3h-r9m2-vq8m, CGA-9qc7-57vw-w7rf, CGA-9vw4-cjx6-rm4x, CGA-9w79-vqj3-xjc9, CGA-c367-8p57-m8jm, CGA-c36c-p496-476w, CGA-c6m3-35jv-rw89, CGA-cc9r-928j-mfcf, CGA-f6f5-8pgp-jjj2, CGA-f9p5-6mwg-39x9, CGA-ffc8-3prq-x5r8, CGA-fhhg-cwmx-m284, CGA-fr56-r8rf-2j7w, CGA-frm3-x2pj-5wf5, CGA-gj93-5r22-x7cw, CGA-gjj7-c9cf-3wwv, CGA-gm3j-6p46-j9rx, CGA-gm9v-84cq-r9v7, CGA-h6xq-5rvf-7c78, CGA-h87x-h86v-w7hq, CGA-h8w5-r5r7-9x64, CGA-hr8c-9g6c-6g34, CGA-j2pv-6hf3-vr95, CGA-j38w-7fm4-qcjv, CGA-j39x-pjw8-4vcg, CGA-jccc-f64x-xm72, CGA-jq9p-3gj3-8m4m, CGA-jrwg-9qhg-42jq, CGA-m362-p3v7-3c69, CGA-p3g7-98r9-4x5p, CGA-p3m9-g262-398q, CGA-p97j-9xf2-46gw, CGA-pp6f-v458-367x, CGA-pxwc-5vw9-prwv, CGA-q7vv-4x7r-f6fr, CGA-qch6-pq42-8643, CGA-qh5m-9vq7-cqjp, CGA-qq2v-rcqj-fj2h, CGA-rw87-8xxm-wrc8, CGA-v4mc-vh3p-94v2, CGA-v57q-6jg8-cpgw, CGA-v59g-mjhw-9w29, CGA-v687-mpcq-rm67, CGA-v8m6-72g7-ggfp, CGA-vfj7-qr65-5pgh, CGA-vh6p-xj65-9qhq, CGA-vqh2-vq9r-rg37, CGA-wfcv-5rpx-j6qj, CGA-whgv-xjj8-m9r7, CGA-wjv8-6xqr-8cjp, CGA-wjwg-g83q-c9mh, CGA-wq32-76g2-qpwv, CGA-x2w2-cr93-4wvv, CGA-x37g-4pfr-m284, CGA-xph7-hvw7-9855, CGA-3x93-pxj6-m236, CGA-gg24-xp6m-8vqh, CGA-8gwj-jcjp-9h49, CGA-gq2g-cm64-566j, CGA-j55w-phpw-2cg9, CGA-wpp5-hjv8-wx3r
- Record: https://cvemate.com/vulnerability/CVE-2026-6357 · JSON: https://cvemate.com/vulnerability/CVE-2026-6357/json

## Description

```text
pip prior to version 26.1 would run self-update check functionality after installing wheel files which required importing well-known Python modules names. These module imports were intentionally deferred to increase startup time of the pip CLI. The patch changes self-update functionality to run before wheels are installed to prevent newly-installed modules from being imported shortly after the installation of a wheel package. Users should still review package contents prior to installation.
```

## Signals

- CVSS: 5.3 medium (v4.0, CVE.org) CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
- EPSS: 0.132%, percentile 2.918%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 107)

- chainguard ansible-operator (Chainguard): \< 1.42.2-r5
- chainguard ansible-operator-fips (Chainguard): \< 1.42.2-r5
- chainguard bazel-module-rules\_python-1.6.0 (Chainguard): All versions (No fix recorded)
- chainguard datadog-agent-7.71 (Chainguard): \< 7.71.2-r22
- chainguard datadog-agent-7.71-core-integrations (Chainguard): \< 7.71.2-r22
- chainguard datadog-agent-7.72 (Chainguard): \< 7.72.4-r22
- chainguard datadog-agent-7.72-core-integrations (Chainguard): \< 7.72.4-r22
- chainguard datadog-agent-7.73 (Chainguard): \< 7.73.3-r13
- chainguard datadog-agent-7.73-core-integrations (Chainguard): \< 7.73.3-r13
- chainguard datadog-agent-7.74 (Chainguard): \< 7.74.1-r15
- chainguard datadog-agent-7.74-core-integrations (Chainguard): \< 7.74.1-r15
- chainguard datadog-agent-7.75 (Chainguard): \< 7.75.4-r7
- chainguard datadog-agent-7.75-core-integrations (Chainguard): \< 7.75.4-r7
- chainguard datadog-agent-7.76 (Chainguard): \< 7.76.3-r41 \| \< 7.76.3-r15
- chainguard datadog-agent-7.76-core-integrations (Chainguard): \< 7.76.3-r15
- chainguard datadog-agent-7.77 (Chainguard): \< 7.77.3-r6
- chainguard datadog-agent-7.77-core-integrations (Chainguard): \< 7.77.3-r6
- chainguard datadog-agent-fips-7.71 (Chainguard): \< 7.71.2-r15
- chainguard datadog-agent-fips-7.71-core-integrations (Chainguard): \< 7.71.2-r15
- chainguard datadog-agent-fips-7.72 (Chainguard): \< 7.72.4-r15 \| \< 7.72.4-r14

## References

- <https://github.com/pypa/pip/pull/13923>
- <https://ichard26.github.io/blog/2026/04/whats-new-in-pip-26.1/#security-fixes>
- <http://www.openwall.com/lists/oss-security/2026/04/27/7>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-6357>
- <https://github.com/pypa/pip/commit/b369bfc96cc524e00c267e1693290e6599c36bad>
- <https://github.com/pypa/pip>
- <https://pypi.org/project/pip>
- <https://github.com/advisories/GHSA-jp4c-xjxw-mgf9>
- <https://ubuntu.com/security/CVE-2026-6357>
- <https://www.cve.org/CVERecord?id=CVE-2026-6357>
- <https://security-tracker.debian.org/tracker/CVE-2026-6357>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6357.json>

---

Data as of 2026-12-05T09:19:52.399Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
