PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-54575 MidnightBSD CVE debrief

A local attacker with write access to a participating package cache or staging path could potentially redirect package downloads, cleanup, or install-related side effects outside the intended cache by exploiting a race condition in the mport package manager prior to version 2.7.8. This issue allows for unintended side effects due to improper path handling and shell-form invocation in privileged package fetch and cache-cleaning operations across multiple libmport and libexec/mport.create components.

Vendor
MidnightBSD
Product
mport
CVSS
MEDIUM 5.8
CISA KEV
Not listed in stored evidence
Original CVE published
2026-09-17
Original CVE updated
2026-09-21
Advisory published
2026-09-17
Advisory updated
2026-09-21

Who should care

System administrators and security teams responsible for MidnightBSD systems using the mport package manager, especially those with local attackers having write access to package cache or staging paths, should assess exposure and prioritize upgrading to version 2.7.8 or later.

Why it matters

CVE-2026-54575 is a medium-severity vulnerability in the mport package manager used in MidnightBSD. A local attacker with write access to package cache or staging paths could exploit a race condition to redirect package operations. This issue is fixed in version 2.7.8. System administrators and security teams should assess exposure, especially where local attackers have write access, and prioritize upgrading to the fixed version.

  • Local attackers could potentially manipulate package operations, leading to unintended side effects.
  • The vulnerability requires local access and write permissions to package cache or staging paths.
  • Successful exploitation could result in package download, cleanup, or installation issues.
  • Verification of affected versions and remediation efforts are necessary to mitigate the risk.

Technical summary

The mport package manager, used in MidnightBSD, had a race condition vulnerability in versions prior to 2.7.8. This issue allowed local attackers with write access to package cache or staging paths to potentially redirect package downloads, cleanup, or install-related side effects outside the intended cache. The vulnerability involves improper path handling and shell-form invocation in privileged package fetch and cache-cleaning operations across libmport/fetch.c, libmport/clean.c, libmport/util.c, libmport/bundle_read_install_pkg.c, libmport/delete_primative.c, and libexec/mport.create/mport.create.c.

Defensive priority

Medium priority for systems using mport package manager versions prior to 2.7.8, especially where local attackers have write access to package cache or staging paths.

Recommended defensive actions

  • Upgrade mport package manager to version 2.7.8 or later
  • Restrict write access to package cache and staging paths
  • Monitor package operations for unusual activity
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The CVE record and NVD entry provide details on the vulnerability in mport package manager versions prior to 2.7.8. The issue involves a race condition that could allow local attackers to manipulate package operations.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-54575 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-54575

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-54575 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-54575

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.