CVE-2026-102603
JSON

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 packageVersionsReported by
gotify server< 3.0.0CVE List
github.com/gotify/server/v2 (Go)up to 2.9.1, all versionsGitHub Advisory Database, Go Vulnerability Database
github.com/gotify/server/v3 (Go)before 3.0.0GitHub Advisory Database, Go Vulnerability Database
github.com/gotify/server (Go)all versionsGo Vulnerability Database

All scores

GitHub_M5.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
GitHubmedium CVSS:4.0CVSS: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

CWE-620

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 /user and /current/user to trusted networks.
Go Vulnerability Database

Gotify: Insufficiently Protected Password Change endpoint in github.com/gotify/server

References

Sources

SourceRecordLicence
CVE ListCVE-2026-102603 changed 2026-10-14CVE Terms of Use
GitHub Advisory DatabaseGHSA-3hcj-9m7p-wwm9 changed 2026-10-19CC-BY-4.0
Go Vulnerability DatabaseGO-2026-6772 changed 2026-10-19CC-BY-4.0
NVDCVE-2026-102603 changed 2026-10-16Public domain