CVE-2025-48495: Gokapi is a self-hosted file sharing server with automatic expiration and encryption support
CVE-2025-48495 is a medium-severity flaw (CVSS 5.4) affecting gokapi. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Gokapi is a self-hosted file sharing server with automatic expiration and encryption support. By renaming the friendly name of an API key, an authenticated user could inject JS into the API key overview, which would also be executed when another user clicks on his API tab. Prior to version 2.0.0, there was no user permission system implemented, therefore all authenticated users were already able to see and modify all resources, even if end-to-end
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-48495?
gokapi: upgrade to 2.0.0. Exact commands for each OS are on this page.
Is CVE-2025-48495 being exploited?
CVE-2025-48495 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-48495 affect?
CVE-2025-48495 affects gokapi. Severity is medium (CVSS 5.4). Gokapi is a self-hosted file sharing server with automatic expiration and encryption support. By renaming the friendly name of an API key, an authenticated user could inject JS into the API key overview, which would also be executed when an
How urgent is CVE-2025-48495?
Priority 20/100. No elevated risk signals yet.
Related CVEs
- CVE-2026-30961 MEDIUM 4.3 UPGRADE Gokapi is a self-hosted file sharing server with automatic expiration and encryption support
- CVE-2026-30955 MEDIUM 6.5 UPGRADE Gokapi is a self-hosted file sharing server with automatic expiration and encryption support
- CVE-2026-30943 MEDIUM 4.1 UPGRADE Gokapi is a self-hosted file sharing server with automatic expiration and encryption support
- CVE-2026-29084 MEDIUM 4.6 UPGRADE Gokapi is a self-hosted file sharing server with automatic expiration and encryption support
- CVE-2026-29061 MEDIUM 5.4 UPGRADE Gokapi is a self-hosted file sharing server with automatic expiration and encryption support