ADVISORIES

GitHub Advisory Database

GHSA-gqv7-j2j8-qmwq

Mattermost fails to canonicalize IPv4-mapped IPv6 addresses before reserved IP validation

Details

Mattermost versions 11.3.x <= 11.3.0, 11.2.x <= 11.2.2, 10.11.x <= 10.11.10 fail to canonicalize IPv4-mapped IPv6 addresses before reserved IP validation which allows an attacker to perform SSRF attacks against internal services via IPv4-mapped IPv6 literals (e.g., [::ffff:127.0.0.1]).. Mattermost Advisory ID: MMSA-2026-00585

Affected packages

EcosystemPackageAffected versions
Gogithub.com/mattermost/mattermost/server/v8
All versions before 8.0.0-20260129133647-5d787969c2d5 (fixed in 8.0.0-20260129133647-5d787969c2d5)
Gogithub.com/mattermost/mattermost-server
All versions before 5.3.2-0.20260129133647-5d787969c2d5 (fixed in 5.3.2-0.20260129133647-5d787969c2d5)
Gogithub.com/mattermost/mattermost-server
From 10.11.0-rc1 before 10.11.11 (fixed in 10.11.11)
Gogithub.com/mattermost/mattermost-server
From 11.2.0-rc1 before 11.2.3 (fixed in 11.2.3)
Gogithub.com/mattermost/mattermost-server
From 11.3.0-rc1 before 11.3.1 (fixed in 11.3.1)

References