{"cve":"CVE-2018-13405","nvd":{"published":"2018-07-06T14:29:01.223","modified":"2026-06-17T01:39:21.430","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8},"cwes":["CWE-269"],"references":["http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=0fa3ecd87848c9c93c2c828ef4c3a8ca36ce46c7","http://openwall.com/lists/oss-security/2018/07/13/2","http://www.securityfocus.com/bid/106503","https://access.redhat.com/errata/RHSA-2018:2948","https://access.redhat.com/errata/RHSA-2018:3083"],"products":["canonical:ubuntu_linux","debian:debian_linux","f5:big-ip_access_policy_manager","f5:big-ip_advanced_firewall_manager","f5:big-ip_analytics","f5:big-ip_application_acceleration_manager","f5:big-ip_application_security_manager","f5:big-ip_domain_name_system","f5:big-ip_edge_gateway","f5:big-ip_fraud_protection_service","f5:big-ip_global_traffic_manager","f5:big-ip_link_controller","f5:big-ip_local_traffic_manager","f5:big-ip_policy_enforcement_manager","f5:big-ip_webaccelerator","fedoraproject:fedora","linux:linux_kernel","redhat:enterprise_linux_aus","redhat:enterprise_linux_desktop","redhat:enterprise_linux_eus","redhat:enterprise_linux_for_real_time","redhat:enterprise_linux_server","redhat:enterprise_linux_server_aus","redhat:enterprise_linux_server_tus","redhat:enterprise_linux_workstation","redhat:mrg_realtime","redhat:virtualization"],"source":"nvd","synced_at":"2026-10-19T20:51:47.459859389+00:00"},"epss":{"cve":"CVE-2018-13405","score":0.01036,"percentile":0.63901,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}