CVE-2024-9050: Code Injection
Source CVE Database V5
Not known to be exploited · CVSS 7.8 High.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 39% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 22 Oct 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
AI-suggested
Red Hat has released official security updates addressing CVE-2024-9050 for NetworkManager-libreswan on affected Red Hat Enterprise Linux versions (notably 7.7 and 9.0). Users should apply these updates promptly following Red Hat's guidance at https://access.redhat.com/articles/11258. No alternative mitigations or workarounds are specified in the advisories. Patch status is confirmed as official-fix via Red Hat advisories.
Description
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.
References
- access.redhat.com/errata/RHSA-2024:8312 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:8338 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:8352 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:8353 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:8354 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:8355 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:8356 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:8357 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:8358 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:9555 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:9556 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2024-9050 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2313828 (opens in a new tab)
- gitlab.gnome.org/GNOME/NetworkManager-libreswan/-/commit/dcf8acfb25bd31e4b8cbd20c229da660238b5c1b (opens in a new tab)
- openwall.com/lists/oss-security/2024/10/25/1 (opens in a new tab)
- openwall.com/lists/oss-security/2024/10/25/1 (opens in a new tab)