{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-108981 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-108981 is a low-severity path traversal vulnerability in denji ngx_cache_purge, published on 12 Oct 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-108981 and fix it if it is affected.\n\nWhat it is: CVE-2026-108981 is a low-severity path traversal vulnerability in denji ngx_cache_purge, published on 12 Oct 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-108981 in the wild and no public exploit code.\n\nAffected product: denji ngx_cache_purge. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-108981/ (Markdown: https://insights.sbomify.com/CVE-2026-108981/index.md)","id":"CVE-2026-108981","markdown":"https://insights.sbomify.com/CVE-2026-108981/index.md","name":"CVE-2026-108981","record":{"aliases":["DEBIAN-CVE-2026-108981","GHSA-5fhq-3m7h-fqv8","UBUNTU-CVE-2026-108981"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_modify"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"nginx cache purge module","requires_auth":"low_privilege","summary":"Attackers can delete arbitrary files via symlink attacks in ngx_cache_purge when nginx and applications share user permissions.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[],"cvss":{"score":3.6,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-61","name":"UNIX Symbolic Link (Symlink) Following"}],"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.)","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Path traversal in ngx cache purge","id":"CVE-2026-108981","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":0,"n_references":3,"next":{"headline":"Information disclosure in VeraCrypt","id":"CVE-2026-108982"},"packages":[],"prev":{"headline":"Path traversal in Blinko","id":"CVE-2026-108980"},"products":["ngx_cache_purge"],"published":"2026-10-12","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-14","vendors":["denji"]},"summary":"Attackers can delete arbitrary files via symlink attacks in ngx_cache_purge when nginx and applications share user permissions.","url":"https://insights.sbomify.com/CVE-2026-108981/"}