{"id":"CVE-2026-108981","aliases":["CVE-2026-108981"],"related":[],"kind":"vulnerability","state":"published","title":"ngxcachepurge before 3.0.4 can allow file deletion via a symlink attack in certain situations where nginx and a served application (e.g., W…","summary":"ngx_cache_purge before 3.0.4 can allow file deletion via a symlink attack in certain situations where nginx and a served application (e.g., WordPress) run under the same user account. The attacker must be able to create a symlink inside the cache path. Version 3.0.4 fixes this for the case of a symlink created at an arbitrary earlier time, but does not resolve an applicable TOCTOU race condition. (The ngx_cache_purge module follows symlinks while walking the cache directory tree during purge operations. The module relies on nginx's ngx_walk_tree(), which relies on stat() and therefore follows symlinks.)","summarySource":"cvelist","descriptions":[{"lang":"en","text":"ngx_cache_purge before 3.0.4 can allow file deletion via a symlink attack in certain situations where nginx and a served application (e.g., WordPress) run under the same user account. The attacker must be able to create a symlink inside the cache path. Version 3.0.4 fixes this for the case of a symlink created at an arbitrary earlier time, but does not resolve an applicable TOCTOU race condition. (The ngx_cache_purge module follows symlinks while walking the cache directory tree during purge operations. The module relies on nginx's ngx_walk_tree(), which relies on stat() and therefore follows symlinks.)","source":"cvelist"}],"published":"2026-10-12T02:27:15.378Z","modified":"2026-10-16T19:56:15.773Z","severity":{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L","score":3.6,"rating":"LOW"},"severities":[{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L","score":3.6,"rating":"LOW"}],"cwes":["CWE-61"],"affected":[{"ranges":[{"type":"semver","introduced":"2.4.0","lastAffected":"2.5.6","status":"affected"},{"type":"semver","introduced":"3.0.0","fixed":"3.0.4","status":"affected"}],"vendor":"denji","product":"ngx_cache_purge","repo":"https://github.com/nginx-modules/ngx_cache_purge","source":"cvelist"}],"references":[{"url":"https://github.com/nginx-modules/ngx_cache_purge/pull/72","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/nginx-modules/ngx_cache_purge/commit/a6da1352f52a8a02dd6828e88c39ed42fddcee96","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/nginx-modules/ngx_cache_purge/releases/tag/3.0.4","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-14T17:17:47.968Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-108981","url":"https://www.cve.org/CVERecord?id=CVE-2026-108981","licence":"CVE Terms of Use","modified":"2026-10-14T17:18:00.208Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-108981","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-108981","licence":"Public domain","modified":"2026-10-16T19:56:15.773Z"}],"updatedAt":"2026-11-25T22:59:43.542Z","epss":{"score":0.00164,"percentile":0.05855,"date":"2026-12-01T12:00:22.000Z"}}