Every CVESearch/Get API key

GHSA-jhmr-57cj-q6g9

Komari vulnerable to 2FA Authentication Bypass

8.5 HighFix available

GHSA-jhmr-57cj-q6g9 is a high vulnerability (CVSS 8.5) in github.com/komari-monitor/komari, published August 12, 2025. No source lists public exploit code. Fixed in github.com/komari-monitor/komari 0.0.0-20250809064056-cc3d54bff4c6.

What does this mean?
Severity
8.5 HighCVSS 4.0, GitHub Advisories
Exploit chance
UnscoredNo EPSS score yet
Exploitation
None knownNot on CISA’s or ENISA’s lists
Fixed in
0.0.0-20250809064056-cc3d54bff4c6github.com/komari-monitor/komari

Description

Summary

Logic error in 2FA verification condition allows bypass of two-factor authentication

Details

https://github.com/komari-monitor/komari/blob/bd5a6934e1b79a12cf1e6a9bba5372d0e04f3abc/api/login.go#L55

There is no way for Verify2Fa to return an error AND true as ok at the same time, any codes are considered as valid.

PoC

Use any 6 digits as 2FA code

Impact

Bypass 2FA Authentication

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
High
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
None

Affected packages

Affected packages
PackageAffectedFixed
github.com/komari-monitor/komari
Go
before 0.0.0-20250809064056-cc3d54bff4c6
0.0.0-20250809064056-cc3d54bff4c6

What each source reports

GitHub Advisories Score used8.5

Komari vulnerable to 2FA Authentication Bypass

Summary

Logic error in 2FA verification condition allows bypass of two-factor authentication

Details

https://github.com/komari-monitor/komari/blob/bd5a6934e1b79a12cf1e6a9bba5372d0e04f3abc/api/login.go#L55

There is no way for Verify2Fa to return an error AND true as ok at the same time, any codes are considered as valid.

PoC

Use any 6 digits as 2FA code

Impact

Bypass 2FA Authentication

Record
GHSA-jhmr-57cj-q6g9
CVSS 4.0
8.5 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Weakness
CWE-287
Updated
2026-11-02
OSV8.5

Komari vulnerable to 2FA Authentication Bypass

Summary

Logic error in 2FA verification condition allows bypass of two-factor authentication

Details

https://github.com/komari-monitor/komari/blob/bd5a6934e1b79a12cf1e6a9bba5372d0e04f3abc/api/login.go#L55

There is no way for Verify2Fa to return an error AND true as ok at the same time, any codes are considered as valid.

PoC

Use any 6 digits as 2FA code

Impact

Bypass 2FA Authentication

Record
GHSA-jhmr-57cj-q6g9
CVSS 4.0
8.5 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Weakness
CWE-287
Updated
2026-11-02
OSVGO-2025-3873No score

Komari vulnerable to 2FA Authentication Bypass in github.com/komari-monitor/komari

Komari vulnerable to 2FA Authentication Bypass in github.com/komari-monitor/komari

Record
GO-2025-3873
Updated
2026-11-02

History

History
RecordedChangedSources
first indexedGitHub Advisories, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

References

MoveEnter Open