Critical File Access Vulnerability in Apache Jena: Unvalidated Configuration Uploads
Summary
CVE-2025-50151: File access paths in configuration files uploaded by users with administrator access are not validated. Affects apache-jena versions 4.5.0-2 – 4.9.0-1. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Apache Jena is a free and open-source framework for building Semantic Web and Linked Data applications. It provides a programming environment for RDF, RDFS, OWL, SPARQL, and more. The framework is widely used for data integration and management in various applications. However, it has been found to have a critical vulnerability that allows users with administrator access to upload configuration files without proper validation, potentially leading to unauthorized access or data manipulation.
Vulnerability Detail
The vulnerability, identified as CVE-2025-50151, arises from the lack of validation for file access paths in configuration files uploaded by users with administrator privileges. This oversight can lead to arbitrary configuration uploads, allowing malicious users to manipulate the application’s behavior or access sensitive data. The issue affects all versions of Apache Jena up to 5.4.0, posing a significant risk to systems using this framework.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As a temporary workaround, it is recommended to restrict access to the configuration upload feature to trusted users only, until the upgrade can be performed. Additionally, monitoring file uploads for suspicious activity can help mitigate the risk.
Conclusion
The CVE-2025-50151 vulnerability in Apache Jena poses a significant risk due to unvalidated configuration uploads by users with administrator access. It is crucial to upgrade to version 5.5.0 or later to mitigate this risk. Users should also consider implementing temporary workarounds to protect their systems until the upgrade can be completed.
See every vulnerability recorded for apache-jena →
FAQ
CVE-2025-50151 is a vulnerability in Apache Jena that allows users with administrator access to upload configuration files without validation, potentially leading to unauthorized access.
All versions of Apache Jena up to 5.4.0 are affected by this vulnerability.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.
If an immediate upgrade is not possible, restrict access to the configuration upload feature and monitor for any suspicious activity as a temporary measure.
Failing to address this vulnerability can lead to unauthorized access, data manipulation, and potential compromise of sensitive information within your application.
Related vulnerabilities
Recent vulnerabilities recorded for apache-jena.