standard pip version is below 26.2.2

Abierto
#1,380 11 comentarios 0 reacciones 1 asignado Ver en GitHub

@v-gowridurgad ya está trabajando en esto.

Desde el 29/10/2026.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
38/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
github-actions, python, typescript
Área
ci-cd, security

Línea de trabajo

Start by reading the setup-python v7 action code that configures Python and installs or upgrades pip, then check its related tests and the reported actions/setup-python workflow. Determine whether the action installs an outdated pip and how the certificate concern can be addressed securely; done means pip at least 26.2.2 is installed securely on self-hosted Ubuntu runners with Python 3.11 or newer.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

bug

Description:
The standard version of pip is not >= 26.2.2, which is a security breach, see certificate compromising
Upon setup

jobs:
  check:
    runs-on: [self-hosted, linux]
    steps:
      - name: Set up Python.
        uses: actions/setup-python@v7
        with:
          python-version: '3.12'

pip is < 26.2.2.

  Attempting uninstall: pip
  Found existing installation: pip 25.0.1
  Uninstalling pip-25.0.1:
  Successfully uninstalled pip-25.0.1
  Successfully installed pip-26.2.2

I am not sure, but I think that pip 26.2.2 is not installed securely by python -m pip install "pip @ https://files.pythonhosted.org/packages/3f/06/3e4420302363fbb71be3c7f35ce042f54bfca330e3e66b3a2e3c4cca579f/pip-26.2.2-py3-none-any.whl#sha256=fd7f4dfa8190e014013b9f08f3e973f4e4c26ffd179a204895533a7254813a70"
This can result in man-in-the-middle-attacks.
I am not sure how to deal with safe installations of older pip versions.

Action version:
v7

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:
Python >= 3.11

Repro steps:
See description.

Expected behavior:
Install pip >= 26.2.2 is installed securely.

Actual behavior:
See description.

Lenguaje dominante
TypeScript
Estrellas
2.3k
Forks
752
Merge medio
22 d 15 h
PR fusionados (30 d)
1

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de actions/setup-python

Todos los issues de actions/setup-python

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.