---
cve: "CVE-2026-54584"
severity: "MEDIUM"
cvss: 5.3
epss: "6.3%"
vendor: "MidnightBSD"
kev: false
exploited: false
published: "2026-09-21 15:17:29"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-09-22T08:07:10+02:00"
---

# CVE-2026-54584

> 5.3 MEDIUM · 🧪 PoC

## Beschreibung

mport is the MidnightBSD Package Manager. mport before 2.7.8 used TMPDIR while extracting package metafiles, including when running as root or in setuid/setgid contexts. An attacker able to control the environment for a privileged mport invocation could redirect temporary metadata extraction to an attacker-controlled location. PR 123 ignores unsafe TMPDIR values in privileged contexts and rejects empty TMPDIR. This issue has been patched in version 2.7.8.

## CVSS-Vektor

```
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Gering | warn |
| UI Interaktion | Keine | bad |

## Patch verfügbar (OSV)

- 899c8fe2d3ceb25d899e70dbd0c7744b7d7a0946 (Commit)

## Referenzen

- <https://github.com/MidnightBSD/mport/security/advisories/GHSA-4vv3-3h8r-q6mq>
- <https://github.com/MidnightBSD/mport/pull/123>
- <https://github.com/MidnightBSD/mport/commit/3790fa49a36cb085f48b204ef189fb82bbee621a>
- <https://github.com/MidnightBSD/mport/releases/tag/2.7.8>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2026-54584) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
