docker/login-action (github-action) v4.6.0 -> v4.7.0
Risk: 🟢 Safe
The Deep Dive
Update Scope
Minor bump of docker/login-action from v4.6.0 (dbcb8138) to v4.7.0 (81c6f93d) in three workflows: .github/workflows/docker-latest.yml, edge.yml and release.yml. Each one runs a single GHCR login (registry: ghcr.io, username: ${{ github.actor }}, password: ${{ secrets.GITHUB_TOKEN }}). The pinned SHA matches the upstream v4.7.0 tag. The action.yml did not change: the inputs are the same and it still runs on node24. Nothing else changes here. docker/setup-buildx-action stays at v4.4.1.
Features & UX
- Docker Hub OIDC: longer token lifetime and more logging. The maximum token expiry goes from 1h to 6h (#1068), and progress is now logged during the token exchange (#1061). This only applies to Docker Hub OIDC logins. All three workflows log in to
ghcr.io with GITHUB_TOKEN, so the code path is not used and nothing changes for this repo.
Security
- No advisories have been published for docker/login-action itself (repo advisories).
- #1085 bumps the bundled
undici from 6.27.0 to 6.29.1. It comes in through @actions/http-client and @actions/github. The bump resolves these advisories (affected 6.x range in brackets):
- Exposure in this repo: all three workflows pass a static
GITHUB_TOKEN password for ghcr.io. That input is not an ECR registry and is not a Docker Hub OIDC login, so src/docker.ts sends it to loginStandard, which runs docker login --password-stdin through the Docker CLI. So the login call goes through the Docker CLI, not undici. This evaluation did not trace other undici-backed HTTP use in the action's main or post steps; any such calls would go to endpoints the action itself chooses, not to inputs from this repo. Reachability is therefore low but not fully ruled out, and the bump removes the vulnerable version either way.
- Introduced vulnerabilities: none. A GitHub Advisory DB query for
[email protected] returns no results.
- Net effect: a small reduction in risk.
Key Fixes
- Scoped-credential path for registries given with a URL scheme (#1088) and
ecr: false now honored in registry-auth (#1089). Both fix only scope and registry-auth/ECR usage. None of the three workflows sets scope, registry-auth or ecr, so neither fix applies here.
Newer Versions
v4.7.0 is the newest release (release list). Searching docker/login-action issues for v4.7.0 and for issues created on or after 2026-10-23 returned no results, so there are no regression reports.
Hazards & Risks
None identified. The action interface (action.yml) did not change, and the only behavior changes are in the Docker Hub OIDC, scoped-credential and ECR code paths, which this repo does not use. CI passed on this PR, including the docker job.
Sources
🟢 Verdict: Safe
This is a routine minor bump. All the functional changes are in Docker Hub OIDC, scoped-credential and ECR code paths that this repo's GHCR-only loginStandard logins don't use, and the bundled undici bump resolves six advisories without adding any.
|