GHSA-h6mp-mc7g-mg49
HIGH 7.4CVSS 3.1scheb/two-factor-bundle bypass two-factor authentication with unverified JWT trusted device token
Before version 3.7 the bundle is vulnerable to a security issue in JWT, which can be exploited by an attacker to generate trusted device cookies on their own, effectively by-passing two-factor authentication.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | scheb/two-factor-bundle | >= 3.0.0, < 3.7.0 | 3.7.0 |
References
- https://github.com/scheb/two-factor-bundle/issues/143 · WEB
- https://github.com/scheb/two-factor-bundle/commit/8890c1e47ae89e0ac6f8a40fd4bb4b91c2081aa7 · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/scheb/two-factor-bundle/2018-07-08.yaml · WEB
- https://github.com/scheb/two-factor-bundle · PACKAGE
History
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 21 May 2024)