Vulnerabilities in pkg:golang/github.com/gotify/server/v3

PACKAGE
Advisory Identifier: GHSA-3hcj-9m7p-wwm9
Advisory Summary

CVE-2026-102603 is a MODERATE insufficiently protected password change endpoint vulnerability (CWE-620: Unverified Password Change) affecting Gotify libraries in the Go ecosystem. The issue involves insufficiently protected password change endpoint. Remediation is available by upgrading affected packages to version 3.0.0.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/gotify/server/v3

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/gotify/server/v3. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-3hcj-9m7p-wwm9 CVE-2026-102603 MODERATE Gotify: Insufficiently Protected Password Change endpoint

CVE-2026-102603 at a Glance

CVE Identifier CVE-2026-102603
GHSA Identifier GHSA-3hcj-9m7p-wwm9
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-620: Unverified Password Change
Affected Product Gotify
Package Ecosystem Go
Published Date
Last Updated

How to Fix CVE-2026-102603

To remediate this vulnerability, upgrade all affected Gotify dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/gotify/server/v2 fixed: Latest secure release
Upgrade github.com/gotify/server/v2 to Latest secure release
github.com/gotify/server/v3 fixed: 3.0.0
Upgrade github.com/gotify/server/v3 to 3.0.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/gotify/server/v2

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-102603, inspect your project dependencies for Gotify:

inspect dependencies for github.com/gotify/server/v2

Analyze the terminal output to locate any version of Gotify in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.0.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-620: Unverified Password Change, where when setting a new password for a user, the product does not require knowledge of the original password, or using another form of authentication. In Gotify, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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 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.

CVE-2026-102603 Affected Gotify Versions

2 component(s)
Fixed Versions:
3.0.0
Product / Package Ecosystem Affected Versions Fixed Version
github.com/gotify/server/v2
Go
≤ 2.9.1
github.com/gotify/server/v3
Go
< 3.0.0
3.0.0

References

Frequently Asked Questions

What is CVE-2026-102603?
CVE-2026-102603 is a security vulnerability in Gotify involving Insufficiently Protected Password Change endpoint under CWE-620: Unverified Password Change.
Which Gotify versions are affected?
Affected versions include releases prior to 3.0.0 across affected packages: github.com/gotify/server/v2, github.com/gotify/server/v3.
What version fixes CVE-2026-102603?
Upgrading to 3.0.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/gotify/server/v2 affected?
Yes, github.com/gotify/server/v2 is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
Is github.com/gotify/server/v3 affected?
Yes, github.com/gotify/server/v3 is affected in releases prior to 3.0.0. Upgrade your dependency to 3.0.0 or later.
What CWE is associated with CVE-2026-102603?
CVE-2026-102603 is classified under CWE-620: Unverified Password Change (When setting a new password for a user, the product does not require knowledge of the original password, or using another form of authentication.).
How can I check Go dependencies for CVE-2026-102603?
Run the dependency tree command: 'inspect dependencies for github.com/gotify/server/v2'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-3hcj-9m7p-wwm9",
  "modified" : "2026-10-15T20:15:38Z",
  "published" : "2026-10-15T20:15:38Z",
  "aliases" : [ "CVE-2026-102603" ],
  "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.\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.",
  "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/gotify/server/v2"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "2.9.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/gotify/server/v3"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.0.0"
      } ]
    } ]
  } ],
  "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"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-620" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-10-15T20:15:38Z",
    "nvd_published_at" : "2026-10-13T15:17:30Z"
  }
}