UBUNTU-CVE-2026-108981

Source
https://ubuntu.com/security/CVE-2026-108981
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-108981.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-108981
Upstream
Published
2026-10-13T00:00:00Z
Modified
2026-10-14T03:22:50Z
Severity
  • 3.6 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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

Affected packages

Ubuntu:24.04:LTS / libnginx-mod-http-cache-purge

Package

Name
libnginx-mod-http-cache-purge
Purl
pkg:deb/ubuntu/libnginx-mod-http-cache-purge?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1:2.*
1:2.3-5
1:2.3-6
1:2.3-6build2

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libnginx-mod-http-cache-purge",
            "binary_version":  "1:2.3-6build2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-108981.json"

Ubuntu:26.04:LTS / libnginx-mod-http-cache-purge

Package

Name
libnginx-mod-http-cache-purge
Purl
pkg:deb/ubuntu/libnginx-mod-http-cache-purge?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1:2.*
1:2.5.3-3build1
1:2.5.4-1
1:2.5.4-1build1
1:2.5.5-1
1:2.5.5-1build1
1:2.5.5-1build2

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libnginx-mod-http-cache-purge",
            "binary_version":  "1:2.5.5-1build2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-108981.json"