Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-108981

Quick assessment

Affected
denji ngx_cache_purge
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

在 nginx 和所服务的某个应用程序(例如 WordPress)以同一用户身份运行的特定情况下,ngx_cache_purge 模块(版本低于 3.0.4)存在通过符号链接(symlink)攻击实现文件删除的风险。攻击者必须能够在缓存路径中创建符号链接。 版本 3.0.4 修复了由在任意先前时间创建的符号链接引发的问题,但未能解决一个适用的时间戳检查到使用(TOCTOU)竞态条件。 (原因分析:ngx_cache_purge 模块在执行清理操作、遍历缓存目录树时,会跟随符号链接。该模块依赖于 nginx 的 ng

CVSS 3.6 · Low EPSS 0.12% · P2

Affected Version Matrix 2

VendorProduct Version RangeStatus
denji ngx_cache_purge 2.4.0≤ 2.5.6 affected
3.0.0< 3.0.4 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-108981

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
N/A
Source: CVE Program / CVE List V5
Vulnerability 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: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
CWE-61
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
denji ngx_cache_purge 2.4.0 ~ 2.5.6 -

II. Public POCs for CVE-2026-108981

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-108981

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-108981 (2)

Vendor Pages for CVE-2026-108981 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-108981

No comments yet


Leave a comment