Servers and applications
GHSA-fqmm-g6xw-qhm4
OpenVPN session kill endpoint executes arbitrary management protocol commands through unvalidated `session_id` (delegated status user to daemon control)
- Severity
- Medium 6.5
- Published
- 12 Aug 2026
- Last changed
- 12 Aug 2026
- Added to UpHeron
- 3 Nov 2026
- Fixed in
- 26.7.2
- Weakness
- Command injection (CWE-77)
- Attack
- Over the network · Needs an administrator account · No user action needed
- Attacker can
- Read data · Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:H- Sources
- Project advisories (GitHub)
Description
The WebGUI endpoint POST /api/openvpn/service/kill_session accepts a session_id parameter (source address:port or certificate common name) and passes it without any validation to the configd action openvpn kill. The backend script kill_session.py concatenates the value directly into an OpenVPN management protocol command ('kill %s\n' % session_id) and writes it to the daemon's management unix socket as root.
A newline character inside session_id frames a second, independent management protocol command. Any management command available on the interface can be injected, including signal SIGTERM (terminate the daemon), signal SIGHUP (restart), client-kill, and client-auth/client-deny (interfere with client authorization).
The endpoint is reachable by any WebGUI user holding the delegated Status: OpenVPN privilege (page-status-openvpn → api/openvpn/service/*), a monitoring role whose intended capability is to view sessions and kill individual connections.
Affected software
| Software | Affected versions |
|---|---|
OPNsenseServers and applications · github:opnsense/core |
|
About OPNsense
open-source firewall
- 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
| Release | Latest | Security fixes |
|---|---|---|
| 26.7 'Xenial Xenops' | 26.7.9 | Yes |
| 26.1 'Witty Woodpecker' | 26.1.11 | Ended 15 Jul 2026 |
| 25.7 'Visionary Viper' | 25.7.11 | Ended 28 Jan 2026 |
| 25.1 'Ultimate Unicorn' | 25.1.12 | Ended 23 Jul 2025 |
| 24.7 'Thriving Tiger' | 24.7.12 | Ended 28 Jan 2025 |
| 24.1 'Savvy Shark' | 24.1.10 | Ended 25 Jul 2024 |
From endoflife.date.
Vulnerabilities in OPNsense
- In our list
- 71
- Published in the last 12 months
- 51
- Critical, last 12 months
- 5
- High, last 12 months
- 13
- Known exploited
- 0
- GHSA-f35q-c34m-pfw3Unquoted PPP password in mpd_*.conf allows root command execution (incomplete fix of CVE-2026-57154)High 7.2 11 Nov 2026
- GHSA-2f7g-25f3-55v7Source-restricted page-all group satisfies Monit full-admin check outside its allowed networkMedium 11 Nov 2026
- GHSA-2w8j-hpp2-8rfjLimited Status users can delete crash evidence through dismiss_statusMedium 11 Nov 2026
- GHSA-r23v-737v-6r5hCaptive Portal template ZIP expansion exhausts WebGUI and backend memoryMedium 11 Nov 2026
- CVE-2026-119560OPNsense core through 26.7.8 NTP Configuration Injection via GPS and PPS Fudge FieldsMedium 6.0 30 Oct 2026
- CVE-2026-119425OPNsense 26.1.6 through 26.7.7 Captive Portal Session Takeover via Forged ARPMedium 5.3 30 Oct 2026
References
- GitHub Advisory Database https://github.com/advisories/GHSA-fqmm-g6xw-qhm4
- github.com https://github.com/opnsense/core/security/advisories/GHSA-fqmm-g6xw-qhm4