GHSA-m2hx-wjxc-9fp4

Suggest an improvement
Source
https://github.com/advisories/GHSA-m2hx-wjxc-9fp4
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-m2hx-wjxc-9fp4/GHSA-m2hx-wjxc-9fp4.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-m2hx-wjxc-9fp4
Aliases
Published
2026-03-05T18:57:18Z
Modified
2026-03-23T04:56:19Z
Severity
  • 5.0 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L CVSS Calculator
Summary
Gokapi has privilege escalation with auth token
Details

Impact

A registered user without privileges to create or modify file requests is able to create a short-lived API key that has the permission to do so.

The user must be registered with Gokapi. If you do not have any other users with access to the admin/upload menu, you are not impacted.

Patches

This CVE is patched in v2.2.3

Database specific
{
    "cwe_ids": [
        "CWE-284"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-03-05T18:57:18Z",
    "nvd_published_at": "2026-03-06T05:16:40Z",
    "severity": "MODERATE"
}
References

Affected packages

Go / github.com/forceu/gokapi

Package

Name
github.com/forceu/gokapi
View open source insights on deps.dev
Purl
pkg:golang/github.com/forceu/gokapi

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-m2hx-wjxc-9fp4/GHSA-m2hx-wjxc-9fp4.json"