{"id":"CVE-2026-49421","aliases":["CVE-2026-49421"],"related":[],"kind":"vulnerability","state":"published","title":"unlinkat(2) ignores AT_RESOLVE_BENEATH flag","summary":"The kernel function that implements unlinkat(2) and funlinkat(2) validated the AT_RESOLVE_BENEATH flag but failed to pass it through to the underlying path lookup.  The flag was silently dropped, so path resolution was not actually restricted.\n\nA process that uses AT_RESOLVE_BENEATH with unlinkat(2) or funlinkat(2) to confine path resolution can in fact resolve paths above the starting directory.  A caller relying on this flag for path containment may delete files outside the intended directory tree.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The kernel function that implements unlinkat(2) and funlinkat(2) validated the AT_RESOLVE_BENEATH flag but failed to pass it through to the underlying path lookup.  The flag was silently dropped, so path resolution was not actually restricted.\n\nA process that uses AT_RESOLVE_BENEATH with unlinkat(2) or funlinkat(2) to confine path resolution can in fact resolve paths above the starting directory.  A caller relying on this flag for path containment may delete files outside the intended directory tree.","source":"cvelist"},{"lang":"es","text":"La función del kernel que implementa unlinkat(2) y funlinkat(2) validó la bandera AT_RESOLVE_BENEATH pero no logró pasarla a la búsqueda de ruta subyacente. La bandera fue descartada silenciosamente, por lo que la resolución de ruta no estaba realmente restringida.\n\nUn proceso que utiliza AT_RESOLVE_BENEATH con unlinkat(2) o funlinkat(2) para confinar la resolución de ruta puede de hecho resolver rutas por encima del directorio de inicio. Un llamador que confía en esta bandera para la contención de rutas puede eliminar archivos fuera del árbol de directorios previsto.","source":"nvd"}],"published":"2026-08-19T05:25:43.003Z","modified":"2026-11-09T20:10:00.200Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-273"],"affected":[{"ranges":[{"type":"release","introduced":"15.1-RELEASE","fixed":"p1","status":"affected"},{"type":"release","introduced":"15.0-RELEASE","fixed":"p11","status":"affected"},{"type":"release","introduced":"14.4-RELEASE","fixed":"p7","status":"affected"},{"type":"release","introduced":"14.3-RELEASE","fixed":"p16","status":"affected"}],"vendor":"FreeBSD","product":"FreeBSD","source":"cvelist"},{"ranges":[{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.4"},{"status":"affected","version":"14.4"},{"status":"affected","version":"14.4"},{"status":"affected","version":"14.4"},{"status":"affected","version":"14.4"},{"status":"affected","version":"14.4"},{"status":"affected","version":"14.4"},{"status":"affected","version":"14.4"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.1"},{"status":"affected","version":"15.1"},{"status":"affected","version":"15.1"}],"vendor":"freebsd","product":"freebsd","cpe":"cpe:2.3:o:freebsd:freebsd:14.3:-:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://security.freebsd.org/advisories/FreeBSD-SA-26:42.unlinkat.asc","tags":["vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":["Yuxiang Yang, Yizhou Zhao, Ao Wang, Xuewei Feng, Qi Li, and Ke Xu from Tsinghua University using GLM-5.1 from Z.ai"],"assigner":"freebsd","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-08-26T17:44:11.280Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-49421","url":"https://www.cve.org/CVERecord?id=CVE-2026-49421","licence":"CVE Terms of Use","modified":"2026-08-26T17:44:13.985Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-49421","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49421","licence":"Public domain","modified":"2026-11-09T20:10:00.200Z"}],"updatedAt":"2026-11-25T22:59:33.905Z","epss":{"score":0.0009,"percentile":0.0044,"date":"2026-12-01T12:00:22.000Z"}}