CVE-2026-108981
published low CVSS 3.1 · 3.6ngx_cache_purge vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| denji | — | ngx_cache_purge2.4.0 through 2.5.6 · 3.0.0 to < 3.0.4 · Other versions: unaffected | Affected | Not stated | mitre |
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.)
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.6 / 10
- Severity
- low
- Provider
- mitre · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| denji | ngx_cache_purge | 2.4.0 through 2.5.6 (affected · semver)3.0.0 to < 3.0.4 (affected · semver)Default: unaffected | mitre · cna |
Weaknesses
1- CWE-61 CWE-61 UNIX Symbolic Link (Symlink) Following
References
3Provider assertions
2mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 309b2491c6e927b505a795315eb9ebeb4b7f809d787bd9ec035c510329cb07b2
- Ingested
- 14 Oct 2026, 20:28:04 UTC
- Source record
- Official CVE record