Skip to content

Update parent-helper Python base and audit pip trust path (CVE-2026-133949) #1676

Open

Description

@AnthonyRonning

Why this needs a focused follow-up

The PSF assigned CVE-2026-133949 to pip's bundled certifi trust of the compromised eMudhra certificates. The PSF says pip before 26.2.2 is affected unless the Python interpreter already rejects the compromised intermediates; Python 3.13.18 includes that interpreter fix.

Both services/opensecret/nitro-toolkit/{credential_requester,logging}/Dockerfile files currently pin the same python:3.13.16-slim-bookworm base digest. Each invokes python -m pip install --require-hashes during the image build, then uninstalls pip and removes ensurepip. That narrows the likely exposure to build time, but the exact pip version and trust behavior in that digest, other build paths, built image identities, and deployed image identities have not been verified. This issue does not assert a compromised build or a vulnerable live runtime.

Related: #1197 tracks the broader eMudhra CA follow-up. This issue tracks the newly assigned pip CVE and the two helper build paths specifically.

Work

  • Inspect the exact pinned base digest in an isolated build: record its Python and pip versions, pip's bundled certifi version, and whether the interpreter rejects the affected intermediate keys. Check any other CI/helper path that invokes pip or fetches Python packages.
  • Confirm the existing hash-pinned installs cover every pip download in these image builds; identify any un-hashed fetch or alternate trust store before changing the build.
  • Prepare a reviewed, digest-pinned base update with the fixed Python trust behavior (3.13.18 or newer in the 3.13 line) and pip 26.2.2 or newer. Reconcile the Dockerfiles' explicit Debian security-package pins against the chosen base rather than silently dropping them.
  • Build and inspect both candidate images: verify effective Python/pip/certifi trust, package scan, pip/ensurepip removal from the final runtime layer, and existing credential-requester/logging behavior.
  • Record which immutable image digests were built and, separately, which are deployed. Use the normal Dev and Prod helper rollout gates for any deployment; source changes alone do not prove live remediation.

No live-service change is authorized by opening this issue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions