Over the past 1–2 years I’ve encountered a recurring issue with multiple Wazuh servers where I suddenly lose the ability to log in as the admin user. I manage credentials via 1Password and can successfully log in hundreds of times without issue, but then—seemingly at random—I begin receiving the error:
"Invalid username or password, try again"
In the past, my only workaround has been to wipe and rebuild the Wazuh Linux server (thinking it was compromised) from scratch. This most recently occurred on two separate Wazuh servers (in different datacenters) on July 1, 2025.
Both servers are deployed behind WatchGuard firewalls with IPS and other security measures enabled. I also placed reverse proxies in front of them after the July incident, which worked until recently when the same login issue resurfaced on both servers.
At this point, I suspect either:
- A possible exploit in Wazuh that allows modification of credentials,
- or a bug that resets or corrupts the admin account credentials.
This has occurred approximately 6–8 times in the past year.
For verification, I extracted the stored admin credentials with:
tar -axf wazuh-install-files.tar wazuh-install-files/wazuh-passwords.txt -O | grep -P "'admin'" -A 1
The password in the file matches the one stored in 1Password, so the credentials themselves appear consistent.
Has anyone else seen this behavior, or are there known issues/exploits that could explain recurring credential corruption on Wazuh?