
CVE catalog
CVE-2026-108981
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 mus
- Severity
- Low · CVSS 3.6
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.16% · Oct 25, 2026
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.)
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libnginx-mod-http-cache-purge | sid | 1:3.0.4-1 | fixed |
| Debian | libnginx-mod-http-cache-purge | forky | 1:3.0.4-1 | fixed |
| Debian | libnginx-mod-http-cache-purge | trixie | 1:2.5.3-3 | vulnerable |
| Debian | libnginx-mod-http-cache-purge | bookworm | 1:2.3-4 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libnginx-mod-http-cache-purge | source | sid | 1:3.0.4-1 | not yet assigned | Not reported | [1151200] |
| Debian | libnginx-mod-http-cache-purge | source | forky | 1:3.0.4-1 | not yet assigned | Not reported | [1151200] |
| Debian | libnginx-mod-http-cache-purge | source | trixie | (unfixed) | not yet assigned | Not reported | [1151200] |
| Debian | libnginx-mod-http-cache-purge | source | bookworm | (unfixed) | not yet assigned | Not reported | [1151200] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libnginx-mod-http-cache-purge]Affected
Details (2)
1:2.3-4· amd64 · bookwormAffected
nvd · libnginx-mod-http-cache-purge · debian · bookworm; nvd · libnginx-mod-http-cache-purge · debian · 12
1:2.3-4· arm64 · bookwormAffected
nvd · libnginx-mod-http-cache-purge · debian · bookworm; nvd · libnginx-mod-http-cache-purge · debian · 12
[Debian 13 (Trixie)]
- [libnginx-mod-http-cache-purge]Affected
Details (2)
1:2.5.3-3· amd64 · trixieAffected
nvd · libnginx-mod-http-cache-purge · debian · 13
1:2.5.3-3· arm64 · trixieAffected
nvd · libnginx-mod-http-cache-purge · debian · 13
Observed: