Vulnerability in WordPress ngx_cache_purge (CVE-2026-108981)
Summary
Vulnerability in WordPress ngx_cache_purge (CVE-2026-108981). Risk of unauthorized operations or information disclosure.
Original description
The description as published by the source.
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: GitHub Security Advisories (Global) NVD GitHub Advisory
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2026-108981 has been found in WordPress ngx_cache_purge.
Risk of unauthorized operations or information disclosure. CVSS score: 3.6/10.
What to do: apply the vendor's official patched release.
If unsure, ask your IT team or search "WordPress ngx_cache_purge CVE-2026-108981" on the vendor's site.
CVE-2026-108981 (WordPress ngx_cache_purge) — CWE-61 / CVSS v3 3.6
Attack vector: local / no user interaction
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-61) exists in WordPress ngx_cache_purge.
Check the vendor advisory for the affected versions of WordPress ngx_cache_purge.
Severity: Low (CVSS 3.6/10). Risk of unauthorized operations or information disclosure.
Update to the patched release per vendor advisory.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'ngx_cache_purge' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
grep -r 'ngx_cache_purge' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
ngx_cache_purgeを grep し、稼働しているサービス・バージョンを把握する。 -
2Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
References
- web nvd.nist.gov
- web cve@mitre.org
- web cve@mitre.org
- web cve@mitre.org
- web github.com