CVE-2025-25295 描述了 label-studio-sdk 中存在的路径遍历漏洞。此漏洞允许未经授权的攻击者访问文件系统中的文件,可能导致敏感数据泄露。该漏洞影响 label-studio-sdk 版本小于或等于 1.0.8 的用户。建议用户立即升级到 1.0.10 版本以修复此问题。
攻击者可以利用此路径遍历漏洞,通过构造恶意的文件路径,访问 label-studio-sdk 运行环境之外的文件系统。这可能导致攻击者读取、修改甚至删除敏感数据,例如配置文件、数据库备份或其他重要文件。在 Label Studio 环境中,此漏洞尤其危险,因为攻击者可能能够访问与标注数据和项目配置相关的文件。由于该漏洞存在于 VOC、COCO 和 YOLO 导出功能中,攻击者可以通过这些功能触发漏洞,从而绕过正常的访问控制机制。如果攻击者能够访问标注数据,他们可能能够获取有关训练数据集的信息,从而影响机器学习模型的安全性。
目前尚未公开已知利用此漏洞的公开 POC。根据 NVD 和 CISA 的信息,该漏洞于 2025 年 2 月 14 日公开。由于该漏洞的严重性和潜在影响,建议密切关注安全社区的动态,以获取有关潜在攻击活动的最新信息。该漏洞的 EPSS 评级可能为中等,表明存在被利用的可能性。
Organizations using Label Studio for data annotation and labeling, particularly those processing sensitive data, are at risk. Shared hosting environments where Label Studio instances share the same file system are especially vulnerable, as a compromise of one instance could lead to access to data from other instances. Users relying on older Label Studio versions or those who have not applied security updates are also at increased risk.
• python / sdk: Check Label Studio SDK version using pip show label-studio-sdk.
• python / sdk: Monitor file system access logs for unusual activity from the Label Studio process, particularly attempts to access files outside the expected directories.
• generic web: Inspect Label Studio export endpoints for suspicious file path parameters using curl or wget.
• generic web: Review access and error logs for indications of path traversal attempts (e.g., requests containing ../ sequences).
disclosure
漏洞利用状态
EPSS
0.13% (33% 百分位)
CISA SSVC
最有效的缓解措施是立即将 label-studio-sdk 升级到 1.0.10 或更高版本。如果升级会导致应用程序中断,可以考虑回滚到之前的稳定版本,但请注意这只是临时解决方案。此外,建议审查 label-studio-sdk 的配置,确保文件访问权限受到限制,并禁用不必要的导出功能。可以考虑使用 Web 应用防火墙 (WAF) 或代理服务器来过滤恶意请求,并实施严格的输入验证,以防止攻击者构造恶意的文件路径。对于使用 Label Studio 的用户,应升级到 1.16.0 或更高版本。
Actualice la biblioteca label-studio-sdk a la versión 1.0.10 o superior. Esto corrige la vulnerabilidad de path traversal. Si está utilizando Label Studio, actualice a la versión 1.16.0 o posterior, ya que las versiones anteriores especificaban versiones vulnerables del SDK como dependencias.
漏洞分析和关键警报直接发送到您的邮箱。
CVE-2025-25295 是 label-studio-sdk 中一个路径遍历漏洞,允许攻击者访问文件系统中的敏感文件。
如果您使用的是 label-studio-sdk 版本小于或等于 1.0.8,则可能受到影响。
将 label-studio-sdk 升级到 1.0.10 或更高版本。
目前尚未公开已知利用此漏洞的公开 POC,但建议密切关注安全社区的动态。
请查阅 label-studio-sdk 的官方安全公告或 GitHub 仓库,获取更多信息。
上传你的 requirements.txt 文件,立即知道是否受影响。