CVE-2026-54586 mport permits repository and package mirror fetches over insecure transport
Attackers can tamper with package downloads via insecure HTTP, compromising integrity and enabling code execution in MidnightBSD systems.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-54586?
CVE-2026-54586 is a medium-severity vulnerability in MidnightBSD mport, published on 17 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2026-54586?
How do I fix CVE-2026-54586?
No fix has been published for CVE-2026-54586 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-54586 being exploited?
There is no known exploitation of CVE-2026-54586 in the wild and no public exploit code.
Sources
Also known as GHSA-v5pv-7gxw-74r5.