CVE-2026-129919

Source
https://cve.org/CVERecord?id=CVE-2026-129919
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-129919.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-129919
Published
2026-11-16T13:49:48Z
Modified
2026-11-17T21:00:59Z
Severity
  • 2.0 (Low) CVSS_V4 - CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N CVSS Calculator
Summary
Kunai Mount Namespace Cache TOCTOU Allows Incorrect Event Resolution Against Host Files
Details

Kunai, a security monitoring tool, contains a time-of-check to time-of-use (TOCTOU) race condition in its mount namespace (mnt ns) caching logic. When resolving a security event that references a specific process PID and an expected mount namespace, the Switcher::new function read /proc//ns/mnt to determine the target namespace and cached the result under the expected namespace key without verifying that the resolved namespace actually matched the expected one.

An attacker with local access could exploit this by either (1) arranging for the referenced PID to be reused by a process in a different namespace (e.g., the host namespace) before Kunai resolves it, or (2) calling unshare or setns on the target process after the event is generated but before the namespace is resolved. In either case, the wrong namespace (potentially the host's own namespace) would be cached under the container's namespace key.

The security impact is that subsequent container security events would be resolved against host filesystem paths rather than container paths. This undermines the integrity of the security monitoring data: container activity could be misattributed to the host, host activity could be misattributed to a container, and file-path-based detections or alerts would reference incorrect paths. An attacker could potentially use this to obscure malicious activity within a container by making it appear as benign host activity, or to generate misleading security alerts.

The vulnerability requires local access to the system and a specific timing window between event generation and namespace resolution. No remote attack vector or user interaction is required.

Database specific
{
    "cna_assigner":  "CIRCL",
    "cwe_ids":  [
        "CWE-20",
        "CWE-367"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129919.json"
}
References

Affected packages

Git / github.com/kunai-project/kunai

Affected ranges

Type
GIT
Repo
https://github.com/kunai-project/kunai
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "last_affected":  "0.6.2"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "0ad82911a6b72c81c55507fdabb9baad1ad1ad02"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

aya-helpers-v0.*
aya-helpers-v0.1.0
kunai-common-v0.*
kunai-common-v0.2.0
kunai-common-v0.2.1
kunai-common-v0.2.2
kunai-common-v0.2.3
kunai-common-v0.2.4
kunai-common-v0.2.5
kunai-common-v0.2.6
kunai-common-v0.3.0
kunai-common-v0.3.0-alpha.1
kunai-common-v0.3.0-alpha.2
kunai-common-v0.3.0-beta.1
kunai-common-v0.3.1
kunai-common-v0.4.0
kunai-common-v0.5.0
kunai-common-v0.5.1
kunai-common-v0.5.2
kunai-common-v0.5.3
kunai-common-v0.5.4
kunai-common-v0.5.5
kunai-common-v0.6.0
kunai-common-v0.6.1
kunai-common-v0.6.2
kunai-common-v0.7.0-rc.1
kunai-ebpf-v0.*
kunai-ebpf-v0.2.0
kunai-ebpf-v0.2.1
kunai-ebpf-v0.2.2
kunai-ebpf-v0.2.3
kunai-ebpf-v0.2.4
kunai-ebpf-v0.2.5
kunai-ebpf-v0.3.0
kunai-ebpf-v0.3.0-alpha.1
kunai-ebpf-v0.3.1
kunai-ebpf-v0.4.0
kunai-ebpf-v0.5.0
kunai-ebpf-v0.5.1
kunai-ebpf-v0.5.2
kunai-ebpf-v0.5.3
kunai-ebpf-v0.5.4
kunai-ebpf-v0.5.5
kunai-ebpf-v0.6.0
kunai-ebpf-v0.6.1
kunai-ebpf-v0.6.2
kunai-ebpf-v0.7.0-rc.1
kunai-macros-v0.*
kunai-macros-v0.1.0
kunai-macros-v0.1.1
kunai-macros-v0.3.0
kunai-macros-v0.3.0-alpha.1
kunai-macros-v0.3.0-alpha.2
kunai-macros-v0.3.0-beta.1
kunai-macros-v0.3.1
kunai-macros-v0.4.0
kunai-macros-v0.5.0
kunai-macros-v0.5.1
kunai-macros-v0.5.2
kunai-macros-v0.5.3
kunai-macros-v0.5.4
kunai-macros-v0.5.5
kunai-macros-v0.6.0
kunai-macros-v0.6.1
kunai-macros-v0.6.2
kunai-macros-v0.7.0-rc.1
kunai-v0.*
kunai-v0.2.0-rc.3
kunai-v0.2.1
kunai-v0.2.2
kunai-v0.2.3
kunai-v0.2.4
kunai-v0.2.5
kunai-v0.2.6
kunai-v0.3.0
kunai-v0.3.0-alpha.1
kunai-v0.3.0-alpha.2
kunai-v0.3.0-beta.1
kunai-v0.3.1
kunai-v0.4.0
kunai-v0.5.0
kunai-v0.5.1
kunai-v0.5.2
kunai-v0.5.3
kunai-v0.5.4
kunai-v0.5.5
kunai-v0.6.0
kunai-v0.6.1
kunai-v0.6.2
kunai-v0.7.0-rc.1
v0.*
v0.1.0
v0.2.0
v0.2.0-alpha
v0.2.0-alpha.1
v0.2.0-alpha.2
v0.2.0-alpha.3
v0.2.0-alpha.4
v0.2.0-rc.1
v0.2.0-rc.2
v0.2.0-rc.3
v0.2.1
v0.2.2
v0.2.3
v0.2.4
v0.2.5
v0.2.6
v0.3.0
v0.3.0-alpha.1
v0.3.0-alpha.2
v0.3.0-beta.1
v0.3.1
v0.4.0
v0.5.0
v0.5.1
v0.5.2
v0.5.3
v0.5.4
v0.5.5
v0.6.0
v0.6.1
v0.6.2
v0.7.0-rc.1
xlaunch-v0.*
xlaunch-v0.5.4
xlaunch-v0.5.5
xlaunch-v0.6.0
xlaunch-v0.6.1
xlaunch-v0.6.2
xlaunch-v0.7.0-rc.1
xtask-v0.*
xtask-v0.2.0
xtask-v0.2.1
xtask-v0.2.2
xtask-v0.2.3
xtask-v0.2.4
xtask-v0.3.0
xtask-v0.3.0-alpha.1
xtask-v0.3.0-alpha.2
xtask-v0.3.0-beta.1
xtask-v0.3.1
xtask-v0.4.0
xtask-v0.5.0
xtask-v0.5.1
xtask-v0.5.2
xtask-v0.5.3
xtask-v0.5.4
xtask-v0.5.5
xtask-v0.6.0
xtask-v0.6.1
xtask-v0.6.2
xtask-v0.7.0-rc.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-129919.json"