PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-54584 MidnightBSD CVE debrief

CVE-2026-54584 is a vulnerability in the MidnightBSD Package Manager, mport, which used the TMPDIR environment variable during package metafile extraction, including in privileged contexts. This could allow an attacker to redirect temporary metadata extraction to a controlled location. The issue was patched in version 2.7.8. System administrators should verify their mport versions and update to 2.7.8 or later, especially in environments where mport is used in privileged contexts, to mitigate potential risks.

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

Who should care

System administrators and security teams responsible for MidnightBSD systems and package management should assess exposure and prioritize updating mport to version 2.7.8 or later. They should also review and restrict TMPDIR environment variable usage and monitor for potential exploitation attempts.

Why it matters

CVE-2026-54584 is a vulnerability in the MidnightBSD Package Manager, mport, which could allow an attacker to redirect temporary metadata extraction. Defenders should prioritize verifying and updating mport, especially in privileged contexts.

  • Verification of mport version and TMPDIR usage
  • Potential for temporary metadata extraction redirection
  • Need for patching or mitigating in privileged contexts
  • Monitoring for exploitation attempts

Technical summary

The mport package manager in MidnightBSD used the TMPDIR environment variable during package metafile extraction, including in privileged contexts. This could allow an attacker to redirect temporary metadata extraction to a controlled location. The issue was patched in version 2.7.8. Defenders should prioritize verifying and updating mport to version 2.7.8 or later, especially in environments where mport is used in privileged contexts, to mitigate potential risks associated with temporary metadata extraction redirection.

Defensive priority

Defenders should prioritize verifying and updating mport to version 2.7.8 or later, especially in environments where mport is used in privileged contexts.

Recommended defensive actions

  • Verify mport version and update to 2.7.8 or later
  • Review and restrict TMPDIR environment variable usage
  • Monitor for potential exploitation attempts
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
  • 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

Evidence notes

The CVE record and NVD entry provide details on the vulnerability, including its description, CVSS score, and references to patches and advisories. The CVE record was published on 2026-09-21T15:17:29.107Z and has not been modified since then. The vulnerability affects mport versions prior to 2.7.8. Defenders should verify mport versions and update to 2.7.8 or later. The CVE Program and NVD entries are official sources for this information.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-54584 CVE Program record

    Publisher, destination, and source semantics verified

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

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

  • CVE-2026-54584 NVD vulnerability detail

    Publisher, destination, and source semantics verified

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

    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.