Skip to content

php: upgrade Composer CA bundle to 1.6.0 - #498

Merged
rahultee merged 3 commits into
mainfrom
security/composer-ca-bundle
Oct 22, 2026
Merged

rahultee merged 3 commits into
mainfrom
security/composer-ca-bundle

Conversation

@rahultee

@rahultee rahultee commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Why

Composer 2.10.3 is the latest application release, but it locks composer/ca-bundle to 1.5.12. That bundled fallback still accepts a compromised chain listed at https://emudhra.we-have-a-problem.com/.

What changed

Upgrade the released composer/ca-bundle dependency to 1.6.0 in Composer's lockfile. Regenerate the vendor hash. Keep Composer 2.10.3, PHP 8.2 and PHP 8.4 unchanged.

The lockfile change was generated with Composer's dependency resolver and updates only this dependency. No PEM files are replaced manually. The system CA update remains separate at #494.

Test plan

Both Composer packages built successfully. The installed dependency metadata reports composer/ca-bundle 1.6.0 on PHP 8.2 and PHP 8.4.

PHP TLS probes using Composer's selected default CA file and bundled fallback rejected both the direct and cross-signed test hosts and accepted example.com on both PHP versions. Changed-file formatting and git diff checks passed. No complete bundle build was run.

Rollout

Rebuild and distribute the PHP modules. Existing artifacts keep their old dependencies until rebuilt. This complements, but does not replace, the system CA update. Custom user trust stores are not changed. Reverting restores the old dependency and its unsafe fallback trust.

  • This is fully backward and forward compatible

~ written by ⠕ Replit

@rahultee
rahultee marked this pull request as ready for review October 22, 2026 08:25
@rahultee
rahultee requested a review from a team as a code owner October 22, 2026 08:25
@rahultee
rahultee requested review from vlinkz and removed request for a team October 22, 2026 08:25
@rahultee
rahultee enabled auto-merge (squash) October 22, 2026 08:42
@rahultee
rahultee merged commit aa62f4f into main Oct 22, 2026
8 checks passed
@rahultee
rahultee deleted the security/composer-ca-bundle branch October 22, 2026 16:46
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.

3 participants