FreeBSD : py-netutils -- Sandbox escape leads to remote code execution (0505c0f2-ed6d-11f1-aff8-901b0edee044)

high Nessus Plugin ID 392148

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

The version of FreeBSD installed on the remote host is prior to tested version. It is, therefore, affected by a vulnerability as referenced in the 0505c0f2-ed6d-11f1-aff8-901b0edee044 advisory.

Ken Celenza reports:
The ipaddress_address, ipaddress_interface and ipaddress_network Jinja2 filters resolve a template-supplied attribute path (including dunder names) in plain Python, outside the SandboxedEnvironment checks. A template author can use this to reach classes such as subprocess.Popen and execute arbitrary code.

Tenable has extracted the preceding description block directly from the FreeBSD security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

http://www.nessus.org/u?3fe5359d

http://www.nessus.org/u?a7b7d789

Plugin Details

Severity: High

ID: 392148

File Name: freebsd_pkg_0505c0f2ed6d11f1aff8901b0edee044.nasl

Version: 1.1

Type: Local

Published: 12/2/2026

Updated: 12/2/2026

Supported Sensors: Nessus

Vulnerability Information

CPE: cpe:/o:freebsd:freebsd, p-cpe:/a:freebsd:freebsd:py311-netutils, p-cpe:/a:freebsd:freebsd:py312-netutils, p-cpe:/a:freebsd:freebsd:py313-netutils, p-cpe:/a:freebsd:freebsd:py313t-netutils, p-cpe:/a:freebsd:freebsd:py314-netutils, p-cpe:/a:freebsd:freebsd:py314t-netutils, p-cpe:/a:freebsd:freebsd:py315-netutils

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Ease: No known exploits are available

Patch Publication Date: 12/1/2026

Vulnerability Publication Date: 11/30/2026