Skip to content
DoS Advisory Intermediate CVE-2025-27787

GHSL-2024-354: DoS in Applio - CVE-2025-27787

The `model_name` parameter in Applio's training endpoint is used to build a file path without validation, allowing an attacker to write a malicious `config.json` via an arbitrary file write and then trigger the endpoint to kill arbitrary process IDs, causing a denial of service. The path traversal also allows reading `config.json` from other locations.

sylwia-budzynska Follow

Originally disclosed on GitHub Security Lab

modelname in train.py takes user input, and passes it to the stoptrain function in restart.py, which uses it construct a path to a folder with config.json. That config.json is opened and the list of values under “processpids” are read.

sylwia-budzynska, on GitHub Security Lab

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the application fails to validate or sanitise the `model_name` input before using it in a file path, enabling path traversal and arbitrary file access.

Impact

This issue may lead to denial of service by killing the Applio process or other important processes.

What the attacker needed

Ability to write arbitrary files; access to the training endpoint

How it was found

  1. Use an arbitrary file write to create a `config.json` file under `logs/foobar` containing a list of process IDs.
  2. Access the endpoint that calls `stop_train` with `model_name` set to `foobar` to kill the listed processes.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Applio lets users name a training model, and that name is used directly to find a file on the server. Because the name is not checked, an attacker can point it to a file they created that lists process numbers, and the server will then stop those processes, potentially crashing the service.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by sylwia-budzynska

View all

27 more disclosed reports, best first.

More from GitHub Security Lab

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.