Skip to main content

MidnightBSD mport EUVDEUVD-2026-82324

| CVE-2026-54586 MEDIUM
Cleartext Transmission of Sensitive Information (CWE-319)
2026-09-17 GitHub_M
6.0
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain on-path network position
  2. Delivery
    Client fetches index/bundle over http:// mirror
  3. Exploit
    Intercept and rewrite package data
  4. Execution
    Deliver tampered index or bundle
  5. Impact
    Malicious/altered package installed

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V12 - Secure Communication Transport encryption
Exploitation Conditions

Two conditions must both hold: (1) an mport repository or package mirror URL is configured as, or returned by mirror data as, a cleartext http:// URL (any all-HTTPS configuration is not exploitable, since the bootstrap index path now hard-fails on non-HTTPS); and (2) the attacker occupies an adjacent/on-path network position (AV:A) able to intercept and modify the client-to-mirror traffic during an active index or bundle fetch (AT:P). Limiting factors: no authentication is needed (PR:N) and no user interaction (UI:N), but the MITM requirement plus the need for an active cleartext transfer substantially constrain real-world exploitation. Affected only on MidnightBSD mport prior to 2.7.8.

Impact

This is a genuine but conditional integrity issue, not a high-urgency emergency. The CVSS 4.0 vector (AV:A/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L, base 6.0) tells the real story: exploitation requires an ADJACENT network position (AV:A) plus a specific attack requirement (AT:P) - namely that the victim is actually mid-transfer against a cleartext mirror - and yields integrity compromise (VI:H) with no confidentiality loss (VC:N). No EPSS score, no CISA KEV listing, and no public exploit code were provided, so exploitation status is 'no public exploit identified at time of analysis'. The absence of confidentiality impact (VC:N) means the 'Information Disclosure' tag conflicts with the vendor's own metrics - the true impact is package tampering/supply-chain integrity, consistent with CWE-319 (cleartext transmission). Net: real-world priority is LOW-to-MODERATE, gated hard by the MITM requirement and by whether any http:// mirror is ever used; this is a defense-in-depth hardening fix rather than a widely weaponizable flaw.

Exploit ScenarioDerived

A network-positioned attacker (rogue Wi-Fi, compromised router, or on-path device) intercepts an mport client on MidnightBSD < 2.7.8 that is configured with - or is handed by mirror data - an http:// repository or package URL. Because fetch.c never enforced url_is_https(), the attacker rewrites the package index or bundle response in transit and induces installation of an attacker-chosen or trojanized package. No public exploit code is identified; the attack requires both an active transfer and an on-path position.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 17, 2026

On-path tampering with package-fetch traffic in MidnightBSD's mport package manager lets a network-positioned attacker substitute or alter package indexes and bundles that the client then trusts as legitimate. The flaw affects mport releases prior to 2.7.8, whose index and bundle fetch paths in libmport/fetch.c accepted cleartext http:// mirror URLs instead of enforcing HTTPS, giving the issue a CVSS 4.0 base score of 6.0. No public exploit code has been identified at time of analysis, and MidnightBSD mport 2.7.8 addresses the issue.

RemediationAI

Vendor-released patch: 2.7.8 - upgrade MidnightBSD mport to 2.7.8 or later, which adds the url_is_https() enforcement so non-HTTPS mirrors are skipped in mport_fetch_index() and mport_fetch_bundle() and a non-HTTPS bootstrap index URL is rejected outright (commit 9b4d0f9192b243ee32266afa36dce430b257b921, PR https://github.com/MidnightBSD/mport/pull/121, release https://github.com/MidnightBSD/mport/releases/tag/2.7.8, advisory https://github.com/MidnightBSD/mport/security/advisories/GHSA-v5pv-7gxw-74r5). If immediate upgrade is not possible, the effective compensating control is configuration-level: edit the repository and mirror configuration so every entry, plus MPORT_BOOTSTRAP_INDEX_URL, uses an https:// scheme, which removes the cleartext transfer the attack depends on - the trade-off is that any mirror only reachable over http will stop working, reducing mirror availability and possibly slowing package operations. Because the patch's skip behavior is silent apart from a message callback, administrators applying the upgrade should expect to lose access to legacy http mirrors after 2.7.8 and should inventory their mirror lists beforehand; there is no indication of any other supported workaround in the available data, and the underlying MITM condition cannot be mitigated by client-side measures short of trusted, encrypted transport.

Affected VersionsENISA

mport < 2.7.8

Affected Packages

euvd mport fix: 2.7.8

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is CWE-319 (Cleartext Transmission of Sensitive Information) in the MidnightBSD package manager's library layer, libmport/fetch.c. The functions mport_fetch_index(), mport_fetch_bootstrap_index(), and mport_fetch_bundle() retrieved repository metadata and package payloads from configured or mirror-supplied URLs without validating that the scheme was HTTPS, so a repository configured with an http:// mirror, or mirror data that returned one, would cause index and bundle downloads to traverse the network in cleartext. Package managers are a high-value integrity target: whoever controls the index controls which packages and versions the client selects and what bytes it installs, effectively allowing an attacker to substitute content the client treats as trusted. The upstream fix in PR #121 introduces a static url_is_https() helper that performs a case-insensitive strncasecmp() against the "https://" prefix; the index and bundle loops now skip mirrors that fail the check with a message callback, while the bootstrap index path hard-fails with a fatal error if MPORT_BOOTSTRAP_INDEX_URL is not HTTPS. Per the CPE cpe:2.3:a:midnightbsd:mport:*:*:*:*:*:*:*:* the whole mport product line before 2.7.8 is in scope; the exploitation prerequisite is an active cleartext transfer, meaning an all-HTTPS configuration is not exposed.

Know when Mport gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 6.0 MEDIUM
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
vuln.today AI 5.9 MEDIUM

Adjacent MITM position plus reliance on a cleartext mirror during an active fetch justifies AV:A and AC:H; package tampering gives I:H, no confidentiality (C:N), minor A:L.

3.1 AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L
4.0 AV:A/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Adjacent
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Sep 17, 2026 - 18:19 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Rare
MidnightBSD is a small niche FreeBSD-derived hobby OS; tiny install base
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Controlled
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Mport

View all
CVE-2026-54580 HIGH
8.3 Sep 17

Package-index corruption and denial of package-management operations affect MidnightBSD mport before 2.7.8 when a malici

CVE-2026-54583 HIGH
8.3 Sep 17

Path traversal in the MidnightBSD mport package manager (libmport/fetch.c) before version 2.7.8 lets an attacker who con

CVE-2026-54581 HIGH
8.3 Sep 17

MidnightBSD's mport package manager prior to 2.7.8 can accept a tampered bootstrap package index as verified, because th

CVE-2026-54585 MEDIUM
6.0 Sep 17

Path traversal in MidnightBSD mport before 2.7.8 allows a crafted package manifest to make the privileged sample-file ha

CVE-2026-54582 MEDIUM
6.0 Sep 17

Package file overwrite in MidnightBSD mport prior to 2.7.8 allows a crafted package installed with privileges to replace

CVE-2026-54575 MEDIUM
5.8 Sep 17

Path-racing and shell-invocation weaknesses in the MidnightBSD mport package manager (all versions prior to 2.7.8) let a

CVE-2026-54576 MEDIUM
5.8 Sep 17

Filesystem integrity compromise in MidnightBSD's mport package manager (versions prior to 2.7.8): a local user who alrea

CVE-2026-54587 MEDIUM
5.8 Sep 17

Symlink following and dot-dot path traversal in MidnightBSD mport prior to 2.7.8 lets a local attacker who can already w

CVE-2026-54584 MEDIUM
5.3 Sep 21

MidnightBSD's mport package manager before 2.7.8 trusts the TMPDIR environment variable when extracting package metafile

CVE-2026-54579 LOW
2.3 Sep 17

Spoofed or injected ICMP echo replies can steer mport's mirror-latency selection toward an attacker-chosen mirror and, i

CVE-2026-54577 LOW
2.0 Sep 17

MidnightBSD's mport package manager, in all versions prior to 2.7.8, mis-parses the argument list for its 'audit' subcom

CVE-2026-54578 LOW
2.0 Sep 17

Checksum verification in MidnightBSD's mport package manager before 2.7.8 can silently continue after a hashing failure,

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy