Libnginx mod http cache purge: ngx_cache_purge before 3.0.4 can allow file deletion via a symlink attack in certain
Affects libnginx-mod-http-cache-purgeSource GCVE Database
Not known to be exploited · CVSS 3.6 Low.
Data as of 24 Nov 2026, 22:28 UTC
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 12 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10libnginx-mod-http-cache-purgepkg:deb/ubuntu/libnginx-mod-http-cache-purge?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSlibnginx-mod-http-cache-purgepkg:deb/ubuntu/libnginx-mod-http-cache-purge?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlibnginx-mod-http-cache-purgepkg:deb/ubuntu/libnginx-mod-http-cache-purge?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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. (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.)
References
- ubuntu.com/security/CVE-2026-108981 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-108981 (opens in a new tab)
- github.com/nginx-modules/ngx_cache_purge/commit/a6da1352f52a8a02dd6828e88c39ed42fddcee96 (opens in a new tab)
- github.com/nginx-modules/ngx_cache_purge/pull/72 (opens in a new tab)
- github.com/nginx-modules/ngx_cache_purge/releases/tag/3.0.4 (opens in a new tab)