Skip to content
Access control Advisory Advanced CVE-2026-79099

Missing authorization in Network (CVE-2026-79099)

The RestrictedUDPSocket class did not check the allow_multicast_ permission flag when sending UDP datagrams, so a context without the direct-sockets-multicast policy could still send to multicast addresses. An attacker could use this to reach local network multicast groups for discovery or spoofing of services such as mDNS or SSDP.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 3 months

Project Fortify, an experimental security project, has identified the following potential security issue. If you're a feature owner CC-ed on this bug, please do your best to review these reports. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.

Overview: The RestrictedUDPSocket class fails to check the allow_multicast_ permission flag during outgoing SendTo operations. This allows a document or context (such as an Isolated Web App) lacking the direct-sockets-multicast Permissions Policy to transmit arbitrary UDP datagrams to local network multicast groups. This bypass is possible using both direct IP literals and hostnames resolved via DNS.

Affected files:

  • services/network/restricted_udp_socket.cc
  • services/network/restricted_udp_socket.h

Estimated timestamp from git blame: 2025-09-15

Root Cause Analysis

In services/network/restricted_udp_socket.cc, the RestrictedUDPSocket class handles Direct Sockets UDP capabilities on a per-socket basis, tracking whether multicast operations are permitted via the allow_multicast_ member. While this flag is checked during JoinGroup and LeaveGroup Mojo calls, it is ignored on outgoing SendTo operations.

Specifically, in the raw IP literal path of RestrictedUDPSocket::SendTo:

C++
  if (net::IPAddress address; address.AssignFromIPLiteral(dest_addr.host())) {
    udp_socket_->SendTo(net::IPEndPoint(std::move(address), dest_addr.port()),
                        data, traffic_annotation_, std::move(callback));
    return;
  }

And in the DNS resolution path within RestrictedUDPSocket::OnResolveCompleteForSendTo:

C++
void RestrictedUDPSocket::OnResolveCompleteForSendTo(
    std::vector<uint8_t> data,
    SendToCallback callback,
    int result,
    const net::ResolveErrorInfo&,
    const net::AddressList& resolved_addresses,
    const net::HostResolverEndpointResults&) {
  if (result != net::OK) {
    std::move(callback).Run(result);
    return;
  }

  udp_socket_->SendTo(resolved_addresses.front(), std::move(data),
                      traffic_annotation_, std::move(callback));
}

Neither path verifies if the target IP address is a multicast address when allow_multicast_ is set to false.

Potential Exploit Scenario

An attacker operating from a context that has direct socket access (such as an Isolated Web App or extension) but lacks the direct-sockets-multicast Permissions Policy could potentially execute the following steps:

  1. Open a bound UDP socket using navigator.directSockets.openBoundUDPSocket({ localAddress: '0.0.0.0' }).
  2. The browser validates the request and determines that multicast is not allowed for this context, passing allow_multicast = false to the Network Service. The Network Service instantiates a RestrictedUDPSocket with allow_multicast_ = false.
  3. The page triggers a UDP SendTo request targeting either a multicast IP literal (e.g., 224.0.0.251 or ff02::fb on port 5353 for mDNS) or a domain name they control that resolves via DNS to a multicast IP address.
  4. Because RestrictedUDPSocket does not check allow_multicast_ in its send paths, the network process receives the destination and forwards the raw UDP payload onto the local network link.

This would permit active local network discovery and spoofing (e.g., mDNS or SSDP spoofing) to discover local services on the user's LAN, despite the permissions policy denying multicast access.

Note: Since our testing tools cannot currently execute code or launch real browsers, these steps are based on a static code review and are potential/suggested steps rather than a run proof-of-concept.

Suggested Fix

Ensure that both the fast-path direct IP destination and the DNS-resolved destinations are checked against the allow_multicast_ bit before transmitting. If a multicast address is detected but allow_multicast_ is false, terminate the connection and return a net error:

In RestrictedUDPSocket::SendTo:

C++
  if (net::IPAddress address; address.AssignFromIPLiteral(dest_addr.host())) {
    if (address.IsMulticast() && !allow_multicast_) {
      std::move(callback).Run(net::ERR_ACCESS_DENIED);
      mojo::ReportBadMessage("no permission to use multicast");
      return;
    }
    udp_socket_->SendTo(net::IPEndPoint(std::move(address), dest_addr.port()),
                        data, traffic_annotation_, std::move(callback));
    return;
  }

In RestrictedUDPSocket::OnResolveCompleteForSendTo:

C++
  if (resolved_addresses.front().address().IsMulticast() && !allow_multicast_) {
    std::move(callback).Run(net::ERR_ACCESS_DENIED);
    mojo::ReportBadMessage("no permission to use multicast");
    return;
  }

Evaluated with Chrome root at commit: 5133b93d189b383c37805b1cf3a9d2dbfe8d7379


Results so far have been promising, but there can be wrong deductions. Feel free to adjust as follows:

  • If you are familiar with the severity guidelines, you may adjust the severity.
  • If this is a false positive, and there's no work to be done, please close as WAI.
  • If there is work to do here but not a vulnerability, please change the issue type to Task/Bug/FR.

Data from false positives will be used to improve accuracy over time. And please feel free to reach out to me directly if you have concerns or feedback on the project.

The original report as published on the Chromium issue tracker. Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the send paths in RestrictedUDPSocket never tested whether the destination address is multicast against the allow_multicast_ flag, unlike the join and leave paths.

Impact

This could allow active local network discovery and spoofing of services such as mDNS or SSDP, though the report notes the steps come from static review and were not proven in a browser.

What the attacker needed

A context with direct socket access; no direct-sockets-multicast policy

The fix

Both the direct IP and DNS-resolved send paths should reject multicast destinations with an access-denied error when the flag is false.

How it was found

  1. Open a bound UDP socket through the direct sockets interface.
  2. The browser decides multicast is not allowed and creates the socket with the flag set to false.
  3. The page sends a datagram to a multicast IP literal or to a hostname that resolves to a multicast address.
  4. The network process forwards the payload onto the local network because the flag is not checked.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Some web features let a page open a raw network socket, which is powerful, so the browser asks for permission first. Here the browser checked that permission when joining a multicast group but forgot to check it when sending data to one. That means a page that was never allowed to use multicast could still send messages to every device on the local network.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.