GO-2025-4168

Source
https://pkg.go.dev/vuln/GO-2025-4168
Import Source
https://vuln.go.dev/ID/GO-2025-4168.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2025-4168
Aliases
Published
2025-12-15T20:33:49Z
Modified
2026-03-03T04:57:42.597188Z
Summary
Mattermost fails to properly validate OAuth state tokens during OpenID Connect authentication in github.com/mattermost/mattermost-server
Details

Mattermost fails to properly validate OAuth state tokens during OpenID Connect authentication in github.com/mattermost/mattermost-server.

NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.

(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)

The additional affected modules and versions are: github.com/mattermost/mattermost-server from v10.5.0 before v10.5.13, from v10.11.0 before v10.11.5, from v10.12.0 before v10.12.2, from v11.0.0 before v11.0.4.

Database specific
{
    "url": "https://pkg.go.dev/vuln/GO-2025-4168",
    "review_status": "UNREVIEWED"
}
References

Affected packages

Go
github.com/mattermost/mattermost-server

Package

Name
github.com/mattermost/mattermost-server
View open source insights on deps.dev
Purl
pkg:golang/github.com/mattermost/mattermost-server

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Ecosystem specific

{
    "custom_ranges": [
        {
            "type": "ECOSYSTEM",
            "events": [
                {
                    "introduced": "10.5.0"
                },
                {
                    "fixed": "10.5.13"
                },
                {
                    "introduced": "10.11.0"
                },
                {
                    "fixed": "10.11.5"
                },
                {
                    "introduced": "10.12.0"
                },
                {
                    "fixed": "10.12.2"
                },
                {
                    "introduced": "11.0.0"
                },
                {
                    "fixed": "11.0.4"
                }
            ]
        }
    ]
}

Database specific

source
"https://vuln.go.dev/ID/GO-2025-4168.json"
github.com/mattermost/mattermost-server/v5

Package

Name
github.com/mattermost/mattermost-server/v5
View open source insights on deps.dev
Purl
pkg:golang/github.com/mattermost/mattermost-server/v5

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Database specific

source
"https://vuln.go.dev/ID/GO-2025-4168.json"
github.com/mattermost/mattermost-server/v6

Package

Name
github.com/mattermost/mattermost-server/v6
View open source insights on deps.dev
Purl
pkg:golang/github.com/mattermost/mattermost-server/v6

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Database specific

source
"https://vuln.go.dev/ID/GO-2025-4168.json"
github.com/mattermost/mattermost/server/v8

Package

Name
github.com/mattermost/mattermost/server/v8
View open source insights on deps.dev
Purl
pkg:golang/github.com/mattermost/mattermost/server/v8

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.0.0-20251028000919-d3ed703dc833

Database specific

source
"https://vuln.go.dev/ID/GO-2025-4168.json"