CVE-2026-141283 PUBLISHED

Social sign-in accepts provider tokens issued to other applications, allowing account takeover

Assigner: postiz
Reserved: 01.12.2026 Published: 01.12.2026 Updated: 01.12.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
CVSS Score: 8.1

Product Status

Vendor GitroomHQ
Product postiz-app
Versions Default: unaffected
  • affected from 0 to 2.26.1 (excl.)

Affected Configurations

With the generic provider, an identity provider that gives each client a different (pairwise) subject identifier for the same person is not affected.

Exploits

Exploitation was demonstrated against an unmodified backend build at commit 3a7d28b7ad96 with the generic OIDC provider and a local identity provider: an access token issued to a second application signed the attacker in as the victim, and the session returned the victim's organization API key. The Google and GitHub paths were exercised against local stand-ins for those providers with the same result.

Workarounds

Leaving the Google, GitHub and generic OAuth settings unset stops the attack, but also stops accounts created through those providers from signing in.

Solutions

Upgrade to Postiz v2.26.1 or later.

Credits

  • Anthropic, PBC finder
  • Enno Gelhaus coordinator
  • Enno Gelhaus remediation developer

References

Problem Types

  • CWE-287 CWE
  • CWE-345 CWE

Impacts

  • An attacker who holds an access token that Google, GitHub or the configured generic OAuth provider issued to any application for a Postiz user can sign in as that user without a Postiz account and gets their full session: every organization they belong to, its posts, connected channels, team settings and API key.
  • The same token sent to the registration endpoint for a person without a Postiz account creates an account tied to that person's provider identity, which the attacker already holds a session for and which the person's later genuine sign-ins land in.