Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLocal user opens /dev/net/tun
-
ExploitEnumerate ownerless persistent tun/tap device
-
ExecutionAttach via TUNSETIFF without CAP_NET_ADMIN
-
ImpactIntercept and inject interface traffic
Vulnerability Assessment
| Exploitation Conditions | Three concrete prerequisites must all hold: (1) a persistent tun/tap device exists that was created WITHOUT an owner (TUNSETOWNER) and WITHOUT a group (TUNSETGROUP) - the specific 'ownerless' state the fix targets; (2) the attacker can open /dev/net/tun, which in practice means its permissions were relaxed (e.g. to 0666) as the original ca6bb5d7ab22 design intended; (3) the attacker already has local shell/process access on the host. Limiting factors that reduce real risk: the vector is local only (no remote exploitation), devices that already have a matching owner and/or group are unaffected (the caller must match all set IDs, unchanged by this fix), and systems keeping /dev/net/tun restricted to privileged users are not exposed. Default configurations that do not expose ownerless persistent tun devices are not vulnerable. |
| Impact | Signals point to a genuine but condition-gated local privilege/access-control issue, not a mass-exploitation emergency. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H → 7.8 HIGH) is consistent with the description: a local, already-authenticated user with the ability to open /dev/net/tun can attach to an ownerless persistent tun/tap device without CAP_NET_ADMIN, gaining full read/inject/disrupt control over that device's packet stream (hence C:H/I:H/A:H). However, the real-world picture is softened by exploitation preconditions: it only matters for persistent tun devices created with NO owner and NO group AND where /dev/net/tun has been relaxed (e.g. 0666). EPSS is very low (0.15%, 5th percentile) and there is no KEV listing and no verified exploit code, so there is no evidence of active or automatable exploitation - no public exploit identified at time of analysis. The vendor.today decision label is 'this_week', which aligns with treating it as routine-but-prompt patching rather than an emergency. Net: a legitimate hardening fix for a long-standing (since 2007, commit ca6bb5d7ab22) loophole worth patching in the normal cycle, but the local-only vector plus non-default configuration requirement keep practical risk well below what the 7.8 base score suggests in isolation. |
| Exploit ScenarioDerived | On a system where /dev/net/tun is world-accessible and an administrator (or a prior process) left a persistent tun/tap device without setting an owner or group via TUNSETOWNER/TUNSETGROUP, an unprivileged local user opens the device and attaches to that netdevice with TUNSETIFF, despite lacking CAP_NET_ADMIN. From there they can read, inject, and disrupt traffic flowing through that interface. No public exploit identified at time of analysis; the trigger is a simple ioctl attach against the affected device. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 10, 2026
Local attackers with an existing user account can attach to an ownerless persistent tun/tap device on Linux without holding CAP_NET_ADMIN, gaining control of a network interface they should not be authorized to use. The flaw affects kernels going back to 2.6.18 and is only reachable when a persistent tun device exists with neither TUNSETOWNER nor TUNSETGROUP set and /dev/net/tun is openable by the attacker (for example because permissions were relaxed to 0666), so hosts that never create such devices or that keep the device node privileged are not exposed. Fixes are available from the vendor in Linux 6.18.61, 7.3.2 and 7.4-rc1; EPSS is low (0.15%, 5th percentile) and no public exploit has been identified at time of analysis, though the priority label places remediation in the current week.
RemediationAI
Vendor-released patches are available: update to Linux 6.18.61, Linux 7.3.2 or Linux 7.4-rc1 (or later), or backport the upstream commits 2f92c0286cfd58bff9d6d54c01a771073d5eb775, e53d1cf05da8ea58a5743b7ce5894fb51b0b9700 and ffdf678dd16610e3f006dac904bd37c09684673c from the git.kernel.org stable links. Where patching must be deferred, reduce exposure by keeping /dev/net/tun restricted to privileged users (root-only permissions instead of 0666), which removes the attacker's ability to reach the attach path at the cost of breaking unprivileged tun/tap consumers such as user-space VPN clients, rootless container networking and slirp-style tools; additionally, set TUNSETOWNER and/or TUNSETGROUP on every persistent tun/tap device so that attachment requires a matching uid or gid, and delete persistent interfaces that are no longer needed, since a device with neither owner nor group is precisely the configuration this fix hardens. Note that changing the device node permissions does not alter kernel behaviour on already-patched systems and that devices already carrying a matching owner or group are unaffected by the flaw.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The tun/tap driver exposes the character device /dev/net/tun, through which a process attaches to an existing interface by name using the TUNSETIFF ioctl; ownership of persistent interfaces is governed by TUNSETPERSIST together with the TUNSETOWNER and TUNSETGROUP ioctls. The original hardening in commit ca6bb5d7ab22 made device creation require CAP_NET_ADMIN so that /dev/net/tun permissions could be relaxed to 0666 and owners assigned via TUNSETOWNER could still open their own devices. That model left a gap: a persistent device with no owner and no group set was effectively world-consumable, since anyone able to open the device node could attach to it without any capability check. TUNSETGROUP, multiqueue support (commit c8d68e6be1c3) and a later group-permission fix (commit 3ca459eaba1bf) did not close the hole, and the 2024 fix was reverted in commit a70c7b3cbc06 on the grounds that an SELinux test suite depended on the permissive behaviour. The current fix adds the missing CAP_NET_ADMIN requirement for attaching to devices that have neither owner nor group, while preserving the existing (unusual) rule that when both uid and gid are set the caller must match both. The root cause is a missing authorization/capability check on a privileged operation rather than a memory-safety defect, which is consistent with the high confidentiality and integrity impact and the local, low-complexity, low-privilege vector.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Local attacker who can open /dev/net/tun (PR:L, AV:L) attaches without user interaction and gains full read/inject/disrupt of the device's traffic, so C/I/A are High.
Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).
CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Lifecycle Timeline
4DescriptionCVE.org
In the Linux kernel, the following vulnerability has been resolved:
tun: Require CAP_NET_ADMIN to attach to an ownerless device
Twenty years ago I made creating a tuntap device require CAP_NET_ADMIN in commit ca6bb5d7ab22 ("[NET]: Require CAP_NET_ADMIN to create tuntap devices.")
The idea was to allow the permissions on /dev/net/tun to be relaxed to 0666 and thus allow owners of tun devices assigned with TUNSETOWNER to actually open it and get at their devices.
What we missed at the time was that persistent devices with *no* owner were already essentially world-consumable, and anyone who could open the device node could also attach to those.
Even then, using persistent devices with no explicitly set owner - on the (false) presumption that CAP_NET_ADMIN would be required to open them - wasn't an egregious userspace bug. There are cases where it does make sense to separate the creation/configuration of the netdevice, from the process which shovels packets into it.
Since then, TUNSETGROUP was added a year later in commit 8c644623fe7e ("[NET]: Allow group ownership of TUN/TAP devices."). Its commit message noted that if both uid and gid are set, both have to match (in itself a bizarre choice) - but still not that with *neither* set, no permission at all was required.
Then in 2012 commit c8d68e6be1c3 ("tuntap: multiqueue support") allowed new queues to be attached to a device from the moment of its creation, with no way for userspace to close the race between creation and a subsequent TUNSET{OWNER,GROUP}.
In 2024, commit 3ca459eaba1bf ("tun: fix group permission check") tried to fix things to be saner: only require the user *or* the group to match, in line with standard POSIX permissions, and require CAP_NET_ADMIN if neither the user nor group authorised the access (although it put the CAP_NET_ADMIN check first, and would wrongly have reported the capability as having been used even when it was not).
That fix was reverted in commit a70c7b3cbc06 ("tun: revert fix group permission check") due to allegedly causing a regression in an selinux test suite which *expected* the attachment to succeed when authorised by none of user, group, nor CAP_NET_ADMIN: https://lore.kernel.org/netdev/CAFqZXNtkCBT4f+PwyVRmQGoT3p1eVa01fCG_aNtpt6dakXncUg@mail.gmail.com/
We should not break UAPI. But we don't have to consider an selinux test case which deliberately exercises a security flaw to be UAPI worth preserving either. To which end, I have fixed it in selinux-testsuite commit b2f894f0016b ("tests/tun_tap: set an owner on the device for the relabel tests").
So: fix the lack of CAP_NET_ADMIN check on devices which *haven't* been assigned an owner or group, while leaving the weird tun ownership model as it was (user *and* group have to match, if both are set). If someone still wants to fix the latter (which wasn't actually the reason the previous attempt was reverted), they can do it under separate cover.
Permit attaching to an existing device only if an owner and/or group was set and the caller matches all that were set, or if the caller has CAP_NET_ADMIN. The only behavioural change is that a device with no owner or group now requires CAP_NET_ADMIN to attach - precisely the loophole we want to close.
And put the CAP_NET_ADMIN check in the right place this time.
Executive ViewAI
A high-severity Linux kernel vulnerability (CVE-2026-99281) could allow a local user to take control of an improperly configured persistent network interface, potentially enabling network-level attacks such as traffic interception or bypassing network segmentation. While no public exploit has been identified at time of analysis and the EPSS is low (0.15%), the flaw affects a wide range of kernel versions and requires remediation to prevent abuse in environments with elevated user access or non-default configurations.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-119281
GHSA-cfrf-w8r8-rf8x
NVD
CVE.org
EPSS
VulDB
Exploit-DB