Nixpkgs Security Tracker

Login with GitHub

Details of issue NIXPKGS-2026-0536

NIXPKGS-2026-0536
published on 7 Mar 2026
updated 11 hours ago by @mweinelt Activity log
  • Created automatic suggestion
  • @mweinelt accepted
  • @mweinelt published on GitHub
Gokapi: CSRF in Login Endpoint

Gokapi is a self-hosted file sharing server with automatic expiration and encryption support. Prior to version 2.2.3, the login flow accepts credential-bearing requests without CSRF protection mechanisms tied to the browser session context. The handler parses form values directly and creates a session on successful credential validation. This issue has been patched in version 2.2.3.

Affected products

Gokapi
  • ==< 2.2.3

Matching in nixpkgs

Package maintainers