{"id":"CVE-2025-41259","state":"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.","publishedAt":"2026-06-03T11:01:59.871Z","updatedAt":"2026-06-03T12:37:01.661Z","severity":{"score":7.3,"label":"High","version":"4.0","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","source":"sba-research"},"assigner":"sba-research","products":["sbabic SWUpdate"],"affected":[{"vendor":"sbabic","product":"SWUpdate","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2026.05","versionType":"custom"}],"repo":"https://github.com/sbabic/swupdate"}],"references":["https://github.com/sbaresearch/advisories/tree/public/2025/SBA-ADV-20251206-01_SWUpdate_Untrusted_Script_Execution_via_Signed_Update_TOCTOU","https://github.com/sbabic/swupdate/commit/f4bd64260e233e207354d68d572b1cbc3e63689d","https://github.com/sbabic/swupdate"],"weaknesses":["CWE-367"],"ingestedAt":"2026-10-29T20:09:09.358Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/41xxx/CVE-2025-41259.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-41259","state":"PUBLISHED","datePublished":"2026-06-03T11:01:59.871Z","dateUpdated":"2026-06-03T12:37:01.661Z","assignerShortName":"sba-research","assignerOrgId":"1e3a9e0f-5156-4bf8-b8a3-cc311bfc0f4a","dateReserved":"2025-04-16T09:37:50.631Z"},"containers":{"cna":{"title":"SWUpdate Untrusted Script Execution via Signed Update TOCTOU","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"sbabic","product":"SWUpdate","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2026.05","versionType":"custom"}],"repo":"https://github.com/sbabic/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"]},{"url":"https://github.com/sbabic/swupdate/commit/f4bd64260e233e207354d68d572b1cbc3e63689d","tags":["patch"]},{"url":"https://github.com/sbabic/swupdate","tags":["product"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"HIGH","baseScore":7.3,"vectorString":"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-367","lang":"en","description":"CWE-367 Time-of-check time-of-use (TOCTOU) race condition","type":"CWE"}]}],"providerMetadata":{"shortName":"sba-research","orgId":"1e3a9e0f-5156-4bf8-b8a3-cc311bfc0f4a","dateUpdated":"2026-06-03T11:01:59.871Z"},"credits":[{"lang":"en","value":"Reinhard Kugler (SBA Research)","type":"finder"}],"source":{"advisory":"SBA-ADV-20251206-01","discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 1.0.2"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/sbaresearch/advisories/tree/public/2025/SBA-ADV-20251206-01_SWUpdate_Untrusted_Script_Execution_via_Signed_Update_TOCTOU","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-03T12:36:39.603308Z","id":"CVE-2025-41259","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-03T12:37:01.661Z"}}]}}}