CVE-2025-60012
JSON

6.3medium

Apache Livy: Restrict file access

Severity
6.3medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.67% (higher than 47% of CVEs)
Published
Last changed
Assigned by
apache
Also known as
GHSA-hm8x-rpgg-7855

Description

Malicious configuration can lead to unauthorized file access in Apache Livy. This issue affects Apache Livy 0.7.0 and 0.8.0 when connecting to Apache Spark 3.1 or later. A request that includes a Spark configuration value supported from Apache Spark version 3.1 can lead to users gaining access to files they do not have permissions to. For the vulnerability to be exploitable, the user needs to have access to Apache Livy's REST or JDBC interface and be able to send requests with arbitrary Spark configuration values. Users are recommended to upgrade to version 0.9.0 or later, which fixes the issue.

Affected

Product or packageVersionsReported by
org.apache.livy:livy-serverfrom 0.7.0-incubating before 0.9.0-incubatingCVE List
org.apache.livy:livy-server (Maven)from 0.7.0-incubating before 0.9.0-incubatingGitHub Advisory Database
apache livyfrom 0.7.0 before 0.9.0NVD

All scores

CISA-ADP6.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
GitHub6.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Classification

CWE-20

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Malicious configuration can lead to unauthorized file access in Apache Livy. This issue affects Apache Livy 0.7.0 and 0.8.0 when connecting to Apache Spark 3.1 or later. A request that includes a Spark configuration value supported from Apache Spark version 3.1 can lead to users gaining access to files they do not have permissions to. For the vulnerability to be exploitable, the user needs to have access to Apache Livy's REST or JDBC interface and be able to send requests with arbitrary Spark configuration values. Users are recommended to upgrade to version 0.9.0 or later, which fixes the issue.

NVD (es)

La configuración maliciosa puede conducir a un acceso no autorizado a archivos en Apache Livy. Este problema afecta a Apache Livy 0.7.0 y 0.8.0 al conectarse a Apache Spark 3.1 o posterior. Una solicitud que incluye un valor de configuración de Spark compatible a partir de la versión 3.1 de Apache Spark puede llevar a que los usuarios obtengan acceso a archivos para los que no tienen permisos. Para que la vulnerabilidad sea explotable, el usuario necesita tener acceso a la interfaz REST o JDBC de Apache Livy y ser capaz de enviar solicitudes con valores de configuración de Spark arbitrarios. Se recomienda a los usuarios actualizar a la versión 0.9.0 o posterior, que soluciona el problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-60012 changed 2026-03-13CVE Terms of Use
GitHub Advisory DatabaseGHSA-hm8x-rpgg-7855 changed 2026-03-16CC-BY-4.0
NVDCVE-2025-60012 changed 2026-06-17Public domain