Global search shows matches from VM notes (Proxmox description field)
Hey there! 👋 Thanks for taking the time to report this bug — we appreciate it!
Please keep in mind: PegaProx is developed and maintained entirely by volunteers in our free time. We do our best, but we can't work magic 🪄 — please be patient, we'll get to your issue as soon as we can.
Want to help keep PegaProx alive?
- ⭐ Star the project — it's free and helps a lot!
- 💖 Become a Sponsor — helps us dedicate more time to development
- 🤝 Contributing code or docs is always welcome too!
Describe the bug
Top left search, doing a search for even the first 2 letters of your password will show all devices associated with the full password and the user name. Which makes me wonder if there not encrypted and plain text. Just find it odd that they block out the password once you type it but you can search and find it.
Steps to Reproduce
- Top left search
- First 2 letters of password
- Fully listed vms with Full password and admin account
Expected behavior
Not show the passwords or make them searchable
Environment
- PegaProx Version: 1.4.1
- Installation Method: <!-- Proxmox VM / Manual (git clone)
- OS: Ubuntu 26.04.1 LTS
- Browser: Firefox 16
- Behind Reverse Proxy? No
- UI? default
Logs
Screenshots
Checklist
- [x ] I have searched existing issues to make sure this is not a duplicate
- [ x] I am using the latest version of PegaProx
- [ x] I've put enough in here that someone can start on it without asking me three questions first
- [ x] I understand PegaProx is maintained by volunteers in their free time. Nobody is on call, and writing URGENT doesn't get anyone out of bed 🪄
Hey @Yakko1st, thanks for filing it again with the template.
I'm fairly sure those hits come from the VM notes. The search also looks through each guest's Notes (the Proxmox description field) and shows a short snippet around the match, so if a VM's notes have a login in them, typing part of it brings that VM up with the text. The notes are stored in plain text by Proxmox itself, in the guest config. PegaProx just reads them, and the search only lists guests your account can open anyway, where the Notes tab shows the same thing.
Could you check whether those VMs have the credentials in their notes? If they do, a password manager is the better home for them. If the match comes from somewhere else, tell me where and I'll dig into it.
Marcus
(if PegaProx earns its keep for you, https://opencollective.com/pegaprox helps us keep at it)
Closing this one, as there is nothing to fix on our side. I went through the search code again: besides name, ID, node, tags and IPs, it only reads three things from each guest's config, the MAC addresses, the static IPs and the Notes. No password field is read. So a password that shows up in the results is written in that VM's notes, which Proxmox stores in plain text and shows to anyone who can open the VM.
Moving those credentials into a password manager (and changing them, since the notes were readable all along) takes care of it. If a VM with empty notes still comes up for a password, reply here and I'll reopen.
Marcus