PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-108981 denji CVE debrief

CVE-2026-108981 is a vulnerability in the ngx_cache_purge module that can allow file deletion via a symlink attack. 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. This vulnerability affects users of ngx_cache_purge who should verify their version and apply the patch to prevent potential file deletion. The vulnerability is particularly relevant for environments where nginx and a served application, such as WordPress, run under the same user account.

Vendor
denji
Product
ngx_cache_purge
CVSS
LOW 3.6
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-12
Original CVE updated
2026-10-12
Advisory published
2026-10-12
Advisory updated
2026-10-12

Who should care

Defenders who use the ngx_cache_purge module should assess their exposure and prioritize verifying the version and applying the patch. This includes administrators of nginx servers with the ngx_cache_purge module installed, as well as security teams responsible for vulnerability management. Environments where nginx and applications like WordPress run under the same user account are particularly at risk.

Why it matters

CVE-2026-108981 is a vulnerability in the ngx_cache_purge module that can allow file deletion via a symlink attack. Defenders should prioritize verifying the version and applying the patch to prevent potential file deletion.

  • File deletion via symlink attack
  • Potential data loss or corruption
  • Need to verify version and apply patch
  • Possible TOCTOU race condition

Technical summary

The ngx_cache_purge module is vulnerable to a symlink attack, which can allow an attacker to delete files. 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 vulnerability is due to the module's reliance on nginx's ngx_walk_tree(), which follows symlinks. This can lead to unintended file deletion if an attacker can create a symlink within the cache directory.

Defensive priority

Defenders should prioritize verifying the version of ngx_cache_purge and applying the patch to prevent potential file deletion.

Recommended defensive actions

  • Verify the version of ngx_cache_purge and apply the patch to prevent potential file deletion.
  • Review the cache path and ensure that it is properly configured to prevent symlink attacks.
  • Monitor for any suspicious activity that could indicate an attempt to exploit this vulnerability.
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
  • Review compensating controls for exposed systems while remediation is scheduled and verified.
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review.
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.

Evidence notes

The CVE record and source item provide information about the vulnerability, its impact, and the affected versions. The ngx_cache_purge module follows symlinks while walking the cache directory tree during purge operations, which can lead to file deletion. The CVE Program record and NIST NVD detail page offer additional context on the vulnerability. However, the exact scope of affected systems and the full extent of potential damage are not detailed in the provided sources.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-108981 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-108981

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-108981 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-108981

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • CVE-2026-108981

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/108xxx/CVE-2026-108981.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/nginx-modules/ngx_cache_purge/pull/72

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

    URL: https://github.com/nginx-modules/ngx_cache_purge/commit/a6da1352f52a8a02dd6828e88c39ed42fddcee96

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

    URL: https://github.com/nginx-modules/ngx_cache_purge/releases/tag/3.0.4

    Supplemental source

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.