Read the docs
TI-2025-43722 Aliases GHSA-jhmr-57cj-q6g9

Komari vulnerable to 2FA Authentication Bypass

Priority LOW 38CWE-287Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
Security bypass
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-287.

Summary

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

Why it matters now

Fix Fixed github.com/komari-monitor/komari (Go): 0.0.0-20250809064056-cc3d54bff4c6

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—github.com/komari-monitor/komari (Go)before 0.0.0-20250809064056-cc3d54bff4c60.0.0-20250809064056-cc3d54bff4c6Patch availableGHSA-jhmr-57cj-q6g9
  • github.com/komari-monitor/komari (Go) Vendor— Affected before 0.0.0-20250809064056-cc3d54bff4c6 Fixed in 0.0.0-20250809064056-cc3d54bff4c6 Patch available GHSA-jhmr-57cj-q6g9

Remediation

  • Fix · GHSA-jhmr-57cj-q6g9 github.com/komari-monitor/komari (Go) Fixed in 0.0.0-20250809064056-cc3d54bff4c6 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-jhmr-57cj-q6g9

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences