CVE-2024-56329: Socialstream Potential Account Takeover Vulnerability Due to Missing User Consent

joelbutcher/socialstream Updated 14 Dec 2025

Summary

20/12/2024
Yes i
High
8.9

CVE-2024-56329: Description When linking a social account to an already authenticated user, the lack of a confirmation step introduces a security risk. Affects joelbutcher/socialstream across 2 version ranges.

< 5.6.0 >= 6.0.0, < 6.2.0

Fixed in 5.6.0 or 6.2.0, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Socialstream is a package designed for integrating social authentication into applications, allowing users to link their social media accounts for seamless login experiences. It provides a straightforward way for developers to implement OAuth authentication. However, the package has a critical vulnerability that can lead to account takeover if proper user consent is not obtained during the account linking process.

Vulnerability Detail

The vulnerability arises when a social account is linked to an already authenticated user without requiring explicit user confirmation. This lack of a confirmation step poses a security risk, especially when the ->stateless() configuration is used in Socialite, which bypasses state verification. As a result, an attacker could exploit this flaw to link their own social account to a victim's account, potentially gaining unauthorized access to sensitive information and functionalities.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 5.6.0 5.6.0
    composer require joelbutcher/socialstream:5.6.0
  • >= 6.0.0, < 6.2.0 6.2.0
    composer require joelbutcher/socialstream:6.2.0

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary workaround, developers should implement a manual confirmation step in their application logic before linking social accounts. This can be done by prompting users to confirm or deny the linking request through a dialog or notification.

Conclusion

The CVE-2024-56329 vulnerability in the Socialstream package poses a significant risk of account takeover due to missing user consent during social account linking. Developers are advised to update to version 6.2.0 or later to mitigate this risk and ensure user security.

See every vulnerability recorded for joelbutcher/socialstream →

Share this vulnerability

FAQ

CVE-2024-56329 is a vulnerability in the Socialstream package that allows potential account takeover due to missing user consent during social account linking.

You can check if your application is affected by using Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to analyze your composer.lock file without any signup.

The primary risk is that an attacker could link their social account to a victim's account, leading to unauthorized access and potential data breaches.

Yes, the patch is available in Socialstream version 6.2.0 and later. It requires user confirmation for linking social accounts.

If immediate updates are not possible, implement a manual confirmation step in your application to ensure users explicitly approve any social account linking.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 5.6.0 5.6.0
    composer require joelbutcher/socialstream:5.6.0
  • >= 6.0.0, < 6.2.0 6.2.0
    composer require joelbutcher/socialstream:6.2.0

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback