{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-108981","id":"CVE-2026-108981","title":"ngx_cache_purge before 3.0.4 can allow file deletion via a symlink attack in certain situations where nginx and a ser…","description":"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. ","descriptionLong":"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.)","published":"2026-10-12T02:27:15.378Z","updated":"2026-11-11T13:19:37.847527103Z","reserved":"2026-10-12T02:27:14.593Z","status":"Deferred","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":3.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L","rating":"low","source":"mitre"},"metrics":[{"version":"3.1","score":3.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L","rating":"low","source":"mitre"},{"version":"3.1","score":3.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L","rating":"low","source":"mitre.org"},{"version":"3.1","score":3.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L","rating":"low","source":"OSV"}],"rating":"low","products":["denji ngx_cache_purge"],"affectedProducts":[{"vendor":"denji","product":"ngx_cache_purge","defaultStatus":"unaffected","versions":[{"lessThanOrEqual":"2.5.6","status":"affected","version":"2.4.0","versionType":"semver"},{"lessThan":"3.0.4","status":"affected","version":"3.0.0","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-61"],"aliases":[],"references":[{"url":"https://github.com/nginx-modules/ngx_cache_purge/pull/72","tags":["patch","fix"]},{"url":"https://github.com/nginx-modules/ngx_cache_purge/commit/a6da1352f52a8a02dd6828e88c39ed42fddcee96","tags":["patch","fix"]},{"url":"https://github.com/nginx-modules/ngx_cache_purge/releases/tag/3.0.4","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/108xxx/CVE-2026-108981.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-108981","tags":["advisory"]},{"url":"https://github.com/nginx-modules/ngx_cache_purge","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00164,"epssPercentile":0.05717,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-108981","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-108981","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-108981","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-108981","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}