CVE-2026-141283: Social sign-in accepts provider tokens issued to other applications, allowing account takeover
When a person signs up with a social provider, Postiz redeems the authorization code with its own client credentials and hands the browser a provider token, which the sign-up form sends back to complete registration. The login and registration endpoints accepted any provider access token in that field and only asked the provider whose token it was, without checking which application it had been issued to.
An access token that the same provider issued to a different application for the same person was therefore enough to open that person's Postiz session, with all of their organizations, channels and the organization API key. The same token sent to the registration endpoint for a person without an account created an account tied to their provider identity, which their later genuine sign-ins would land in. Accounts that sign in with e-mail and password, and Apple sign-in, are not affected.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.26.1
Event History
Frequently Asked Questions
Which accounts are exposed?
Only accounts using affected social providers are exposed. E-mail/password accounts and Apple sign-in accounts are not affected.
What does an attacker need to take over an account?
The attacker needs a provider access token issued for the targeted person by the same social provider, even if that token was issued to another application. No Postiz credentials are required.
What could an attacker access after exploitation?
A successful attacker can open the victim's Postiz session and access their organizations, channels, and organization API key.
Can this also affect people who do not yet have a Postiz account?
Yes. A token for a person without an existing account could be sent to the registration endpoint to create an account tied to that provider identity; the person's later legitimate sign-ins would enter that account.
What release contains the referenced fix?
The provided references identify Postiz release v2.26.1 and the associated fix commit.