CVE-2026-99281
tun: Require CAP_NET_ADMIN to attach to an ownerless device
No exploitation reported by the sources we read.
- Published2026-11-07
- Fixed in7.3.2 · 6.18.61
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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.
Timeline
dates in UTC- 2026-11-0714:08CVE publishedCNA
Versions per branch
OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 7.3 | ≥ 6.19.0, < 7.3.2 | 7.3.2 | OSV |
| 6.18 | ≥ 2.6.18, < 6.18.61 | 6.18.61 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA2 products
As Linux, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- Linuxother versions: not affected
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Affected- ≥ ca6bb5d7ab22ac79f608fe6cbc6b12de6a5a19f0, < e0d98aab41b79b88609f33fb4d8e7a80ab8f648dfixed in e0d98aab41b79b88609f33fb4d8e7a80ab8f648dgit
- ≥ ca6bb5d7ab22ac79f608fe6cbc6b12de6a5a19f0, < 2f92c0286cfd58bff9d6d54c01a771073d5eb775fixed in 2f92c0286cfd58bff9d6d54c01a771073d5eb775git
- ≥ ca6bb5d7ab22ac79f608fe6cbc6b12de6a5a19f0, < e53d1cf05da8ea58a5743b7ce5894fb51b0b9700fixed in e53d1cf05da8ea58a5743b7ce5894fb51b0b9700git
- ≥ ca6bb5d7ab22ac79f608fe6cbc6b12de6a5a19f0, < ffdf678dd16610e3f006dac904bd37c09684673cfixed in ffdf678dd16610e3f006dac904bd37c09684673cgit
- Linuxother versions: affected
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Affected- = 2.6.18no fix stated
Not affected < 2.6.18 · ≥ 6.12.117, ≤ 6.12.* · ≥ 6.18.61, ≤ 6.18.* · ≥ 7.3.2, ≤ 7.3.* · ≥ 7.4-rc1
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-11-10
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- kernelAzure Linux:3all versions · no fixed version listed
- linuxUbuntu:Pro:20.04:LTSall versions · no fixed version listedand 21 other packages
- linuxUbuntu:Pro:18.04:LTSall versions · no fixed version listedand 12 other packages
- linuxUbuntu:Pro:16.04:LTSall versions · no fixed version listedand 7 other packages
- linuxUbuntu:Pro:14.04:LTSall versions · no fixed version listedand 3 other packages
- linuxUbuntu:26.10all versions · no fixed version listedand 8 other packages
- linuxUbuntu:26.04:LTSall versions · no fixed version listedand 13 other packages
- linuxUbuntu:24.04:LTSall versions · no fixed version listedand 52 other packages
23 more package ranges on OSV.dev
Fix
- Update Linux kernel to 7.3.2 · 6.18.61
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-10
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-11-08
- CNACVSS 3.17.82026-11-10
- FIRST EPSSEPSS score0.2 %2026-11-09
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-112859same flawAzure Linux · MIT
- EUVD-2026-119281same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-cfrf-w8r8-rf8xsame flawGitHub Advisory Database · CC-BY-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Published
- 2026-11-07
- Last Modified
- 2026-11-07
- NVD status
- Received
- GitHub Advisory
- GHSA-cfrf-w8r8-rf8x
Frequently asked questions
What is CVE-2026-99281?
Is CVE-2026-99281 actively exploited?
What is the CVSS score for CVE-2026-99281?
Running Linux kernel? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-cfrf-w8r8-rf8x
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served