Skip to main content
VulnerabilityPublished Updated

CVE-2026-108981: denji ngx_cache_purge · UNIX Symbolic Link (Symlink) Following

Affects denji ngx_cache_purgeSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 3.6 Low : upgrade to 3.0.4 when convenient.

Data as of 17 Nov 2026, 20:25 UTC

CVSS 3.1 base score
3.6Low
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 5% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.0.4
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 17 Nov 2026.

What to do

Upgrade denji ngx_cache_purge to 3.0.4.

Affected software

ProductAffectedFixed in
denjingx_cache_purgeAffected
  • >=2.4.0 <=2.5.6
  • >=3.0.0 <3.0.4
Fixed in
  • 3.0.4
GitHubngx_cache_purgepkg:github/ngx_cache_purgeOther threatsAffected
  • >=2.4.0 <=2.5.6
  • >=3.0.0 <3.0.4
Fixed in
  • 3.0.4

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade to version 3.0.4 or later, which fixes the symlink following issue for symlinks created at arbitrary earlier times. However, be aware that a TOCTOU race condition remains unpatched. Until a complete fix is available, avoid running nginx and the served application under the same user account to reduce risk.

Description

The ngx_cache_purge module before version 3.0.4 allows file deletion via a symbolic link (symlink) attack when nginx and the served application run under the same user account. This occurs because the module follows symlinks during cache purge operations, relying on nginx's ngx_walk_tree() which uses stat() and thus follows symlinks. Version 3.0.4 fixes the issue for symlinks created at arbitrary earlier times but does not address a time-of-check to time-of-use (TOCTOU) race condition.

References

Community reviews

Loading reviews…