ubuntu-cve-2026-6357
Vulnerability from osv_ubuntu
Published
2026-04-27 15:16
Modified
2026-06-03 08:45
Summary
Details

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.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "python-pip",
            "binary_version": "1.5.4-1ubuntu4+esm5"
          },
          {
            "binary_name": "python-pip-whl",
            "binary_version": "1.5.4-1ubuntu4+esm5"
          },
          {
            "binary_name": "python3-pip",
            "binary_version": "1.5.4-1ubuntu4+esm5"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "python-pip",
        "purl": "pkg:deb/ubuntu/python-pip@1.5.4-1ubuntu4+esm5?arch=source\u0026distro=esm-infra-legacy/trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.4.1-2",
        "1.5.4-1",
        "1.5.4-1ubuntu1",
        "1.5.4-1ubuntu3",
        "1.5.4-1ubuntu4",
        "1.5.4-1ubuntu4+esm1",
        "1.5.4-1ubuntu4+esm2",
        "1.5.4-1ubuntu4+esm3",
        "1.5.4-1ubuntu4+esm4",
        "1.5.4-1ubuntu4+esm5"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "python-pip",
            "binary_version": "8.1.1-2ubuntu0.6+esm12"
          },
          {
            "binary_name": "python-pip-whl",
            "binary_version": "8.1.1-2ubuntu0.6+esm12"
          },
          {
            "binary_name": "python3-pip",
            "binary_version": "8.1.1-2ubuntu0.6+esm12"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "python-pip",
        "purl": "pkg:deb/ubuntu/python-pip@8.1.1-2ubuntu0.6+esm12?arch=source\u0026distro=esm-apps/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.5.6-7ubuntu1",
        "1.5.6-7ubuntu2",
        "8.0.2-7",
        "8.0.3-1",
        "8.0.3-2",
        "8.1.0-1",
        "8.1.0-2",
        "8.1.1-1",
        "8.1.1-2",
        "8.1.1-2ubuntu0.1",
        "8.1.1-2ubuntu0.2",
        "8.1.1-2ubuntu0.4",
        "8.1.1-2ubuntu0.6",
        "8.1.1-2ubuntu0.6+esm2",
        "8.1.1-2ubuntu0.6+esm3",
        "8.1.1-2ubuntu0.6+esm4",
        "8.1.1-2ubuntu0.6+esm5",
        "8.1.1-2ubuntu0.6+esm6",
        "8.1.1-2ubuntu0.6+esm8",
        "8.1.1-2ubuntu0.6+esm10",
        "8.1.1-2ubuntu0.6+esm11",
        "8.1.1-2ubuntu0.6+esm12"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "python-pip",
            "binary_version": "9.0.1-2.3~ubuntu1.18.04.8+esm8"
          },
          {
            "binary_name": "python-pip-whl",
            "binary_version": "9.0.1-2.3~ubuntu1.18.04.8+esm8"
          },
          {
            "binary_name": "python3-pip",
            "binary_version": "9.0.1-2.3~ubuntu1.18.04.8+esm8"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "python-pip",
        "purl": "pkg:deb/ubuntu/python-pip@9.0.1-2.3~ubuntu1.18.04.8+esm8?arch=source\u0026distro=esm-apps/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "9.0.1-2",
        "9.0.1-2.3~ubuntu1",
        "9.0.1-2.3~ubuntu1.18.04.1",
        "9.0.1-2.3~ubuntu1.18.04.2",
        "9.0.1-2.3~ubuntu1.18.04.3",
        "9.0.1-2.3~ubuntu1.18.04.4",
        "9.0.1-2.3~ubuntu1.18.04.5",
        "9.0.1-2.3~ubuntu1.18.04.5+esm2",
        "9.0.1-2.3~ubuntu1.18.04.5+esm3",
        "9.0.1-2.3~ubuntu1.18.04.6",
        "9.0.1-2.3~ubuntu1.18.04.6+esm1",
        "9.0.1-2.3~ubuntu1.18.04.7",
        "9.0.1-2.3~ubuntu1.18.04.7+esm1",
        "9.0.1-2.3~ubuntu1.18.04.8",
        "9.0.1-2.3~ubuntu1.18.04.8+esm1",
        "9.0.1-2.3~ubuntu1.18.04.8+esm2",
        "9.0.1-2.3~ubuntu1.18.04.8+esm4",
        "9.0.1-2.3~ubuntu1.18.04.8+esm6",
        "9.0.1-2.3~ubuntu1.18.04.8+esm7",
        "9.0.1-2.3~ubuntu1.18.04.8+esm8"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "python-pip-whl",
            "binary_version": "20.0.2-5ubuntu1.11+esm4"
          },
          {
            "binary_name": "python3-pip",
            "binary_version": "20.0.2-5ubuntu1.11+esm4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:20.04:LTS",
        "name": "python-pip",
        "purl": "pkg:deb/ubuntu/python-pip@20.0.2-5ubuntu1.11+esm4?arch=source\u0026distro=esm-apps/focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "18.1-5",
        "18.1-5build1",
        "18.1-5ubuntu1",
        "20.0.2-2",
        "20.0.2-4",
        "20.0.2-5",
        "20.0.2-5ubuntu1",
        "20.0.2-5ubuntu1.1",
        "20.0.2-5ubuntu1.3",
        "20.0.2-5ubuntu1.4",
        "20.0.2-5ubuntu1.5",
        "20.0.2-5ubuntu1.6",
        "20.0.2-5ubuntu1.7",
        "20.0.2-5ubuntu1.8",
        "20.0.2-5ubuntu1.9",
        "20.0.2-5ubuntu1.10",
        "20.0.2-5ubuntu1.10+esm2",
        "20.0.2-5ubuntu1.11",
        "20.0.2-5ubuntu1.11+esm2",
        "20.0.2-5ubuntu1.11+esm3",
        "20.0.2-5ubuntu1.11+esm4"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "python3-pip",
            "binary_version": "22.0.2+dfsg-1ubuntu0.7+esm3"
          },
          {
            "binary_name": "python3-pip-whl",
            "binary_version": "22.0.2+dfsg-1ubuntu0.7+esm3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:22.04:LTS",
        "name": "python-pip",
        "purl": "pkg:deb/ubuntu/python-pip@22.0.2+dfsg-1ubuntu0.7+esm3?arch=source\u0026distro=esm-apps/jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "20.3.4-4",
        "21.3.1+dfsg-3",
        "22.0.2+dfsg-1",
        "22.0.2+dfsg-1ubuntu0.1",
        "22.0.2+dfsg-1ubuntu0.2",
        "22.0.2+dfsg-1ubuntu0.3",
        "22.0.2+dfsg-1ubuntu0.4",
        "22.0.2+dfsg-1ubuntu0.5",
        "22.0.2+dfsg-1ubuntu0.6",
        "22.0.2+dfsg-1ubuntu0.7",
        "22.0.2+dfsg-1ubuntu0.7+esm1",
        "22.0.2+dfsg-1ubuntu0.7+esm2",
        "22.0.2+dfsg-1ubuntu0.7+esm3"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "python3-pip",
            "binary_version": "24.0+dfsg-1ubuntu1.3+esm3"
          },
          {
            "binary_name": "python3-pip-whl",
            "binary_version": "24.0+dfsg-1ubuntu1.3+esm3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:24.04:LTS",
        "name": "python-pip",
        "purl": "pkg:deb/ubuntu/python-pip@24.0+dfsg-1ubuntu1.3+esm3?arch=source\u0026distro=esm-apps/noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "23.2+dfsg-1",
        "23.3+dfsg-1",
        "24.0+dfsg-1",
        "24.0+dfsg-1ubuntu1",
        "24.0+dfsg-1ubuntu1.1",
        "24.0+dfsg-1ubuntu1.2",
        "24.0+dfsg-1ubuntu1.3",
        "24.0+dfsg-1ubuntu1.3+esm1",
        "24.0+dfsg-1ubuntu1.3+esm2",
        "24.0+dfsg-1ubuntu1.3+esm3"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "python3-pip",
            "binary_version": "25.1.1+dfsg-1ubuntu2"
          },
          {
            "binary_name": "python3-pip-whl",
            "binary_version": "25.1.1+dfsg-1ubuntu2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "python-pip",
        "purl": "pkg:deb/ubuntu/python-pip@25.1.1+dfsg-1ubuntu2?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "25.0+dfsg-1",
        "25.1.1+dfsg-1",
        "25.1.1+dfsg-1ubuntu1",
        "25.1.1+dfsg-1ubuntu2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "python3-pip",
            "binary_version": "25.1.1+dfsg-1ubuntu2+esm3"
          },
          {
            "binary_name": "python3-pip-whl",
            "binary_version": "25.1.1+dfsg-1ubuntu2+esm3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:26.04:LTS",
        "name": "python-pip",
        "purl": "pkg:deb/ubuntu/python-pip@25.1.1+dfsg-1ubuntu2+esm3?arch=source\u0026distro=esm-apps/resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "25.1.1+dfsg-1ubuntu2",
        "25.1.1+dfsg-1ubuntu2+esm1",
        "25.1.1+dfsg-1ubuntu2+esm2",
        "25.1.1+dfsg-1ubuntu2+esm3"
      ]
    }
  ],
  "aliases": [],
  "details": "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.",
  "id": "UBUNTU-CVE-2026-6357",
  "modified": "2026-06-03T08:45:59Z",
  "published": "2026-04-27T15:16:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-6357"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-6357"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/pypa/pip/pull/13923"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2026-6357"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…