You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On .NET 10.0.12 (macOS arm64) IPNetwork.Contains returns true for IPv4-mapped addresses whose IPv4 part is in 0.0.0.0/8 when the network is an IPv6 range that does not contain them.
It looks limited to mapped addresses in 0.0.0.0/8. ForwardedHeadersMiddleware relies on Contains for its known network check, so a peer in that range can be matched against the wrong network. We worked around it by comparing prefix bits ourselves.
Activity
dotnet-policy-service commentedon Sep 23, 2026
Tagging subscribers to this area: @karelz, @dotnet/ncl
See info in area-owners.md if you want to be subscribed.
MihuBot commentedon Sep 23, 2026
I'm a bot. Here is a possible related and/or duplicate issue (I may be wrong):
MihaZupan commentedon Sep 24, 2026
The duplicate looks right, this was fixed for .NET 11 in #131862.