chore(deps): upgrade firebase/php-jwt to ^7.0 to fix security advisory#28
Merged
chore(deps): upgrade firebase/php-jwt to ^7.0 to fix security advisory#28
Conversation
Bump firebase/php-jwt from ^6.8 to ^7.0 and update composer.lock to v7.0.2. This resolves Dependabot alert #2 and the associated advisory: - GHSA-2x45-7fc3-mxwq - CVE-2025-45769 Validation: - composer test (42 tests passed) - composer audit --format=plain (no known vulnerabilities)
There was a problem hiding this comment.
Pull request overview
This PR upgrades the firebase/php-jwt dependency from version ^6.8 to ^7.0 to address a high-severity security vulnerability (CVE-2025-45769). The upgrade resolves Dependabot alert #2 while maintaining compatibility with the existing codebase, as confirmed by passing tests.
Changes:
- Upgraded
firebase/php-jwtconstraint from^6.8to^7.0in composer.json - Updated composer.lock with firebase/php-jwt v7.0.2 and its updated dependencies
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| composer.json | Updated firebase/php-jwt dependency constraint to ^7.0 |
| composer.lock | Refreshed lock file with firebase/php-jwt v7.0.2, including updated PHP requirement (^8.0) and dev dependencies |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
charIeszhao
approved these changes
Feb 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
firebase/php-jwtfrom^6.8to^7.0incomposer.jsoncomposer.locktofirebase/php-jwt v7.0.2GHSA-2x45-7fc3-mxwq/CVE-2025-45769)Security Context
Dependabot flagged
firebase/php-jwtversions< 7.0.0as vulnerable (high severity).This PR upgrades the dependency to a patched version (
>= 7.0.0).Notes
firebase/php-jwtv7 introduces stricter key-strength validation.For this SDK usage (OIDC/JWKS verification), no functional behavior changes are expected.
Testing
composer test→ 42 tests passedcomposer audit --format=plain→ No security vulnerability advisories foundChecklist
.changeset