Authorization Bypass Through User-Controlled Key Affecting github.com/forceu/gokapi/internal/models package, versions <2.2.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Authorization Bypass Through User-Controlled Key vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMFORCEUGOKAPIINTERNALMODELS-15441018
  • published9 Mar 2026
  • disclosed5 Mar 2026
  • creditSijisu

Introduced: 5 Mar 2026

NewCVE-2026-28682  (opens in a new tab)
CWE-639  (opens in a new tab)

How to fix?

Upgrade github.com/forceu/gokapi/internal/models to version 2.2.3 or higher.

Overview

Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key in the upload status SSE implementation on /uploadStatus, which publishes global upload state to any authenticated listener and includes file_id values not scoped to the requesting user. An attacker can access other users' file identifiers and retrieve unauthorized content by listening to the upload status stream after authenticating.

CVSS Base Scores

version 4.0
version 3.1