Skip to content

Upgrade guzzle & psr7 out of CVE-affected versions; pin dev dependencies - #9

Merged
jplcodes merged 2 commits into
mainfrom
security/guzzle-cve-2026-07
Jul 6, 2026
Merged

Upgrade guzzle & psr7 out of CVE-affected versions; pin dev dependencies#9
jplcodes merged 2 commits into
mainfrom
security/guzzle-cve-2026-07

Conversation

@jplcodes

@jplcodes jplcodes commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Two related dependency-hygiene changes.

1. Upgrade guzzle & psr7 out of CVE-affected versions

Bumps two transitive dev dependencies out of versions flagged by composer audit:

Package From To
guzzlehttp/guzzle 7.11.1 7.13.2
guzzlehttp/psr7 2.11.0 2.12.3
symfony/deprecation-contracts v3.7.0 v3.7.1 (incidental, resolver)

Advisories cleared:

  • guzzlehttp/guzzle < 7.12.1CVE-2026-55767 (dot-only cookie domains match all hosts) & CVE-2026-55568 (silent HTTPS proxy downgrade to cleartext)
  • guzzlehttp/psr7 < 2.12.1CVE-2026-55766 (CRLF injection in HTTP start-line serialization)

2. Pin dev dependencies to exact installed versions

Locks the direct dev dependencies so composer update cannot move them:

"orchestra/testbench": "^10.0"  ->  "10.11.0"
"pestphp/pest":        "^3.7"   ->  "3.8.6"
"phpstan/phpstan":     "^2.1"   ->  "2.2.2"

Production require (php: ^8.3) is unchanged.

Notes

  • Both packages in change Added custom exceptions #1 are pulled in transitively via laravel/framework -> orchestra/testbench; there is no production require on guzzle, so this is a lockfile + dev-constraint change only.
  • guzzle stays in the 7.x line (Laravel constraint ^7.8.2 satisfied).

Verification

  • composer auditNo security vulnerability advisories found
  • composer validate → valid
  • vendor/bin/pest → 143 passed (144 assertions)
  • vendor/bin/phpstan --memory-limit=1G → No errors

Justin Lyons added 2 commits July 6, 2026 09:58
Bumps transitive dev deps to patch three medium-severity advisories:
- guzzlehttp/guzzle 7.11.1 => 7.13.2 (CVE-2026-55767, CVE-2026-55568)
- guzzlehttp/psr7 2.11.0 => 2.12.3 (CVE-2026-55766)

composer audit now reports no advisories. Lockfile-only change;
composer.json is unaffected since guzzle is pulled in transitively.
Locks orchestra/testbench, pestphp/pest, and phpstan/phpstan to the
versions currently in use so composer update cannot move them. Prod
requirements are left unchanged.
@jplcodes
jplcodes merged commit 832e78a into main Jul 6, 2026
2 checks passed
@jplcodes jplcodes changed the title Upgrade guzzle & psr7 out of CVE-affected versions Upgrade guzzle & psr7 out of CVE-affected versions; pin dev dependencies Jul 6, 2026
@jplcodes
jplcodes deleted the security/guzzle-cve-2026-07 branch July 6, 2026 15:41
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