mport package bundle downloads allow unsafe destination filenames
Published Sep 17, 2026
8.3
HIGHCVSS 4.0
EPSS 0.54%
Description
mport is the MidnightBSD Package Manager. Prior to 2.7.8, libmport/fetch.c did not consistently reject empty, dot, dot-dot, or slash-containing bundle filenames before composing package download and write paths. Malicious package index data could place an unsafe value in indexEntry->bundlefile, and the missing is_valid_bundle_filename() checks allowed downloaded package data to be written outside the intended cache location or to an unsafe destination name. This issue is fixed in version 2.7.8.
Affected products
-
Affected
- < 2.7.8
Default status is the baseline for the product. Each version can override it (patched versions can be marked unaffected).
| Vendor | Product | Default status | Versions |
|---|---|---|---|
| MidnightBSD | Mport | unknown | Affected
|
No data.
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (5)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-82319 Advisory
- https://github.com/MidnightBSD/mport/commit/cad959d47bc79a62b6a7163800fbfe35633e7cf8 x_refsource_MISC
- https://github.com/MidnightBSD/mport/pull/125 x_refsource_MISC
- https://github.com/MidnightBSD/mport/releases/tag/2.7.8 x_refsource_MISC
- https://github.com/MidnightBSD/mport/security/advisories/GHSA-mr62-mqwj-vhh3 x_refsource_CONFIRM
| Link | Providers | Tags |
|---|---|---|
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-82319 | Advisory | |
| https://github.com/MidnightBSD/mport/commit/cad959d47bc79a62b6a7163800fbfe35633e7cf8 | x_refsource_MISC | |
| https://github.com/MidnightBSD/mport/pull/125 | x_refsource_MISC | |
| https://github.com/MidnightBSD/mport/releases/tag/2.7.8 | x_refsource_MISC | |
| https://github.com/MidnightBSD/mport/security/advisories/GHSA-mr62-mqwj-vhh3 | x_refsource_CONFIRM |
Change history (0)
No recorded changes yet.
CVE.org / MITRE
CISA Vulnrichment
Red Hat
No data
GitHub
No data