arXiv:cs.AI· Qiyuan Fan, Zhi Li, Junjie Li, XiaoFeng Wang, Bin Yuan, Deqing Zou·· 22 小时前
Bulkhead:自动语义检测与修复容器逃逸漏洞
Bulkhead: Automated Semantic Detection and Remediation of Container Escape Vulnerabilities
AI 导读
Bulkhead 是一个自动检测与修复容器逃逸漏洞的框架,将历史 CVE 归纳为结构化语义模式,结合文档与代码证据、source-to-sink 执行上下文引导 LLM 推理,并用隔离 PoC 验证。在容器仓库中它发现 20 个零日漏洞,占过去十年发现总量的 43%,其中 3 个已分配 CVE,修复补丁已提交上游。
正文
Abstract:Container filesystem isolation depends on safely resolving container-controlled paths during privileged host-container interactions. As third-party plugins and agent sandboxes introduce more interactions, unsafe path resolution can redirect host operations across isolation boundaries, expanding the attack surface for path traversal vulnerabilities. These logic flaws are difficult to mitigate: kernel defenses require intrusive redesign, static rules miss cross-boundary semantics, and manual auditing cannot scale. Large Language Model (LLM) based methods can detect syntax flaws through stable code patterns and identify logic flaws in domains such as smart contracts by comparing equivalent implementations. Container components, however, provide neither form of regularity: their heterogeneous interfaces operate under trust boundaries, filesystem views and interaction orders, making the security invariant difficult to find.
We present Bulkhead, an automated framework for detection and remediation. Bulkhead summarizes historical CVEs into structured semantic patterns, correlates documentation with entry and effect side code evidence, and recovers source-to-sink execution contexts. Grounded patterns guide LLM reasoning, while isolated Proof-of-Concept (PoC) execution validates findings. For remediation, Bulkhead generates repository-specific patches, checks that they build, and iteratively verifies path safety and functionality using pattern derived model checking templates and counterexamples before runtime validation. Across container repositories, Bulkhead discovered 20 zero-day vulnerabilities, accounting for 43% of the total number discovered over the past decade. Among them, 3 have been assigned CVEs and the verified patch suggestions have been submitted to the upstream.
| Subjects: | Cryptography and Security (cs.CR); Artificial Intelligence (cs.AI); Software Engineering (cs.SE) |
| Cite as: | arXiv:2607.12723 [cs.CR] |
| (or arXiv:2607.12723v2 [cs.CR] for this version) | |
| https://doi.org/10.48550/arXiv.2607.12723 arXiv-issued DOI via DataCite |
Submission history
From: Qiyuan Fan [view email]
[v1]
Tue, 14 Jul 2026 12:52:56 UTC (2,797 KB)
[v2]
Sat, 10 Oct 2026 03:41:04 UTC (1,583 KB)
来源:arXiv:cs.AI · arxiv.org