Privilege escalationin CVE-2018-13405.
Proof of concept public (Exploit-DB).
The inode_init_owner function in fs/inode.c in the Linux kernel through 3.16 allows local users to create files with an unintended group ownership, in a scenario where a directory is SGID to a certain group and is writable by a user who is not a member of that group. Here, the non-member can trigger creation of a plain file whose group ownership is that group. The intended behavior was that the non-member can trigger creation of a directory (but not a plain file) whose group ownership is that group. The non-member can escalate privileges by making the plain file executable and SGID.
- No source names a fix yet. Watch this page or the product for updates; we never guess a fixed version.
Not confirmed by any source yet: affected versions not confirmed; fixed version not confirmed; severity not scored yet. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 6 Jul 2018CVE ID reserved by mitre.
- 6 Jul 2018Published in the CVE List.
- 5 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (Exploit-DB).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
- usn.ubuntu.com vendor-advisory, x_refsource_UBUNTU
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- usn.ubuntu.com vendor-advisory, x_refsource_UBUNTU
- twitter.com x_refsource_MISC
- usn.ubuntu.com vendor-advisory, x_refsource_UBUNTU
- usn.ubuntu.com vendor-advisory, x_refsource_UBUNTU
- openwall.com x_refsource_MISC
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- git.kernel.org x_refsource_MISC
- lists.debian.org mailing-list, x_refsource_MLIST
- www.debian.org vendor-advisory, x_refsource_DEBIAN
- www.securityfocus.com vdb-entry, x_refsource_BID
- usn.ubuntu.com vendor-advisory, x_refsource_UBUNTU
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- usn.ubuntu.com vendor-advisory, x_refsource_UBUNTU
- github.com x_refsource_MISC
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- support.f5.com x_refsource_CONFIRM
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- git.kernel.org x_refsource_CONFIRM
- lists.fedoraproject.org vendor-advisory, x_refsource_FEDORA
- lists.fedoraproject.org vendor-advisory, x_refsource_FEDORA
Patchminder. CVE-2018-13405: Privilege escalation in CVE-2018-13405. https://patchminder.com/cve/cve-2018-13405/ (accessed 5 December 2026).