{"id":"CVE-2025-41259","aliases":["DEBIAN-CVE-2025-41259","EUVD-2025-210052","GHSA-pmf3-4g49-qvxm","UBUNTU-CVE-2025-41259"],"status":"published","title":"SWUpdate Untrusted Script Execution via Signed Update TOCTOU","description":"SWUpdate before 2026.05 is affected by a time-of-check time-of-use (TOCTOU) race condition that allows local unprivileged attackers to escalate privileges to root or install untrusted contents using a signed update.","severity":{"version":"4.0","score":7.3,"vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00101,"percentile":0.00905,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-367"],"published":"2026-06-03T11:01:59Z","modified":"2026-10-28T11:01:41Z","fixes":[{"ecosystem":"Debian:12","package":"swupdate","fixed_in":["2022.12+dfsg-4+deb12u3"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"swupdate","fixed_in":["2026.05+dfsg-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"swupdate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2022.12+dfsg-4+deb12u3"}]}],"versions":["2022.12+dfsg-4","2022.12+dfsg-4+deb12u1","2022.12+dfsg-4+deb12u1~bpo11+1","2022.12+dfsg-4+deb12u2"]},{"source":"osv","ecosystem":"Debian:13","package":"swupdate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2024.12.1+dfsg-3","2024.12.1+dfsg-3+deb13u1","2024.12.1+dfsg-3+deb13u2","2025.05+dfsg-1","2025.05+dfsg-2","2025.05+dfsg-2~bpo13+1","2025.05+dfsg-3","2025.05+dfsg-3~bpo13+1","2025.12+dfsg-1","2025.12+dfsg-10","2025.12+dfsg-10~bpo13+1","2025.12+dfsg-10~bpo13+2","2025.12+dfsg-2","2025.12+dfsg-2~bpo13+1","2025.12+dfsg-3","2025.12+dfsg-4","2025.12+dfsg-5","2025.12+dfsg-6","2025.12+dfsg-7","2025.12+dfsg-7~bpo13+1","2025.12+dfsg-8","2025.12+dfsg-9","2026.05+dfsg-1","2026.05+dfsg-2","2026.05+dfsg-3","2026.05+dfsg-3~bpo13+1","2026.05+dfsg-4","2026.05.1+dfsg-1","2026.05.1+dfsg-1~bpo13+1","2026.05.1+git20261001+dfsg-1","2026.05.1+git20261001+dfsg-2","2026.05.1+git20261001+dfsg-2~bpo13+1"]},{"source":"osv","ecosystem":"Debian:14","package":"swupdate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2026.05+dfsg-1"}]}],"versions":["2024.12.1+dfsg-3","2025.05+dfsg-1","2025.05+dfsg-2","2025.05+dfsg-2~bpo13+1","2025.05+dfsg-3","2025.05+dfsg-3~bpo13+1","2025.12+dfsg-1","2025.12+dfsg-10","2025.12+dfsg-10~bpo13+1","2025.12+dfsg-10~bpo13+2","2025.12+dfsg-2","2025.12+dfsg-2~bpo13+1","2025.12+dfsg-3","2025.12+dfsg-4","2025.12+dfsg-5","2025.12+dfsg-6","2025.12+dfsg-7","2025.12+dfsg-7~bpo13+1","2025.12+dfsg-8","2025.12+dfsg-9"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"swupdate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2020.11-2","2021.04-1.1","2021.04-2","2021.04-2build1","2021.11-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"swupdate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2023.05+dfsg-3","2023.05+dfsg-4","2023.05+dfsg-4build1","2023.05+dfsg-5","2023.12+dfsg-1","2023.12.1+dfsg-1ubuntu1","2023.12.1+dfsg-1ubuntu4","2023.12.1+dfsg-1ubuntu5"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"swupdate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2024.12.1+dfsg-1build2","2024.12.1+dfsg-2","2024.12.1+dfsg-3","2025.05+dfsg-2ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"swupdate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2025.12+dfsg-4ubuntu1","2026.05+dfsg-3ubuntu2","2026.05+dfsg-4ubuntu1","2026.05.1+dfsg-1ubuntu1","2026.05.1+git20261001+dfsg-1ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"swupdate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2025.05+dfsg-2ubuntu1","2025.05+dfsg-3ubuntu1","2025.12+dfsg-1ubuntu1","2025.12+dfsg-2ubuntu1","2025.12+dfsg-3ubuntu1","2025.12+dfsg-4ubuntu1"]}],"products":[{"vendor":"sbabic","product":"swupdate"}],"references":[{"url":"https://github.com/sbaresearch/advisories/tree/public/2025/SBA-ADV-20251206-01_SWUpdate_Untrusted_Script_Execution_via_Signed_Update_TOCTOU","tags":["third-party-advisory","exploit","advisory"]},{"url":"https://github.com/sbabic/swupdate/commit/f4bd64260e233e207354d68d572b1cbc3e63689d","tags":["patch","fix"]},{"url":"https://github.com/sbabic/swupdate","tags":["product","package"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-41259","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-pmf3-4g49-qvxm"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/41xxx/CVE-2025-41259.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-41259","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-41259","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-41259","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2025-41259","title":"SWUpdate Untrusted Script Execution via Signed Update TOCTOU","description":"SWUpdate before 2026.05 is affected by a time-of-check time-of-use (TOCTOU) race condition that allows local unprivileged attackers to escalate privileges to root or install untrusted contents using a signed update.","status":"published","published":"2026-06-03T11:01:59.871Z","modified":"2026-06-03T12:37:01.661Z","cvss":[{"version":"4.0","score":7.3,"vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high","assessor":"cna"}],"cwes":["CWE-367"],"updated_at":"2026-11-02T14:32:31.631102Z"}],"euvd":[{"id":"EUVD-2025-210052","description":"SWUpdate before 2026.05 is affected by a time-of-check time-of-use (TOCTOU) race condition that allows local unprivileged attackers to escalate privileges to root or install untrusted contents using a signed update.","status":"published","published":"2026-06-03T11:01:59Z","modified":"2026-06-03T12:37:01Z","cvss":[{"version":"4.0","score":7.3,"vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high"}],"updated_at":"2026-11-02T18:20:54.727632Z"}],"ghsa":[{"id":"GHSA-pmf3-4g49-qvxm","title":"SWUpdate before 2026.05 is affected by a time-of-check time-of-use (TOCTOU) race condition that...","description":"SWUpdate before 2026.05 is affected by a time-of-check time-of-use (TOCTOU) race condition that allows local unprivileged attackers to escalate privileges to root or install untrusted contents using a signed update.","status":"published","published":"2026-06-03T15:30:39Z","modified":"2026-06-03T15:30:40Z","cvss":[{"version":"4.0","score":7.3,"vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/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","level":"high"}],"cwes":["CWE-367"],"updated_at":"2026-11-02T15:08:30.717444Z"}],"nvd":[{"id":"CVE-2025-41259","description":"SWUpdate before 2026.05 is affected by a time-of-check time-of-use (TOCTOU) race condition that allows local unprivileged attackers to escalate privileges to root or install untrusted contents using a signed update.","status":"published","published":"2026-06-03T13:16:18.967Z","modified":"2026-07-22T19:10:00.12Z","cvss":[{"version":"4.0","score":7.3,"vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/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","level":"high","assessor":"secondary"}],"cwes":["CWE-367"],"updated_at":"2026-11-02T14:12:02.535029Z"}],"osv":[{"id":"CVE-2025-41259","title":"SWUpdate Untrusted Script Execution via Signed Update TOCTOU","description":"SWUpdate before 2026.05 is affected by a time-of-check time-of-use (TOCTOU) race condition that allows local unprivileged attackers to escalate privileges to root or install untrusted contents using a signed update.","status":"published","published":"2026-06-03T11:01:59.871Z","modified":"2026-10-28T11:01:41.223120545Z","cvss":[{"version":"4.0","score":7.3,"vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high"}],"cwes":["CWE-367"],"updated_at":"2026-11-02T15:44:49.394967Z"},{"id":"DEBIAN-CVE-2025-41259","description":"SWUpdate before 2026.05 is affected by a time-of-check time-of-use (TOCTOU) race condition that allows local unprivileged attackers to escalate privileges to root or install untrusted contents using a signed update.","status":"published","published":"2026-06-03T13:16:18.967Z","modified":"2026-10-27T02:00:08.024802944Z","cvss":[{"version":"4.0","score":7.3,"vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/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","level":"high"}],"updated_at":"2026-11-02T15:45:46.998514Z"},{"id":"UBUNTU-CVE-2025-41259","description":"SWUpdate before 2026.05 is affected by a time-of-check time-of-use (TOCTOU) race condition that allows local unprivileged attackers to escalate privileges to root or install untrusted contents using a signed update.","status":"published","published":"2026-06-03T13:16:00Z","modified":"2026-10-17T12:56:51.773066182Z","cvss":[{"version":"4.0","score":7.3,"vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high"}],"updated_at":"2026-11-02T16:55:46.53147Z"}]}}
