{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-54576","id":"CVE-2026-54576","title":"mport package installation has symlink TOCTOU in chown and chmod handling","description":"mport is the MidnightBSD Package Manager. Prior to 2.7.8, do_actual_install() in libmport/bundle_read_install_pkg.c used path-based lstat(), chown(), stat(), and chmod() operations while installing package files. A local attacker with write access to a target directory could replace a checked file with a symlink before privileged ownership or mode changes were applied, redirecting those changes to","descriptionLong":"mport is the MidnightBSD Package Manager. Prior to 2.7.8, do_actual_install() in libmport/bundle_read_install_pkg.c used path-based lstat(), chown(), stat(), and chmod() operations while installing package files. A local attacker with write access to a target directory could replace a checked file with a symlink before privileged ownership or mode changes were applied, redirecting those changes to an attacker-selected path and compromising filesystem integrity or permissions. This issue is fixed in version 2.7.8.","published":"2026-09-17T16:58:25.028Z","updated":"2026-10-28T10:52:11.167432044Z","reserved":"2026-06-15T19:15:27.343Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":5.8,"vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":5.8,"vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N","rating":"medium","source":"GitHub_M"},{"version":"4.0","score":5.8,"vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"github.com"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N","rating":"unrated","source":"OSV"}],"rating":"medium","products":["MidnightBSD mport"],"affectedProducts":[{"vendor":"MidnightBSD","product":"mport","defaultStatus":null,"versions":[{"version":"< 2.7.8","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-59","CWE-367"],"aliases":["GHSA-23g3-7fv3-3ccf"],"references":[{"url":"https://github.com/MidnightBSD/mport/security/advisories/GHSA-23g3-7fv3-3ccf","tags":["x_refsource_CONFIRM","advisory"]},{"url":"https://github.com/MidnightBSD/mport/pull/150","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/MidnightBSD/mport/commit/4676ac05b1056b54a3d38d03ae8a478bf12c9abe","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/MidnightBSD/mport/releases/tag/2.7.8","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54576.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54576","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00105,"epssPercentile":0.01079,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-54576","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54576","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-54576","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-54576","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}