Invalid Provider Data Vulnerability in GoTrue

github.com/netlify/gotrue Updated 02 Oct 2025

Summary

21/08/2024
N/A
Yes i
Unrated
Not published

GO-2022-0365: User object created with invalid provider data in GoTrue in github.com/netlify/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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

GoTrue is a package in the Go ecosystem that provides an authentication and user management system. It is commonly used in web applications to handle user authentication and authorization. This vulnerability affects the github.com/netlify/gotrue package.

Vulnerability Detail

The vulnerability arises from the creation of a user object with invalid provider data in GoTrue. This can lead to various security issues, such as unauthorized access or privilege escalation. Attackers may exploit this vulnerability to gain unauthorized access to user accounts or perform actions on behalf of other users.

How To Fix

Latest published version: v1.0.1 as of 23 Oct 2026

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

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

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

There is no known workaround for this vulnerability. It is crucial to update the package to the fixed version as soon as possible.

Conclusion

The invalid provider data vulnerability in GoTrue can lead to unauthorized access and other security risks. It is crucial to update the affected package to version 1.0.1 or later to mitigate these risks. No known workarounds or temporary measures are available, so updating the package is the recommended course of action.

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

Share this vulnerability

FAQ

The vulnerability can potentially allow attackers to gain unauthorized access to user accounts or perform actions on behalf of other users.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply provide your Gopkg.lock file, and Vulert will analyze it for any open-source vulnerabilities, including this one.

At the time of this report, there are no known public exploits for this vulnerability. However, it is essential to update the package to the fixed version to mitigate any potential risks.

Unfortunately, there are no known temporary measures or workarounds for this vulnerability. It is highly recommended to update the package to the fixed version as soon as possible.

You can find more details about this vulnerability in the Go vulnerability database at https://pkg.go.dev/vuln/GO-2022-0365.

Related vulnerabilities

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

How To Fix

Latest published version: v1.0.1 as of 23 Oct 2026

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

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

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