Skip to content

Security: update composer dependencies to patched versions#8

Merged
jplcodes merged 4 commits into
mainfrom
security/dependency-updates-2026-06
Jun 11, 2026
Merged

Security: update composer dependencies to patched versions#8
jplcodes merged 4 commits into
mainfrom
security/dependency-updates-2026-06

Conversation

@jplcodes

Copy link
Copy Markdown
Contributor

Summary

Resolves all 12 composer security advisories reported by composer audit on main (8 affected packages). After this change composer audit reports no advisories.

Changes

  • orchestra/testbench ^9.9^10.0 (dev dependency), which pulls laravel/framework v11.48 → v12.62.

    • Fixes CVE-2026-48019 (CRLF injection in Laravel's default email validation rule). Every Laravel 11.x release is affected and Laravel 11 is past its security-support EOL (March 2026); the fix only exists in 12.60+.
  • Symfony components patched within the 7.4.x line (transitive, via --with-all-dependencies):

    Package From To Advisory
    symfony/http-foundation 7.4.5 7.4.13 CVE-2026-48736 (SSRF bypass)
    symfony/http-kernel 7.4.5 7.4.13 CVE-2026-45075 (HEAD method filter bypass)
    symfony/mailer 7.4.4 7.4.12 CVE-2026-45068 (sendmail arg injection)
    symfony/mime 7.4.5 7.4.13 CVE-2026-45067 (high, CRLF/SMTP injection), CVE-2026-45070
    symfony/routing 7.4.4 7.4.13 CVE-2026-48784, CVE-2026-45065 (URL injection)
    symfony/yaml 7.4.1 7.4.13 CVE-2026-45304, -45305, -45133 (DoS)
    symfony/polyfill-intl-idn 1.33.0 1.38.1 CVE-2026-46644 (insecure IDN equivalence)

    These are all dev/test dependencies of this library (the shipped package only requires php).

Verification

  • composer auditNo security vulnerability advisories found
  • Test suite: 143 passed (144 assertions) via Pest
  • phpstan analyseNo errors

Notes

  • vendor/composer/autoload_*.php are updated because a small set of composer bootstrap files are tracked in this repo (consistent with prior dependency-update commits).
  • Laravel 12 requires PHP 8.2+. This affects only the dev/test toolchain (orchestra/testbench); the library's runtime require still declares php: ^8.1.

Justin Lyons added 4 commits June 11, 2026 14:58
Resolves 12 composer security advisories:
- Bump orchestra/testbench ^9.9 -> ^10.0, pulling laravel/framework
  v11.48 -> v12.62 (fixes CVE-2026-48019 CRLF injection in email rule;
  all Laravel 11.x is affected and past security EOL).
- Patch Symfony components within 7.4.x to safe releases:
  http-foundation/http-kernel/mime/routing 7.4.13, mailer/yaml 7.4.12,
  polyfill-intl-idn 1.38.1 (CVE-2026-48736, -45075, -45068, -45070,
  -45067, -46644, -48784, -45065, -45304, -45305, -45133).

composer audit now reports no advisories; 143 tests and phpstan pass.
Update the runtime constraint (composer.json php ^8.1 -> ^8.3), README
requirement note, and both CI workflows (8.2 -> 8.3) so the supported
PHP floor is consistent everywhere.
CI runs on PHP 8.3, but resolving on a newer local PHP pulled several
Symfony components to v8.1 (which require PHP >=8.4.1), making the lock
uninstallable in CI. Set config.platform.php = 8.3 and re-resolved,
downgrading symfony/clock, css-selector, event-dispatcher, string, and
translation back to 7.4.x. composer audit still clean; tests and
phpstan pass.
@jplcodes jplcodes merged commit bb1b149 into main Jun 11, 2026
2 checks passed
@jplcodes jplcodes deleted the security/dependency-updates-2026-06 branch June 11, 2026 20:13
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