{"vuln_id":"CVE-2026-116678","aliases":["GHSA-hw4g-2v3f-74x5","CVE-2026-47160","GHSA-72vh-x5jq-m82g"],"description":"Icon endpoint SSRF fix bypass via second-stage favicon IP literal URLs","published_at":"2026-10-03T20:05:28Z","modified_at":"2026-10-27T17:26:13Z","first_seen_at":"2026-11-22T13:40:16.268098Z","severity":"medium","severity_source":"ghsa","cvss_score":5.8,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N","cwe":["CWE-918"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.0033,"epss_percentile":0.26604,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-116678"},"matched_alias":null,"items":[{"id":12041,"source":{"id":"gh-vaultwarden","name":"Vaultwarden releases + advisories (GitHub dani-garcia/vaultwarden)"},"title":"GHSA-hw4g-2v3f-74x5 / CVE-2026-116678: Icon endpoint SSRF fix bypass via second-stage favicon IP literal URLs","summary":"Icon endpoint SSRF fix bypass via second-stage favicon IP literal URLs # Vaultwarden icon endpoint SSRF fix bypass via second-stage icon URL IP literals ## Summary The Vaultwarden icon downloader in 1.36.0 and earlier validates the user-supplied icon host before fetching the target page and revalidates DNS answers through a custom `reqwest` DNS resolver. However, after parsing a controlled HTML page, it fetches discovered favicon URLs with `get_page_with_referer(&icon.href, ...)` without first applying `should_block_host()` to the favicon URL host. For IP-literal favicon URLs such as `http://127.0.0.1:PORT/favicon.ico`, `reqwest` does not call the configured DNS resolver, so the resolver-level `post_resolve()` IP allowlist is bypassed and Vaultwarden connects directly to loopback. This is a bypass of the fix for CVE-2026-47160 / GHSA-72vh-x5jq-m82g (patched in 1.36.0). The original decimal, hex, octal, and IPv4-mapped IPv6 host normalizations are covered, but the second-stage favicon fetch could still reach non-global IP literals. ## Root cause Line numbers refer to the code as tested, shortly after 1.36.0. Initial icon route validation: - `src/api/icons.rs:115-131` parses the route host with `get_valid_host()` and applies `should_block_host(&host)`. - `src/http_client.rs:137-160` blocks IP literal hosts that are not global. - `src/http_client.rs:241-282` uses the custom DNS resolver to run `post_resolve()` against DNS answers for domain names. Second-stage favicon fetch: - `src/api/icons.rs:249-295` parses attacker-controlled `` and joins it against the page URL. - `src/api/icons.rs:492-532` iterates discovered icon URLs and passes each `icon.href` to `get_page_with_referer()`. - `src/api/icons.rs:407-414` builds `CLIENT.get(url)` and sends it without parsing the URL host or calling `should_block_host()`. The custom DNS resolver only sees names that require DNS. A direct IP literal URL can be connected by `reqwest` without resolver invocation, so the resolver's `post_resolve()` check does not run. ## Reproduction evidence The reporter confirmed with a regression test that a loopback canary was reached through `get_page_with_referer()`. A separate reqwest probe with a custom DNS resolver that denies every lookup showed that IP-literal URLs bypass the resolver entirely: ```text url=http://127.0.0.1:40417/favicon.ico body=SSRFHIT! resolver_calls=0 canary_hits=1 ``` ## Attack flow 1. An attacker hosts an ordinary public web page on a globally routable domain that passes the initial icon host validation. 2. The HTML contains a favicon link such as: ```html ``` 3. A request to Vaultwarden's internal icon endpoint for the attacker domain causes Vaultwarden to fetch and parse that page. 4. Vaultwarden attempts to fetch the discovered favicon URL directly. 5. Because the favicon URL host is an IP literal and `get_page_with_referer()` does not prevalidate the URL, the DNS Affected packages: rust:vaultwarden Patched: vaultwarden 1.37.0","url":"https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-hw4g-2v3f-74x5","published_at":"2026-10-03T20:05:28Z","updated_at":"2026-10-27T17:26:13Z","fetched_at":"2026-11-22T13:40:16.224706Z","severity":"medium","cvss_score":5.8,"epss":0.0033,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"dani-garcia","product":"vaultwarden","vuln_id":"CVE-2026-116678","vuln_ids":["CVE-2026-116678","CVE-2026-47160","GHSA-72VH-X5JQ-M82G","GHSA-HW4G-2V3F-74X5"],"tags":["repo-advisory","rust","CWE-918","security","repo:dani-garcia/vaultwarden"],"cluster_id":11350,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/12041","html":"https://vulnwatch.ve1ve2.com/item/12041"}},{"id":12710,"source":{"id":"gh-vaultwarden","name":"Vaultwarden releases + advisories (GitHub dani-garcia/vaultwarden)"},"title":"[SECURITY RELEASE] dani-garcia/vaultwarden 1.37.0","summary":"Fixes advisories: GHSA-hw4g-2v3f-74x5, GHSA-rxhg-2pw9-vf25, GHSA-455c-vgg9-jxw8, GHSA-wc45-m6pv-rrf9, GHSA-rqf8-2568-r7mc, GHSA-88qc-6ch9-mc3j, GHSA-xwf8-pjh7-h589, GHSA-vh5m-fc9v-m84g, GHSA-f3qw-qg77-hmm4, GHSA-96f7-78q5-j345, GHSA-jq2g-h4xr-4mcr\n\nSecurity keywords: security, ssrf, GHSA-HW4G-2V3F-74X5, GHSA-VH5M-FC9V-M84G, GHSA-XWF8-PJH7-H589, GHSA-88QC-6CH9-MC3J, GHSA-RXHG-2PW9-VF25, GHSA-96F7-78Q5-J345, GHSA-455C-VGG9-JXW8, GHSA-F3QW-QG77-HMM4, GHSA-JQ2G-H4XR-4MCR, GHSA-RQF8-2568-R7MC\n\n## Note\r\nThis update is required for support with clients with version 2026.7.0+, please update before reporting any issues with them.\r\n\r\n## Security Fixes\r\nThis release contains security fixes for the following advisories. We strongly advice to update as soon as possible.\r\n- SSRF via the icon endpoint [[GHSA-hw4g-2v3f-74x5]](https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-hw4g-2v3f-74x5) [[GHSA-vh5m-fc9v-m84g]](https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-vh5m-fc9v-m84g) (**Medium**, 5.8 / 6.3)\r\n- Cross-Organization Cipher Access [[GHSA-xwf8-pjh7-h589]](https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-xwf8-pjh7-h589) (**Medium**, 5.9)\r\n- Organization Policy Bypass on Directory Import [[GHSA-88qc-6ch9-mc3j]](https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-88qc-6ch9-mc3j) (**Medium**, 5.5)\r\n- Send Access-Count Bypass [[GHSA-rxhg-2pw9-vf25]](https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-rxhg-2pw9-vf25) (**Medium**, 5.3)\r\n- Unauthenticated WebSocket Flooding DDOS [[GHSA-96f7-78q5-j345]](https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-96f7-78q5-j345) (**Medium**, 5.3)\r\n- Cross-Organization Secret Sharing [[GHSA-455c-vgg9-jxw8]](https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-455c-vgg9-jxw8) (**Medium**, 4.3)\r\n- Organization Import Authorization [[GHSA-f3qw-qg77-hmm4]](https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-f3qw-qg77-hmm4)[[GHSA-jq2g-h4xr-4mcr]](https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-jq2g-h4xr-4mcr) (**Medium**, 4.3)\r\n- Organization Data Enumeration via the Manager role [[GHSA-rqf8-2568-r7mc]](https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-rqf8-2568-r7mc) (**Medium**, 4.3)\r\n\r\nThese are private for now, pending CVE assignment and publishing at a later date.\r\n\r\n## What's Changed\r\n* OpenDAL S3 parameter support by @txase in https://github.com/dani-garcia/vaultwarden/pull/6127\r\n* Fix SSO Cookie path by @BlackDex in https://github.com/dani-garcia/vaultwarden/pull/7187\r\n* fix email 2fa for bw cli by @stefan0xC in https://github.com/dani-garcia/vaultwarden/pull/7225\r\n* sso_auth improvements by @Timshel in https://github.com/dani-garcia/vaultwarden/pull/7197\r\n* Reject unrecognised DATABASE_URL instead of silent SQLite fallback by @mfw78 in https://github.com/dani-garcia/vaultwarden/pull/7061\r\n* Switch to `xx-cargo` by @dfunkt in https://github.com/dani-garcia/vaultwarden/pull/6640\r\n* Updates and fixes by @BlackDex in https://github.com/dani-garcia/vaultwarden/pull/7235\r\n* Switch to Edition 2024, more clippy lints, and less macro calls by @BlackDex in https://github.com/dani-garcia/vaultwarden/pull/7200\r\n* Serve Apple app site association file by @user71424q in https://github.com/dani-garcia/vaultwarden/pull/7191\r\n* Update Rust, Crates and GHA by @BlackDex in https://github.com/dani-garcia/vaultwarden/pull/7307\r\n* Fix enforce blocked by @Timshel in https://github.com/dani-garcia/vaultwarden/pull/7246\r\n* Admin password recovery endpoint change by @Timshel in https://github.com/dani-garcia/vaultwarden/pull/7270\r\n* fix(sends): emit hideEmail as non-null boolean in sync response by @kvdb in https://github.com/dani-garcia/vaultwarden/pull/7283\r\n* Org membership delete remove Invitation by @Timshel in https://github.com/dani-garcia/vaultwarden/pull/7284\r\n* [v2026.5.0] Registration request update by @Timshel in https://github.com/dani-garcia/vaultwarden/pull/7295\r\n* [v2026.5.0] PutPolicy now using vnext format by @Timshel in https://github.com/dani-garcia/vaultwarden/pull/7296\r\n* 2026.6.0 send support by @Timshel in https://github.com/dani-garcia/vaultwarden/pull/7346\r\n* Add SSO_AUTHORIZE_BODY by @Timshel in https://github.com/dani-garcia/vaultwarden/pull/7357\r\n* Add `pm-26340-linux-biometrics-v2` feature flag by @pilotstew in https://github.com/dani-garcia/vaultwarden/pull/7358\r\n* improve CI by @TriplEight in https://github.com","url":"https://github.com/dani-garcia/vaultwarden/releases/tag/1.37.0","published_at":"2026-07-24T17:04:39Z","updated_at":null,"fetched_at":"2026-11-22T14:05:38.135281Z","severity":"medium","cvss_score":5.9,"epss":0.0033,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"dani-garcia","product":"vaultwarden","vuln_id":"CVE-2026-116678","vuln_ids":["CVE-2026-116678","CVE-2026-33420","CVE-2026-47160","GHSA-455C-VGG9-JXW8","GHSA-72VH-X5JQ-M82G","GHSA-88QC-6CH9-MC3J","GHSA-96F7-78Q5-J345","GHSA-F3QW-QG77-HMM4","GHSA-HW4G-2V3F-74X5","GHSA-JJXG-P3V6-52WW","GHSA-JQ2G-H4XR-4MCR","GHSA-RQF8-2568-R7MC","GHSA-RXHG-2PW9-VF25","GHSA-VH5M-FC9V-M84G","GHSA-WC45-M6PV-RRF9","GHSA-XWF8-PJH7-H589"],"tags":["release","repo:dani-garcia/vaultwarden","security","stack","vaultwarden"],"cluster_id":11350,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/12710","html":"https://vulnwatch.ve1ve2.com/item/12710"}}]}