UPnP
What is UPnP?
UPnP (Universal Plug and Play) lets devices on a local network discover each other and open port-forwarding rules on the router automatically, without the owner reviewing each request. AdminKit's port check tool shows which ports are open on your connection, including ones UPnP may have opened without your knowledge.
By AdminKit team, Netbase JSC · Updated
UPnP (Universal Plug and Play) is a set of networking protocols that let devices on a local network discover each other — advertising themselves via SSDP — and configure services without manual setup, most notably asking the router to open a port-forwarding rule on their behalf. AdminKit’s guide to mDNS, SSDP and UPnP LAN discovery leaks covers this same local-discovery tradeoff in more depth. A game console, camera, or video call app can use UPnP’s Internet Gateway Device protocol to punch a hole through NAT the moment it needs one, which is convenient but means any device or malware on the local network can request inbound exposure without the owner reviewing or even noticing the new rule. Because UPnP requests are trusted by default and rarely logged, it has repeatedly been implicated in consumer device compromises and in exposing services never meant to be internet-reachable. CERT/CC’s vulnerability note VU#339275 states that UPnP is designed for a trusted local network and does not implement any form of authentication or verification, and describes how its SUBSCRIBE capability (CVE-2020-12695, also known as CallStranger) could be abused to send traffic to arbitrary destinations on the internet. Routers that support UPnP typically let it be disabled, after which port forwarding has to be configured manually, or handled by PCP (Port Control Protocol), an alternative defined in RFC 6887 (current document status at its IETF Datatracker entry) that also works across a carrier’s own NAT rather than only a single home router. The Open Connectivity Foundation, which now stewards UPnP, documents the local-network scope these requests were designed for.
AdminKit groups uPnP under its machine protocols cluster — browse the AdminKit glossary index for other related terms.
Frequently asked questions
Can any device on my network use UPnP to open a port?
Yes -- any device or piece of malware on the local network can use UPnP's Internet Gateway Device protocol to request a port-forwarding rule without the owner reviewing or even noticing the new rule, since UPnP requests are trusted by default and rarely logged.
Should I turn off UPnP on my router?
Routers that support UPnP typically let it be disabled; after that, port forwarding has to be configured manually, or handled by PCP (Port Control Protocol, RFC 6887), an alternative that also works across a carrier's own NAT.
Why is UPnP considered risky?
Because UPnP requests are trusted by default and rarely logged, it has repeatedly been implicated in consumer device compromises and in exposing services that were never meant to be internet-reachable.
Who maintains the UPnP standard today?
The Open Connectivity Foundation now stewards UPnP and documents the local-network scope these requests were designed for.