# CVE-2024-11681: Remote Code Execution in MacPorts

- Severity: Medium 6.9 (CVSS:4.0, scored by Google) `CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 43% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-01-07T14:35:52.723Z
- Modified: 2026-06-17T06:58:13.580Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: Google

## Description

A malicious or compromised MacPorts mirror can execute arbitrary commands as root on the machine of a client running port selfupdate against the mirror.

(As written by CVE List.)

## Affected

- MacPorts MacPorts: < 2.10.5; before 2.10.5

## Every score

- Google: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N`
- CISA-ADP: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:N`

## References

- <https://github.com/google/security-research/security/advisories/GHSA-2j38-pjh8-wfxw> (exploit, vendor-advisory)

## Sources

- CVE List: [CVE-2024-11681](https://www.cve.org/CVERecord?id=CVE-2024-11681), CVE Terms of Use, modified 2025-01-07
- NVD: [CVE-2024-11681](https://nvd.nist.gov/vuln/detail/CVE-2024-11681), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-11681 · Whole record: https://cve.day/CVE-2024-11681.json · Rebuilt by cve.day 2026-11-25T22:58:50.785Z
