| Título | https://gitee.com/chunyu-cms/chunyu-cms/ chunyu-cms 1.0 Path Traversal |
|---|
| Descrição | The video stream endpoint `GET /common/stream/:fileName` in chunyu-cms is annotated with `@Public()`, making it accessible without authentication. The endpoint applies no normalization, filtering, or directory confinement to the path parameter `fileName`; it simply concatenates the value onto the video directory path and passes the result to `fs.createReadStream` to read and stream the file back.
The only access gate is a check for the presence of the `referer` request header, a value a client can forge at will. A `fileName` containing `../` sequences escapes the video directory and reads any readable file on the server.
## Reproduction |
|---|
| Fonte | ⚠️ https://github.com/bkglfpp/CVE-md/blob/main/chunyu-cms-main/public-video-stream-path-traversal.md |
|---|
| Utilizador | youran (UID 89737) |
|---|
| Submissão | 02/11/2026 21h50 (há 1 mês) |
|---|
| Moderação | 04/12/2026 07h45 (1 month later) |
|---|
| Estado | Aceite |
|---|
| Entrada VulDB | 449609 [yinMrsir chunyu-cms até 1.1.0 Video Stream Endpoint upload.controller.ts streamFile fileName Travessia de Diretório] |
|---|
| Pontos | 20 |
|---|