Skip to content

fix: update PHP to 8.5.12 for CVE-2026-109618 and CVE-2026-109619 - #125

Merged
loks0n merged 1 commit into
mainfrom
fix/php-8.5.12
Oct 21, 2026
Merged

loks0n merged 1 commit into
mainfrom
fix/php-8.5.12

Conversation

@loks0n

@loks0n loks0n commented Oct 21, 2026

Copy link
Copy Markdown
Member

Pins php:8.5-alpine to the index that ships PHP 8.5.12, which fixes two critical remote code execution advisories:

Upstream: PHP 8.5.12 changelog, docker-library/official-images#22541.

Verification

  • The amd64 and arm64 manifests in sha256:467382d6… both run PHP 8.5.12. The index still lists 8.5.11 for other architectures, which this image doesn't build.
  • I built the final target locally on amd64/php:8.5.12-alpine, and it passes all 18 checks in tests.yaml. CI runs the arm64 build and the XDebug variant.

Consumers have to bump their base image and redeploy to pick up the fix.

🤖 Generated with Claude Code

PHP 8.5.12 fixes two critical remote code execution advisories,
GHSA-w8hw-w9fx-j79w and GHSA-6wmf-4rv5-p3rp. Pin php:8.5-alpine to the
index whose amd64 and arm64 images ship it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@loks0n loks0n self-assigned this Oct 21, 2026
@ghost

ghost commented Oct 21, 2026 •

Copy link
Copy Markdown

🟢 Tier S · Ready to merge

The new digest resolves to PHP 8.5.12 on both architectures built and published by this repository.

The Dockerfile now pins the PHP 8.5 Alpine base image to a new multi-architecture index digest. Its amd64 and arm64 image manifests provide PHP 8.5.12 for the repository’s build targets.

Verdict New comments Fixed Still open
✅ Approved 0 0 0
📂 Walkthrough · 1
File Change
Dockerfile Updated the pinned php:8.5-alpine index digest.

Reviewed 22d89f3 · Details · Comment @hansi-codes review to re-run, or mention @hansi-codes with a question.

@loks0n

loks0n commented Oct 21, 2026

Copy link
Copy Markdown
Member Author

After merge: tag 2.2.6 (release notes should link both GHSAs, following 2.2.5), then bump appwrite/base in cloud and server-ce and redeploy. To check a deployed pod, run php -v and look for PHP 8.5.12.

@ghost ghost left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Tier S · Looks good to merge. Summary

@loks0n
loks0n merged commit 0b6bd1f into main Oct 21, 2026
14 of 18 checks passed
@loks0n

loks0n commented Oct 21, 2026

Copy link
Copy Markdown
Member Author

Released as 2.2.6. appwrite/base:2.2.6 and 2.2.6-xdebug are published for amd64 and arm64, and php -v in appwrite/base:2.2.6 reports PHP 8.5.12. Next: bump appwrite/base in cloud and server-ce, then redeploy.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant