Skip to main content
CVE-2026-108981VulnerabilityPublished Updated

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

0
Compare
Authoritative record:CVE-2026-108981· Low 3.6

Not known to be exploited · CVSS 3.6 Low.

Data as of 24 Nov 2026, 22:28 UTC

CVSS 3.1 base score
3.6Low
How severe the flaw is on the 0–10 CVSS scale.
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 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10libnginx-mod-http-cache-purgepkg:deb/ubuntu/libnginx-mod-http-cache-purge?arch=source&distro=stonkingOther threatsAffected
  • =1:2.5.5-1build2
  • =1:2.5.6-1build1
  • =1:3.0.2-1
Fixed in–
Ubuntu 26.04 LTSlibnginx-mod-http-cache-purgepkg:deb/ubuntu/libnginx-mod-http-cache-purge?arch=source&distro=resoluteOther threatsAffected
  • 1:2.5.3-3build1 – 1:2.5.5-1build2
6 affected builds
Fixed in–
Ubuntu 24.04 LTSlibnginx-mod-http-cache-purgepkg:deb/ubuntu/libnginx-mod-http-cache-purge?arch=source&distro=nobleOther threatsAffected
  • =1:2.3-5
  • =1:2.3-6
  • =1:2.3-6build2
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

Community reviews

Loading reviews…