Intel

AIKIDO-2026-10551

social-auth-core is vulnerable to Improper Input Validation

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Apr 24, 2026
April 24, 2026

70

CVE Score

High

Improper Input Validation

Are you affected? Scan for Free

TL;DR

The sanitize_redirect helper decides whether a return URL is allowed for a set of trusted hosts. It previously let through targets containing backslashes or Unicode control characters and did not reject non-HTTP(S) schemes in all cases, which can combine with browser normalization to produce unsafe redirects. Several OAuth backends now enable the standard STATE_PARAMETER so callbacks can be tied to the authorization step, and one provider passes the checked state when building the follow-up request. The SAML flow no longer reuses a stored session for the return leg until the SAML response has been cryptographically checked, and OpenID Connect PKCE handling defaults to the RFC’s S256 and verifier length on the shared PKCE base class path.

How do I fix this?

Upgrade the social-auth-core library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Versions

0.0.1 - 4.8.6

Fixed in 4.8.7

Background info

social-auth-core is vulnerable to Improper Input Validation in versions 0.0.1 - 4.8.6.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea