CVE-2026-129919
Last modified
CVE-2026-129919 is a low-severity vulnerability rated 2/10 on the CVSS scale. 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/<pid>/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.
Description
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/<pid>/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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| kunai-project | Kunai | <= 0.6.2 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-129919?
How severe is CVE-2026-129919?
How do I fix CVE-2026-129919?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-129887thirdweb Dashboard through commit 940b3745 contains an infor…4.3
- CVE-2026-129888Cetmix Tower through 17.0.3.0.0 and 18.0 before 18.0.4.0.1 c…6.8
- CVE-2026-12989A lack of authentication in the mobile app (APK v5.5.0) for …8.7
- CVE-2026-1299The email module, specifically the "BytesGenerator" class, …6
- CVE-2026-12990An access control vulnerability in the mobile app (APK v5.5.…7.7
- CVE-2026-12991The lack of cryptographic mechanisms to ensure the integrity…8.7
- CVE-2026-12992A flaw was found in Apicurio Registry. The WSDLReaderAccesso…7.4
- CVE-2026-12993A flaw was found in Apicurio Registry. The DocumentBuilderAc…6.5
- CVE-2026-12994The WCFM – Frontend Manager for WooCommerce plugin for WordP…5.3
- CVE-2026-129940Prime CMS (@primecms/core) through 0.4.0-beta.0 contains an …6.1
- CVE-2026-129941Prime CMS (@primecms/core) through 0.4.0-beta.0 contains an …9.8
- CVE-2026-129942Prime CMS (@primecms/core) through 0.4.0-beta.0 contains a m…6.5
Are you affected by CVE-2026-129919?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
