CVE-2026-108981Denji Ngx Cache Purge vulnerability
CVSS score
3.6
Low
CVSS 3.1 from mitre.org
Exploit probability (EPSS)
0.16%
0.16% chance of exploitation in the next 30 days, higher than 5.59% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.)
Source: NVD · CNA: cve@mitre.org
How to fix it, step by step
Check whether you're affected
Find every system running denji Ngx Cache Purge and compare its version with the affected versions.
Update to a fixed version
- Update Ngx Cache Purge to 3.0.4 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- Low
- Availability
- Low
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L
Affected products
| Affected products | Versions |
|---|---|
| denji Ngx Cache Purge | ≥ 2.4.0, ≤ 2.5.6 · ≥ 3.0.0, < 3.0.4 |
Weakness
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-108981 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.2% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-108981?
CVE-2026-108981 has a CVSS 3.1 base score of 3.6 (low).
Which versions are affected?
Denji Ngx Cache Purge (≥ 2.4.0, ≤ 2.5.6; ≥ 3.0.0, < 3.0.4)
Is there a patch for CVE-2026-108981?
The official record links to vendor advisories or patches; see “What to do” above.
References
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.