diff --git a/lib/bb/fetch/wget.py b/lib/bb/fetch/wget.py
index 4db047f94..b2f440608 100644
--- a/lib/bb/fetch/wget.py
+++ b/lib/bb/fetch/wget.py
@@ -481,7 +481,10 @@ class Wget(FetchMethod):
 
                 try:
                     import netrc
-                    auth_data = netrc.netrc().authenticators(urllib.parse.urlparse(uri).hostname)
+                    # Explicit path: skip the owner check, which fails under
+                    # pseudo where getuid() is 0
+                    netrc_path = os.path.join(os.path.expanduser("~"), ".netrc")
+                    auth_data = netrc.netrc(netrc_path).authenticators(urllib.parse.urlparse(uri).hostname)
                     if auth_data:
                         login, _, password = auth_data
                         add_basic_auth("%s:%s" % (login, password), r)
