Improper Privilege Management Affecting github.com/h44z/wg-portal/internal/domain package, versions <2.1.3


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.31% (22nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Privilege Management vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMH44ZWGPORTALINTERNALDOMAIN-15367352
  • published2 Mar 2026
  • disclosed26 Feb 2026
  • creditgregtuc

Introduced: 26 Feb 2026

CVE-2026-27899  (opens in a new tab)
CWE-269  (opens in a new tab)

How to fix?

Upgrade github.com/h44z/wg-portal/internal/domain to version 2.1.3 or higher.

Overview

Affected versions of this package are vulnerable to Improper Privilege Management via the IsAdmin field in the user profile update process. An attacker can gain unauthorized administrative privileges by sending a crafted PUT request to their own user profile endpoint with IsAdmin set to true in the JSON body.

CVSS Base Scores

version 4.0
version 3.1