Skip to content

Bump packaged pip to 26.2 and relenv to 0.22.22 (CVE-2026-44432) - #70110

Open
twangboy wants to merge 2 commits into
saltstack:3008.xfrom
twangboy:fix/70109/3008.x
Open

Bump packaged pip to 26.2 and relenv to 0.22.22 (CVE-2026-44432)#70110
twangboy wants to merge 2 commits into
saltstack:3008.xfrom
twangboy:fix/70109/3008.x

Conversation

@twangboy

Copy link
Copy Markdown
Contributor

What does this PR do?

Updates the pip wheel Salt's onedir build downloads and ships for virtualenv seeding from 26.1.2 to 26.2, which vendors urllib3 2.7.0 and fixes CVE-2026-44432 (a decompression-bomb bypass in urllib3 2.6.0-2.6.3). The earlier 25.2 -> 26.1.2 bump (#69853/#69852) only got urllib3 to 2.6.3.

Also bumps relenv 0.22.18 -> 0.22.22, since pip 26.2 changed the signature of InstallRequirement.install() (added a script_executable kwarg) and 0.22.18's compatibility patch for that doesn't fully cover it. relenv 0.22.22 introspects pip's actual signature instead of assuming a fixed shape.

  • tools/pkg/build.py: bump pip==26.1.2 -> pip==26.2 in _download_pip_wheel() and onedir_dependencies(), update docstring/comments
  • requirements/constraints.txt: update comment reference only; the dev/lint pip == 25.2 pin is unrelated and unchanged
  • cicd/shared-gh-workflows-context.yml: relenv_version 0.22.18 ->
    0.22.22
  • .github/workflows/{ci,nightly,staging,scheduled}.yml: regenerated from templates to pick up the relenv version bump
  • changelog/70109.fixed.md: add changelog entry

What issues does this PR fix or reference?

Fixes #70109

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes/No

Updates the pip wheel Salt's onedir build downloads and ships for
virtualenv seeding from 26.1.2 to 26.2, which vendors urllib3 2.7.0
and fixes CVE-2026-44432 (a decompression-bomb bypass in urllib3
2.6.0-2.6.3). The earlier 25.2 -> 26.1.2 bump (saltstack#69853/saltstack#69852) only
got urllib3 to 2.6.3.

Also bumps relenv 0.22.18 -> 0.22.22, since pip 26.2 changed the
signature of InstallRequirement.install() (added a script_executable
kwarg) and 0.22.18's compatibility patch for that doesn't fully cover
it. relenv 0.22.22 introspects pip's actual signature instead of
assuming a fixed shape.

- tools/pkg/build.py: bump pip==26.1.2 -> pip==26.2 in
  _download_pip_wheel() and onedir_dependencies(), update
  docstring/comments
- requirements/constraints.txt: update comment reference only; the
  dev/lint pip == 25.2 pin is unrelated and unchanged
- cicd/shared-gh-workflows-context.yml: relenv_version 0.22.18 ->
  0.22.22
- .github/workflows/{ci,nightly,staging,scheduled}.yml: regenerated
  from templates to pick up the relenv version bump
- changelog/70109.fixed.md: add changelog entry
@twangboy twangboy added this to the Argon v3008.3 milestone Aug 21, 2026
@twangboy twangboy self-assigned this Aug 21, 2026
@twangboy
twangboy requested a review from a team as a code owner August 21, 2026 22:03
@twangboy twangboy added the test:full Run the full test suite label Aug 21, 2026
relenv 0.22.22 only publishes native Python builds for 3.14.7, not
3.14.6 -- CI was failing in the "Fetch Native Python Build" step of
Setup Relenv with:

    HTTP Error 404: Not Found
    Unable to find file on any hosts: github.com packages.broadcom.com woz.io

because `relenv fetch --python=3.14.6` no longer has a matching
release asset for relenv 0.22.22. Bumping python_version in
cicd/shared-gh-workflows-context.yml to 3.14.7 and regenerating the
workflow files fixes it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:full Run the full test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant