5.3medium
Gotify: Insufficiently Protected Password Change endpoint
- Severity
- 5.3medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.34% (higher than 28% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-3hcj-9m7p-wwm9GO-2026-6772
Description
Gotify server is a simple server for sending and receiving messages in real-time per WebSocket. Prior to 3.0.0, the password change endpoint (POST /current/user/password) accepts a valid client token without requiring the account's current password or another elevated authentication step. An attacker who obtains a client token can set a new password for the associated user, taking control of password authentication and forcing account recovery through an administrator or direct database access. This issue is fixed in version 3.0.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| gotify server | < 3.0.0 | CVE List |
| github.com/gotify/server/v2 (Go) | up to 2.9.1, all versions | GitHub Advisory Database, Go Vulnerability Database |
| github.com/gotify/server/v3 (Go) | before 3.0.0 | GitHub Advisory Database, Go Vulnerability Database |
| github.com/gotify/server (Go) | all versions | Go Vulnerability Database |
All scores
| GitHub_M | 5.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
Gotify server is a simple server for sending and receiving messages in real-time per WebSocket. Prior to 3.0.0, the password change endpoint (POST /current/user/password) accepts a valid client token without requiring the account's current password or another elevated authentication step. An attacker who obtains a client token can set a new password for the associated user, taking control of password authentication and forcing account recovery through an administrator or direct database access. This issue is fixed in version 3.0.0.
GitHub Advisory Database
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 OK
Mitigation
- 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.
Go Vulnerability Database
Gotify: Insufficiently Protected Password Change endpoint in github.com/gotify/server
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-102603 changed 2026-10-14 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-3hcj-9m7p-wwm9 changed 2026-10-19 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-6772 changed 2026-10-19 | CC-BY-4.0 |
| NVD | CVE-2026-102603 changed 2026-10-16 | Public domain |