Improper Authentication Affecting github.com/enchant97/note-mark/backend/db package, versions <0.19.3


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.3% (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 Authentication vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMENCHANT97NOTEMARKBACKENDDB-16415220
  • published4 May 2026
  • disclosed25 Apr 2026
  • creditadrgs

Introduced: 25 Apr 2026

CVE-2026-41571  (opens in a new tab)
CWE-287  (opens in a new tab)

How to fix?

Upgrade github.com/enchant97/note-mark/backend/db to version 0.19.3 or higher.

Overview

Affected versions of this package are vulnerable to Improper Authentication via the IsPasswordMatch function. An attacker can gain unauthorized access to accounts registered through OIDC by submitting the password "null" to the internal login endpoint, which results in a valid session being issued for the targeted user. The attacker can then read, modify, or delete user data and persist access by changing the account password, effectively locking out the legitimate user. This is only exploitable if the deployment has OIDC enabled and the default configuration with internal login and anonymous user search is active.

CVSS Base Scores

version 4.0
version 3.1