Skip to content

[Security] CVE-2026-56854 (CRITICAL): golang.org/x/crypto vuln in go-replace (8.4-alpine) #573

Description

@muhmasum50

Hello WebDevOps Team 👋

We use webdevops/php-nginx in production and run a Trivy scan on it every deploy. On this latest scan of webdevops/php-nginx:8.4-alpine, we found a CRITICAL vuln worth flagging.

It's in the go-replace binary bundled inside the image — it's linked against golang.org/x/crypto v0.54.0, which has CVE-2026-56854: an SSH auth bypass caused by unenforced source-address restrictions. Fix is already out in v0.55.0.

Scan details:
trivy image --exit-code 0 --severity CRITICAL --ignore-unfixed --no-progress webdevops/php-nginx:8.4-alpine ​

Target usr/local/bin/go-replace
Library golang.org/x/crypto
CVE CVE-2026-56854
Severity CRITICAL
Installed v0.54.0
Fixed in v0.55.0
Reference https://avd.aquasec.com/nvd/cve-2026-56854

Since this is baked into the go-replace binary itself (not an apk package), an apk upgrade won't fix it — probably needs a rebuild of go-replace with the dependency bumped to 0.55.0+.

(Side note: previous CVEs we found in this image were fixed fast, thanks for that 🙌)

Happy to provide more details if needed. Thanks for maintaining this image 🙏

Trivy version used: 0.73.0 (heads up, 0.74.0 is out too if you want to stay current there as well)

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