What’s Vulnerable › Vulnerabilities

CVE-2026-121489: Apache Juneau: Path traversal in DirectoryResource allows reading files outside the configured root directory

Description

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache Juneau. The microservice DirectoryResource does not keep request paths inside its configured root directory. When an application enables the resource's view, upload or delete settings (all off by default), a client can read, write or delete files outside the root, anywhere the server process has access. This issue affects Apache Juneau: through 9.2.0. Users are recommended to upgrade to version 9.2.1, which fixes the issue.

Summary

Apache Juneau's DirectoryResource microservice fails to restrict request paths to its configured root directory, allowing path traversal. When an application enables the resource's view, upload, or delete settings (all off by default), a client can read, write, or delete files outside the root anywhere the server process has access. This affects Apache Juneau through 9.2.0; CVSS is 10 (critical), and it is not listed in CISA KEV. Upgrade to 9.2.1 to fix the issue, and keep view, upload, and delete settings disabled where not needed.

تعاني خدمة DirectoryResource المصغّرة في Apache Juneau من عدم تقييد مسارات الطلبات داخل الدليل الجذري المُعدّ، ما يسمح باجتياز المسار (Path Traversal). وعند تفعيل إعدادات العرض أو الرفع أو الحذف الخاصة بالمورد (وجميعها معطّلة افتراضياً)، يمكن للعميل قراءة أو كتابة أو حذف ملفات خارج الدليل الجذري في أي مكان تصل إليه صلاحيات عملية الخادم. يؤثر هذا في Apache Juneau حتى الإصدار 9.2.0، ودرجة CVSS هي 10 (حرجة)، وهو غير مدرج في CISA KEV. يُنصح بالترقية إلى الإصدار 9.2.1 لإصلاح المشكلة، مع إبقاء إعدادات العرض والرفع والحذف معطّلة عند عدم الحاجة إليها.

Affected products

How to fix

Upgrade to a fixed version: Apache Software Foundation Apache Juneau 9.2.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-121489 or the next vulnerability affects your stack