← Back to results
Vulnerability record · public intelligence
CVE-2024-9050
HIGH

Networkmanager-libreswan: local privilege escalation via leftupdown

Published Oct 22, 2024 · Updated Nov 3, 2026

Severity · CVSSHIGH · Not scored
Known exploitationNot listed
EPSS / likelihood0.46%
QFinch risk scoreNot available

Original summary

Normalized public record · Updated Nov 3, 2026

Networkmanager-libreswan: local privilege escalation via leftupdown

Publisher and source text is retained separately from QFinch interpretation.

QFinch assessment

A flaw was found in the libreswan client plugin for NetworkManager (NetkworkManager-libreswan), where it fails to properly sanitize the VPN configuration from the local unprivileged user. In this configuration, composed by a key-value format, the plugin fails to escape special characters, leading the application to interpret values as keys. One of the most critical parameters that could be abused by a malicious user is the `leftupdown`key. This key takes an executable command as a value and is used to specify what executes as a callback in NetworkManager-libreswan to retrieve configuration settings back to NetworkManager. As NetworkManager uses Polkit to allow an unprivileged user to control the system's network configuration, a malicious actor could achieve local privilege escalation and potential code execution as root in the targeted machine by creating a malicious configuration.

Evidence: public source records

Affected products

Affected scope reported by the available public evidence
Affected package, product or rangeFix status
Consult the referenced vendor advisory for affected versions.Consult source advisory

Matching a version is only one part of assessing exposure. QFinch has not assessed your environment on this public page.

Remediation

Apply the vendor-supported fixed release or mitigation, then verify the affected component is no longer reachable.

  1. Confirm the affected product and reachable code path exist in your environment.
  2. Apply the vendor-supported patch or mitigation from the primary advisory.
  3. Rescan the exact deployed revision and retain verification evidence.
Review primary references

Evidence coverage

FIRST-EPSSCVE-LIST-V5
SSVC priority
MEDIUM
Confidence
Not available
Aliases
None reported

Scores appear only when corresponding evidence exists. Missing data is never interpreted as zero risk.

Sources and record history

  1. RHSA-2024:8312 ↗
  2. RHSA-2024:8338 ↗
  3. RHSA-2024:8352 ↗
  4. RHSA-2024:8353 ↗
  5. RHSA-2024:8354 ↗
  6. RHSA-2024:8355 ↗
  7. RHSA-2024:8356 ↗
  8. RHSA-2024:8357 ↗
  9. RHSA-2024:8358 ↗
  10. RHSA-2024:9555 ↗
  11. RHSA-2024:9556 ↗
  12. access.redhat.com ↗

Record history

Published Oct 22, 2024 · Last refreshed Nov 3, 2026