Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-94621 Overview
CVE-2026-94621 is a Server-Side Request Forgery (SSRF) vulnerability in AliasVault, a privacy-first password manager with built-in email aliasing. The flaw affects self-hosted AliasVault server instances prior to version 0.30.3. The favicon extractor validates a user-supplied hostname with a first Domain Name System (DNS) lookup, but allows the HTTP client to perform a second DNS lookup when connecting. This Time-of-Check Time-of-Use (TOCTOU) condition [CWE-367] enables DNS rebinding attacks against internal network resources.
Critical Impact
An authenticated low-privileged user controlling an authoritative DNS server can force a public AliasVault instance to send HTTP or HTTPS requests to internal hosts, enabling internal-network reconnaissance.
Affected Products
- AliasVault self-hosted server versions prior to 0.30.3
- AliasVault server API favicon extractor component (AliasVault.FaviconExtractor)
- Publicly reachable self-hosted instances with public registration enabled
Discovery Timeline
- 2026-10-15 - CVE-2026-94621 published to the National Vulnerability Database (NVD)
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-94621
Vulnerability Analysis
The favicon extractor in AliasVault accepts a user-supplied hostname and performs a DNS resolution to validate that the resulting address is not within a private or reserved range. After validation passes, the HTTP client in the extractor establishes the outbound connection using the hostname rather than the previously resolved address. This second resolution can return a different Internet Protocol (IP) address than the first, bypassing the SSRF guard.
An authenticated attacker operating an authoritative DNS server for a controlled domain returns a short time-to-live (TTL) record pointing to a public IP during validation. Before the HTTP client performs its own resolution, the attacker-controlled resolver returns a private IP such as 127.0.0.1, 10.0.0.0/8, or 169.254.169.254. The server then issues the HTTP or HTTPS request against the internal destination.
Responses that match the expected image content type are returned to the attacker in Base64 form. Non-image responses, timeouts, and error states still leak timing and error information useful for scanning internal services. Default checks restrict requests to ports 80 and 443, which limits but does not eliminate exposure.
Root Cause
The root cause is a classic TOCTOU race between hostname validation and connection establishment. The validation step and the connection step each perform independent DNS lookups against the same hostname without pinning the resolved address.
Attack Vector
Exploitation requires a publicly reachable self-hosted AliasVault instance with public registration enabled, an authenticated AliasVault account, an attacker-controlled authoritative DNS server, and a resolver that permits DNS rebinding. The browser extensions, web application, and mobile applications are not affected.
// Patch excerpt from AliasVault.FaviconExtractor.csproj
// Resolve favicon extraction target DNS host once per connection (#2310)
<DocumentationFile>bin\Release\net10.0\FaviconExtractor.xml</DocumentationFile>
</PropertyGroup>
+ <ItemGroup>
+ <InternalsVisibleTo Include="AliasVault.UnitTests" />
+ </ItemGroup>
+
<ItemGroup>
<AdditionalFiles Include="..\..\stylecop.json" Link="stylecop.json" />
</ItemGroup>
Source: GitHub Commit 7eb4fee. The project change exposes internals to unit tests supporting the single-resolution fix implemented in pull request #2311.
Detection Methods for CVE-2026-94621
Indicators of Compromise
- Outbound HTTP or HTTPS requests from the AliasVault server process to RFC1918 ranges or link-local addresses such as 169.254.169.254.
- Favicon extraction requests targeting hostnames with abnormally low DNS TTL values or multiple A records resolving to different address classes.
- New or recently registered user accounts submitting favicon lookups shortly after registration.
Detection Strategies
- Correlate authentication logs with the AliasVault favicon extractor request log to identify low-privileged users triggering outbound requests to unusual hostnames.
- Deploy egress monitoring that inspects destination IPs after name resolution and flags disparity between validated and connected addresses.
- Baseline the set of domains contacted by the server component and alert on new domains, especially those with authoritative name servers on non-standard infrastructure.
Monitoring Recommendations
- Capture DNS query logs from the AliasVault host and watch for repeat queries for the same name returning differing answers within seconds.
- Alert on outbound TCP connections from the AliasVault container to internal management interfaces, cloud metadata endpoints, or loopback addresses.
- Review HTTP response sizes returned to favicon API callers for anomalies suggesting Base64-encoded internal content.
How to Mitigate CVE-2026-94621
Immediate Actions Required
- Upgrade self-hosted AliasVault to version 0.30.3 or later, which resolves the target DNS host once per connection.
- Disable public registration on publicly reachable instances until the upgrade is complete to reduce the pool of potential authenticated attackers.
- Restrict egress from the AliasVault server to only the destinations required for operation, blocking RFC1918 and link-local ranges at the network boundary.
Patch Information
The fix is available in AliasVault release v0.30.3. Technical remediation details are documented in GitHub Security Advisory GHSA-7hm6-fj4m-pf6f and implemented in pull request #2311. The patch resolves the hostname once and reuses the resolved address when establishing the HTTP connection.
Workarounds
- Place the AliasVault server behind a forward proxy that enforces allow-listed outbound destinations and rejects private address ranges.
- Configure the host DNS resolver to reject responses in private IP ranges for externally resolved names using a rebinding protection feature such as dnsmasq --stop-dns-rebind.
- Isolate the AliasVault server in a network segment with no routable path to sensitive internal services or cloud metadata endpoints.
# Example dnsmasq configuration to block DNS rebinding on the AliasVault host
stop-dns-rebind
rebind-localhost-ok=no
# Restrict favicon extractor egress to public ranges only (iptables example)
iptables -A OUTPUT -m owner --uid-owner aliasvault -d 10.0.0.0/8 -j REJECT
iptables -A OUTPUT -m owner --uid-owner aliasvault -d 172.16.0.0/12 -j REJECT
iptables -A OUTPUT -m owner --uid-owner aliasvault -d 192.168.0.0/16 -j REJECT
iptables -A OUTPUT -m owner --uid-owner aliasvault -d 169.254.0.0/16 -j REJECT
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

