Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain on-path network position
-
DeliveryClient fetches index/bundle over http:// mirror
-
ExploitIntercept and rewrite package data
-
ExecutionDeliver tampered index or bundle
-
ImpactMalicious/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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Package-index corruption and denial of package-management operations affect MidnightBSD mport before 2.7.8 when a malici
Path traversal in the MidnightBSD mport package manager (libmport/fetch.c) before version 2.7.8 lets an attacker who con
MidnightBSD's mport package manager prior to 2.7.8 can accept a tampered bootstrap package index as verified, because th
Path traversal in MidnightBSD mport before 2.7.8 allows a crafted package manifest to make the privileged sample-file ha
Package file overwrite in MidnightBSD mport prior to 2.7.8 allows a crafted package installed with privileges to replace
Path-racing and shell-invocation weaknesses in the MidnightBSD mport package manager (all versions prior to 2.7.8) let a
Filesystem integrity compromise in MidnightBSD's mport package manager (versions prior to 2.7.8): a local user who alrea
Symlink following and dot-dot path traversal in MidnightBSD mport prior to 2.7.8 lets a local attacker who can already w
MidnightBSD's mport package manager before 2.7.8 trusts the TMPDIR environment variable when extracting package metafile
Spoofed or injected ICMP echo replies can steer mport's mirror-latency selection toward an attacker-chosen mirror and, i
MidnightBSD's mport package manager, in all versions prior to 2.7.8, mis-parses the argument list for its 'audit' subcom
Checksum verification in MidnightBSD's mport package manager before 2.7.8 can silently continue after a hashing failure,
EUVD-2026-82324
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB