All vulnerabilities

Servers and applications

GHSA-33q4-wcv7-r8fr

Trust certificate and CA refids allow path traversal during IPsec file generation

Severity
High 8.1
Published
15 Jun 2026
Last changed
15 Jun 2026
Added to UpHeron
3 Nov 2026
Fixed in
26.1.10
Weakness
Path traversal (CWE-22)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Sources
Project advisories (GitHub)

Description

An authenticated OPNsense Web UI/API user with access to Trust certificate/CA management and IPsec configuration can control Trust object refid values that are later concatenated into IPsec output paths.

By creating a certificate with a path traversal refid, referencing it from a Swanctl local authentication entry, and triggering IPsec reconfiguration, the user can cause root to create or overwrite attacker-controlled .key and .crt files outside the intended /usr/local/etc/swanctl/private and /usr/local/etc/swanctl/x509 directories.

The same trust-boundary failure also affects Trust CA refid values. By creating an internal CA with a path traversal refid and triggering IPsec reconfiguration, the user can cause root to create a .crt symlink outside the intended /usr/local/etc/swanctl/x509ca directory.

This was dynamically verified on a local OPNsense VM. Temporary certificate and CA refid values traversed to /tmp.

From opnsense/core's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
OPNsenseServers and applications · github:opnsense/core
  • Every version before 26.1.10

About OPNsense

open-source firewall

From Wikidata, CC0 1.0.
GitHub stars
4,802GitHub, 15 Nov 2026
Forks
1,029GitHub, 15 Nov 2026
License
2-clause BSD LicenseWikidata
Written in
PHP, CWikidata
First released
2 Jan 2015Wikidata
First published on GitHub
13 Dec 2014GitHub

Release lines

ReleaseLatestSecurity fixes
26.7 'Xenial Xenops'26.7.9Yes
26.1 'Witty Woodpecker'26.1.11Ended 15 Jul 2026
25.7 'Visionary Viper'25.7.11Ended 28 Jan 2026
25.1 'Ultimate Unicorn'25.1.12Ended 23 Jul 2025
24.7 'Thriving Tiger'24.7.12Ended 28 Jan 2025
24.1 'Savvy Shark'24.1.10Ended 25 Jul 2024

From endoflife.date.

References