{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-54582","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2026-06-15T19:15:27.344Z","datePublished":"2026-09-17T16:50:40.434Z","dateUpdated":"2026-09-17T19:15:52.035Z"},"containers":{"cna":{"title":"mport package installation can overwrite existing unmanaged or differently owned files","problemTypes":[{"descriptions":[{"cweId":"CWE-73","lang":"en","description":"CWE-73: External Control of File Name or Path","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-668","lang":"en","description":"CWE-668: Exposure of Resource to Wrong Sphere","type":"CWE"}]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6,"baseSeverity":"MEDIUM","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N","version":"4.0"}}],"references":[{"name":"https://github.com/MidnightBSD/mport/security/advisories/GHSA-5773-7r4r-rpgx","tags":["x_refsource_CONFIRM"],"url":"https://github.com/MidnightBSD/mport/security/advisories/GHSA-5773-7r4r-rpgx"},{"name":"https://github.com/MidnightBSD/mport/pull/131","tags":["x_refsource_MISC"],"url":"https://github.com/MidnightBSD/mport/pull/131"},{"name":"https://github.com/MidnightBSD/mport/commit/c643312d149dcc994957dbafa8f6f6b61e945e39","tags":["x_refsource_MISC"],"url":"https://github.com/MidnightBSD/mport/commit/c643312d149dcc994957dbafa8f6f6b61e945e39"},{"name":"https://github.com/MidnightBSD/mport/releases/tag/2.7.8","tags":["x_refsource_MISC"],"url":"https://github.com/MidnightBSD/mport/releases/tag/2.7.8"}],"affected":[{"vendor":"MidnightBSD","product":"mport","versions":[{"version":"< 2.7.8","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2026-09-17T16:50:40.434Z"},"descriptions":[{"lang":"en","value":"mport is the MidnightBSD Package Manager. Prior to 2.7.8, package installation lacked a preflight check for incoming non-directory assets that already existed on disk. The affected logic across libmport/check_preconditions.c, libmport/install_primative.c, and libmport/mport_private.h did not apply MPORT_PRECHECK_FILE_CONFLICTS, so a crafted or conflicting package could overwrite a file owned by another package or unmanaged by mport. The check is bypassed only when the operator explicitly enables mport->force. Privileged installation without that override could compromise local filesystem integrity and package database consistency. This issue is fixed in version 2.7.8."}],"source":{"advisory":"GHSA-5773-7r4r-rpgx","discovery":"UNKNOWN"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-17T19:15:39.206598Z","id":"CVE-2026-54582","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-09-17T19:15:52.035Z"}}]}}