一线运维实战手记 · 云计算 · 数据库 · 故障排查
2026年9月4日

CVE-2026-72572 [HIGH] – A path traversal vulnerability in o1lab/xmysql (all versions) allows an unauthenticated re

未分类
📑 文章目录

A path traversal vulnerability in o1lab/xmysql (all versions) allows an unauthenticated remote attacker to read and download arbitrary files from the server. The lib/xapi.js file at lines 338 and 424 uses the user-controlled req.query.name parameter in path.join(cwd, name) without sanitization before passing it to res.download, enabling directory traversal via ../ sequences to access sensitive system files.