# CVE-2026-54586: mport permits repository and package mirror fetches over insecure transport

- Severity: Medium 6.0 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/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.13%, higher than 3% of CVEs (2026-12-02)
- Published: 2026-09-17T16:53:24.229Z
- Modified: 2026-09-21T21:17:04.840Z
- Weaknesses: CWE-319, CWE-345
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

mport is the MidnightBSD Package Manager. Prior to 2.7.8, the mport_fetch_index(), mport_fetch_bootstrap_index(), and mport_fetch_bundle() paths in libmport/fetch.c accepted non-HTTPS repository and package mirror URLs without a url_is_https() enforcement check. When a cleartext URL was configured or returned by mirror data, a network-positioned attacker could tamper with package index or package download traffic and compromise package selection or integrity. This issue is fixed in version 2.7.8.

(As written by CVE List.)

## Affected

- MidnightBSD mport: < 2.7.8

## References

- <https://github.com/MidnightBSD/mport/security/advisories/GHSA-v5pv-7gxw-74r5>
- <https://github.com/MidnightBSD/mport/pull/121>
- <https://github.com/MidnightBSD/mport/commit/9b4d0f9192b243ee32266afa36dce430b257b921>
- <https://github.com/MidnightBSD/mport/releases/tag/2.7.8>

## Sources

- CVE List: [CVE-2026-54586](https://www.cve.org/CVERecord?id=CVE-2026-54586), CVE Terms of Use, modified 2026-09-21
- NVD: [CVE-2026-54586](https://nvd.nist.gov/vuln/detail/CVE-2026-54586), Public domain, modified 2026-09-21

---

Page: https://cve.day/CVE-2026-54586 · Whole record: https://cve.day/CVE-2026-54586.json · Rebuilt by cve.day 2026-11-25T22:59:39.283Z
