CVE-2026-54586

mport permits repository and package mirror fetches over insecure transport

State
Published
Severity
6.0 Medium
Published
Sep 17, 2026
Updated
Sep 21, 2026
Reserved
Jun 15, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.0 MediumCVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:NGitHub_M

Weaknesses

  • CWE-319 Cleartext Transmission of Sensitive Information
  • CWE-345 Insufficient Verification of Data Authenticity

Affected Products

ProductVersions
mportMidnightBSD
  • < 2.7.8Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.