CVE-2025-47275
Description
Auth0-PHP provides the PHP SDK for Auth0 Authentication and Management APIs. Starting in version 8.0.0-BETA1 and prior to version 8.14.0, session cookies of applications using the Auth0-PHP SDK configured with CookieStore have authentication tags that can be brute forced, which may result in unauthorized access. Certain pre-conditions are required to be vulnerable to this issue: Applications using the Auth0-PHP SDK, or the Auth0/symfony, Auth0/laravel-auth0, and Auth0/wordpress SDKs that rely on the Auth0-PHP SDK; and session storage configured with CookieStore. Upgrade Auth0/Auth0-PHP to v8.14.0 to receive a patch. As an additional precautionary measure, rotating cookie encryption keys is recommended. Note that once updated, any previous session cookies will be rejected.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
auth0/auth0-phpPackagist | >= 8.0.0-BETA1, < 8.14.0 | 8.14.0 |
Patches
203579f7e6bd552a79480fdb2Merge commit from fork
1 file changed · +7 −1
src/Store/CookieStore.php+7 −1 modified@@ -13,6 +13,7 @@ use function is_array; use function is_int; use function is_string; +use function strlen; /** * This class provides a layer to persist transient auth data using cookies. @@ -39,6 +40,11 @@ final class CookieStore implements StoreInterface */ public const VAL_CRYPTO_ALGO = 'aes-128-gcm'; + /** + * @var int + */ + public const VAL_CRYPTO_TAG_LENGTH_BYTES = 16; + /** * When true, CookieStore will not setState() itself. You will need manually call the method to persist state to storage. */ @@ -123,7 +129,7 @@ public function decrypt( $iv = base64_decode($data['iv'], true); $tag = base64_decode($data['tag'], true); - if (! is_string($iv) || ! is_string($tag)) { + if (! is_string($iv) || ! is_string($tag) || self::VAL_CRYPTO_TAG_LENGTH_BYTES !== strlen($tag)) { return null; }
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
8- github.com/advisories/GHSA-g98g-r7gf-2r25ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-47275ghsaADVISORY
- github.com/auth0/auth0-PHP/commit/52a79480fdb246f59dbc089b81a784ae049bd389nvdWEB
- github.com/auth0/auth0-PHP/releases/tag/8.14.0nvdWEB
- github.com/auth0/auth0-PHP/security/advisories/GHSA-g98g-r7gf-2r25nvdWEB
- github.com/auth0/laravel-auth0/security/advisories/GHSA-9fwj-9mjf-rhj3nvdWEB
- github.com/auth0/symfony/security/advisories/GHSA-9wg9-93h9-j8chnvdWEB
- github.com/auth0/wordpress/security/advisories/GHSA-2f4r-34m4-3w8qnvdWEB
News mentions
0No linked articles in our index yet.