Invalid Provider Data Vulnerability in GoTrue

github.com/netlify/gotrue Updated 02 Oct 2025

Summary

09/02/2022
MODERATE
Yes i
Moderate
Not published

GHSA-wpfr-6297-9v57: User object created with invalid provider data in GoTrue. Affects github.com/netlify/gotrue versions < 1.0.1. Fixed in 1.0.1. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

GoTrue is an open-source authentication and user management library for Go applications. It provides features like user registration, login, and password recovery. The vulnerability affects instances of GoTrue used as a service. The provider metadata in the user object can be created with invalid data under certain circumstances.

Vulnerability Detail

The vulnerability allows the creation of a valid user object with incorrect provider metadata. This can impact users who rely on the provider metadata for securing other resources. The severity of this vulnerability is considered moderate. The issue has been patched in version 1.0.1 of GoTrue. Users are advised to upgrade to this version to mitigate the vulnerability.

How To Fix

Minimum fixed version

1.0.1

This is the first release that contains the fix.

go get github.com/netlify/gotrue@v1.0.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If users do not rely on the provider metadata in the user object, they may not be affected by this vulnerability. However, it is still recommended to upgrade to the patched version of GoTrue.

Conclusion

The invalid provider data vulnerability in GoTrue can lead to the creation of user objects with incorrect provider metadata. Users are advised to upgrade to version 1.0.1 or later to fix the vulnerability. If users do not rely on the provider metadata, they may not be affected, but upgrading is still recommended. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for github.com/netlify/gotrue →

Share this vulnerability

FAQ

This vulnerability affects everyone running an instance of GoTrue as a service.

Under certain circumstances, a valid user object can be created with invalid provider metadata. This can impact users who rely on the provider metadata for securing other resources.

Yes, the vulnerability has been patched in version 1.0.1 of GoTrue.

If users do not rely on the provider metadata in the user object, they may not be affected by this vulnerability. However, it is still recommended to upgrade to the patched version of GoTrue.

More information about this vulnerability can be found in the advisory report by Supabase: https://github.com/supabase/gotrue/security/advisories/GHSA-5hvv-9cqv-894r

Related vulnerabilities

Recent vulnerabilities recorded for github.com/netlify/gotrue.

How To Fix

Minimum fixed version

1.0.1

This is the first release that contains the fix.

go get github.com/netlify/gotrue@v1.0.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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