CVE-2025-61514: SageMath · An Arbitrary File Upload
Source CVE Database V5
Not known to be exploited · CVSS 6.5 Medium.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 34% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 16 Oct 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
To mitigate the risks posed by CVE-2025-61514, European organizations should take the following specific actions: 1) Immediately monitor official SageMath and CoCalc communication channels for patches or updates addressing this vulnerability and apply them as soon as they become available. 2) Implement strict file upload controls by restricting accepted file types to only those necessary for operations, explicitly excluding SVG files or any other vector graphics formats that can contain embedded scripts. 3) Employ server-side input validation and sanitization to detect and reject malicious file content before processing or storing uploads. 4) Use sandboxing or containerization techniques to isolate file processing components, limiting the potential impact of any successful exploit. 5) Conduct regular security audits and penetration testing focused on file upload functionalities to identify and remediate similar vulnerabilities proactively. 6) Educate users about the risks of uploading untrusted files and enforce policies that minimize exposure. 7) Monitor network and application logs for unusual activity indicative of exploitation attempts, such as unexpected file uploads or execution of unauthorized commands. 8) Consider deploying web application firewalls (WAFs) with rules tailored to detect and block malicious SVG payloads. These measures, combined with timely patching, will significantly reduce the risk of exploitation.
Description
An arbitrary file upload vulnerability in SageMath, Inc CoCalc before commit 0d2ff58 allows attackers to execute arbitrary code via uploading a crafted SVG file.