All vulnerabilities

Servers and applications

GHSA-cwm9-v375-rgvv

Restricted projects can add arbitrary host routes through bridged NICs

Severity
Medium 6.4
Published
27 Nov 2026
Last changed
27 Nov 2026
Added to UpHeron
27 Nov 2026
Fixed in
7.7.0
Weakness
Incorrect authorization (CWE-863)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read some data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Sources
Project advisories (GitHub)

Description

Bridged NICs accept the ipv4.routes, ipv6.routes, ipv4.routes.external and ipv6.routes.external keys, which add static routes on the host pointing at the instance.

Those keys were not checked against the project's restrictions. Neither restricted.networks.access nor restricted.networks.subnets limited the prefixes, so an instance in a restricted project could have any prefix routed to it.

A client restricted to a project with restricted=true can add or change a bridged NIC on one of its instances and have the host route prefixes of its choice to that instance.

Traffic sent to those prefixes by the host, and by anything the host routes for, is then delivered to that instance, which can read, alter or drop it. The default route can't be replaced, but any more specific prefix can, for example a DNS resolver, a management endpoint or the network of another project.

From lxc/incus's security advisory.

Workarounds

Limit restricted.networks.access on restricted projects to networks that aren't bridges, such as OVN networks, or set restricted.devices.nic=block.

Workarounds as given by lxc/incus's security advisory.

Affected software

SoftwareAffected versions
IncusServers and applications · github:lxc/incus
  • Every version before 7.7.0

About Incus

container manager for system containers

From Wikidata, CC0 1.0.
GitHub stars
6,771GitHub, 29 Nov 2026
Forks
535GitHub, 29 Nov 2026
Latest release
v7.7.0GitHub, 29 Nov 2026
Released
27 Nov 2026GitHub
Developer
Linux ContainersWikidata
License
Apache License 2.0Wikidata
Written in
GoWikidata
First released
7 Aug 2023Wikidata
First published on GitHub
22 Jul 2023GitHub

References