Gallery for Google Photos exposes persistent OAuth credentials
Gallery for Google Photos before 1.2.1 does not restrict access to the connected account's stored OAuth credentials. An unauthenticated visitor can retrieve both the persistent access token and refresh token, enabling long-term access to the linked third-party account within the granted scopes.
- Component
- Gallery for Google Photos
- Plugin slug
gallery-for-google-photos- Affected
- < 1.2.1
- Safe version
1.2.1- Published
- Aug 02, 2026
This CVE was published Aug 02, 2026 and is one of 1 known issue for this plugin.
Update, patch or deactivate.
Update Gallery for Google Photos to 1.2.1 or later. Revoke the exposed OAuth grant at the provider, reconnect with a new authorization, review linked-account activity and determine which photos or account data may have been accessed.
A safe version is available, so updating to that version or later is the preferred remediation. If an immediate update is not practical, consider a targeted application patch or temporarily restricting the affected functionality.
Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.
Technical description
The Gallery for Google Photos WordPress plugin before 1.2.1 does not properly restrict access to the stored third-party OAuth credentials of the connected account, exposing the persistent access and refresh tokens to unauthenticated users and allowing long-term compromise of the linked account.
CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N