GHSA-3hcj-9m7p-wwm9: Go/github.com/gotify/server/v3 vulnerability

Published Oct 15, 2026
·
Updated

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

bash Attacker has obtained a client token No prior password knowledge required STOLENTOKEN="Cxxxxxxxxxx"

curl -X POST "http://gotify-host/current/user/password?token=${STOLENTOKEN}" \ -H "Content-Type: application/json" \ -d '{"pass":"attackercontrolsthis"}' 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.

Affected Software

2 affected componentsFixes available
go/github.com/gotify/server/v3<3.0.0
3.0.0
go/github.com/gotify/server/v2<=2.9.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/gotify/server/v3 to a version that resolves this vulnerability.

    Fixed in 3.0.0
  2. Upgrade

    Upgrade Gotify to a version that resolves this vulnerability.

    Fixed in 3.0.0
  3. Compensating control

    Restrict access to the state-changing endpoints under /user and /current/user to trusted networks.

Event History

Oct 15, 2026
Advisory Published
via GitHub·08:15 PM
Data Sourced
via GitHub·08:15 PM
DescriptionWeaknessAffected Software

Frequently Asked Questions

1

What does an attacker need to exploit this issue?

The attacker needs possession of a valid Gotify client token for the target user. They do not need to know the user's current password.

2

Which deployments are affected?

Gotify versions 2.9.1 and earlier are affected. The issue applies to deployments where an attacker can reach the password-change endpoint and has obtained a valid client token.

3

What is the impact if exploitation succeeds?

An attacker can set a new password for the affected user and take control of the account. Recovery requires administrator intervention or direct database access.

4

What can be done if an immediate upgrade is not possible?

Restrict access to state-changing endpoints under /user and /current/user to trusted networks. This reduces the opportunity for someone holding a stolen client token to reach the password-change endpoint.

5

What upgrade addresses the issue?

Upgrade to Gotify 3.0.0. This version requires step-up authentication with the account password before a password can be changed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203