Skip to content

Pin patched PHP image against CVE-2026-109618/109619 (PHP2Shell) - #577

Merged
victazzz merged 1 commit into
mainfrom
fix/php2shell-cve-2026-109618
Oct 26, 2026
Merged

victazzz merged 1 commit into
mainfrom
fix/php2shell-cve-2026-109618

Conversation

@victazzz

Copy link
Copy Markdown
Contributor

The runtime stage used the floating php:apache tag, so images built before the 2026-10-21 PHP security release (or from a stale cached base layer) shipped PHP vulnerable to RCE (0.4.08 ships PHP 8.5.9). Pin php:8.5.12-apache via PHP_VERSION and fail the build when PHP is below the fixed release for its branch (8.5.12 / 8.4.27 / 8.3.36 / 8.2.35) or on an EOL branch.

The runtime stage used the floating php:apache tag, so images built
before the 2026-10-21 PHP security release (or from a stale cached
base layer) shipped PHP vulnerable to RCE (0.4.08 ships PHP 8.5.9).
Pin php:8.5.12-apache via PHP_VERSION and fail the build when PHP is
below the fixed release for its branch (8.5.12 / 8.4.27 / 8.3.36 /
8.2.35) or on an EOL branch.
@victazzz
victazzz merged commit 5430bc6 into main Oct 26, 2026
2 checks passed
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.

2 participants