CVE-2025-58173
JSON

7.4high

FreshRSS vulnerable to authenticated RCE via path traversal inside include()

Severity
7.4high CVSS:4.0 by GitHub_M
Exploit likelihood
0.75% (higher than 56% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

FreshRSS is a self-hosted RSS feed aggregator. In versions 1.23.0 through 1.27.0, using a path traversal inside the `language` user configuration parameter, it's possible to call `install.php` and perform various administrative actions as an unprivileged user. These actions include logging in as the admin, creating a new admin user, or set the database to an attacker-controlled MySQL server and abuse it to execute code in FreshRSS by setting malicious feed `curl_params` inside the `feed` table. Version 1.27.1 fixes the issue.

Affected

Product or packageVersionsReported by
FreshRSS FreshRSS>= 1.23.0, < 1.27.1, from 1.23.0 before 1.27.1CVE List, NVD

All scores

GitHub_M7.4high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-20CWE-22

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

FreshRSS is a self-hosted RSS feed aggregator. In versions 1.23.0 through 1.27.0, using a path traversal inside the `language` user configuration parameter, it's possible to call `install.php` and perform various administrative actions as an unprivileged user. These actions include logging in as the admin, creating a new admin user, or set the database to an attacker-controlled MySQL server and abuse it to execute code in FreshRSS by setting malicious feed `curl_params` inside the `feed` table. Version 1.27.1 fixes the issue.

NVD (es)

FreshRSS es un agregador de feeds RSS autoalojado. En las versiones 1.23.0 a 1.27.0, usando un salto de ruta dentro del parámetro de configuración de usuario 'language', es posible llamar a 'install.php' y realizar varias acciones administrativas como un usuario sin privilegios. Estas acciones incluyen iniciar sesión como administrador, crear un nuevo usuario administrador, o configurar la base de datos a un servidor MySQL controlado por el atacante y abusar de ello para ejecutar código en FreshRSS configurando parámetros 'curl_params' de feed maliciosos dentro de la tabla 'feed'. La versión 1.27.1 corrige el problema.

References

https://github.com/FreshRSS/FreshRSS/security/advisories/GHSA-6c8h-w3j5-j293exploit, patch, vendor-advisory
https://github.com/FreshRSS/FreshRSS/pull/7878issue-tracking, patch
https://github.com/FreshRSS/FreshRSS/pull/7971issue-tracking, patch
https://github.com/FreshRSS/FreshRSS/pull/7979issue-tracking, patch
https://github.com/FreshRSS/FreshRSS/commit/79604aa4b3051f083d1734bd9e82c6a89d785c5a#diff-49280171b6e7964e21a0270427e56eacb47b8ac562593a01ad4bc74b49f840c7R135patch
https://github.com/FreshRSS/FreshRSS/commit/dbbae15a8458679db0f4540dacdbdcff9c02ec8c#diff-63f610c36d0f2555c1787f6d0804f46f4df6e0f918dfe03408309039abf6efebL85-L88patch
https://github.com/FreshRSS/FreshRSS/commit/ee175dd6169a016fc898fac62d046e22c205dec0#diff-6ebff7743ede829cf5a7f0e4566b42023a2d4779cc8d7e96fefec116f2292174R190-R194patch

Sources

SourceRecordLicence
CVE ListCVE-2025-58173 changed 2025-12-16CVE Terms of Use
NVDCVE-2025-58173 changed 2026-10-14Public domain