Skip to main content

RAGapp EUVDEUVD-2026-40006

| CVE-2026-13509 LOW
Path Traversal (CWE-22)
2026-06-28 cna@vuldb.com GHSA-284m-435q-x4gm
2.1
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privilege RAGapp credentials
  2. Exploit
    Send crafted multipart upload or DELETE request with traversal filename
  3. Execution
    Application constructs unsanitized path outside data/
  4. Impact
    Read, overwrite, or delete target file on host filesystem

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a valid authenticated session with low-privilege access to the RAGapp management API - PR:L per CVSS 4.0 vector confirms authentication is required but no elevated admin role is necessary. The vulnerability is triggered via the Knowledge File Handler's upload (POST) and remove (DELETE) API endpoints, which are exposed by default in any standard RAGapp deployment. No special non-default configuration is required beyond having at least one user account provisioned. Exploitation is limited by: (1) the PR:L authentication requirement - anonymous external attackers cannot exploit without credentials; (2) the CIA impact is low (VC:L/VI:L/VA:L) - traversal is constrained to files accessible to the application process user, not a full system compromise; (3) no scope change (SC:N/SI:N/SA:N) - the vulnerable system boundary is not crossed. The specific filesystem paths reachable depend on the OS user context the application runs under.

Impact

The CVSS 4.0 base vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N) with threat metric E:P yields a score of 2.1, reflecting limited CIA impact and a low-privilege authentication requirement. The PR:L metric is significant: exploitation is gated behind a valid authenticated session, meaningfully reducing opportunistic attack surface compared to unauthenticated vulnerabilities. No CISA KEV listing is present, and no EPSS data was provided in the intelligence. Despite a public POC, the combination of authentication requirement, low individual impact metrics, and no scope change to subsequent systems places this as a low-to-medium real-world priority. The primary risk scenario involves a malicious insider or compromised low-privilege account abusing the file management API to read sensitive application files (e.g., configuration, secrets) or delete critical data, rather than mass exploitation. RAGapp's niche deployment footprint further limits breadth of exposure. The missing patch (unmerged PR) is the most operationally concerning signal - organizations cannot yet remediate via vendor update.

Exploit ScenarioDerived

An authenticated RAGapp user with low-privilege access crafts a multipart file upload HTTP request where the filename field contains a path traversal sequence such as '../../app_config.env', targeting the /management/files upload endpoint. The server, running vulnerable code that constructs the path as f'data/{file_name}', writes the uploaded content to the application root or parent directory rather than the intended data/ subdirectory. Similarly, a DELETE request with a traversal filename triggers FileHandler.remove_file to delete an arbitrary file accessible to the application process. A proof-of-concept exploit has been publicly disclosed per the CVE description and VulDB report.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 28, 2026

Path traversal in RAGapp's Knowledge File Handler (versions up to 0.1.5) allows authenticated low-privilege users to read, write, or delete files outside the intended data/ directory by supplying crafted filenames containing sequences such as '../' to the upload or remove file API endpoints. The vulnerability exists in the FileHandler.upload_file and FileHandler.remove_file functions in src/ragapp/backend/controllers/files.py, where client-supplied filenames were interpolated directly into file paths without sanitization. A proof-of-concept exploit has been publicly disclosed; however, no vendor-released patched version is available as of analysis date - only an unmerged upstream pull request (PR #294) addresses the issue.

RemediationAI

No vendor-released patched version is available at time of analysis - the fix exists only as unmerged PR #294 at https://github.com/ragapp/ragapp/pull/294, which awaits acceptance. Organizations should monitor that PR and apply the patch manually by cherry-picking or patching the files.py controller directly, implementing the get_data_file_path() validation logic shown in the PR diff. As an immediate compensating control, restrict access to the file management API endpoints to trusted internal networks or privileged users only using a reverse proxy or network ACL - this reduces the PR:L attack surface by ensuring only explicitly authorized users can reach the endpoint. Additionally, run the RAGapp process under a dedicated OS account with filesystem permissions scoped strictly to the data/ directory and application files, so that even a successful traversal cannot access sensitive host files. Monitor file system activity in the application working directory for anomalous access patterns outside data/. Trade-off: restricting network access to the management API may impact legitimate multi-user workflows.

Affected VersionsENISA

RAGapp 0.1.3
RAGapp 0.1.0
RAGapp 0.1.2
RAGapp 0.1.1
RAGapp 0.1.4
RAGapp 0.1.5

Affected Packages

euvd ragapp no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

RAGapp is a Python-based open-source framework for building Retrieval-Augmented Generation (RAG) applications. The vulnerable component is the Knowledge File Handler controller at src/ragapp/backend/controllers/files.py, which manages user-supplied knowledge base documents. Root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory). Specifically, filenames provided by API clients were concatenated directly into file system paths using f-string interpolation (e.g., f'data/{file_name}') with no validation against traversal sequences, null bytes, absolute paths, or nested path components. The PR #294 fix introduces a dedicated get_data_file_path() method using Python's pathlib.Path.resolve() to canonicalize and then verify that the resolved path's parent matches the intended DATA_DIR - a standard defense-in-depth pattern. Both upload (write) and remove (delete) operations were affected. The management router at src/ragapp/backend/routers/management/files.py passes the raw filename from the HTTP multipart upload or DELETE request directly into these functions.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vuldb) PRIMARY 2.1 LOW
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 6.3 MEDIUM

Network-accessible API requires low-privilege authentication; path traversal yields limited read, write, and delete access, no scope change beyond the application process.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (vuldb).

CVSS VectorVendor: vuldb

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A vulnerability has been found in RAGapp up to 0.1.5. Affected is the function FileHandler.upload_file/FileHandler.remove_file of the file src/ragapp/backend/controllers/files.py of the component Knowledge File Handler. Such manipulation leads to path traversal. The attack can be executed remotely. The exploit has been disclosed to the public and may be used. The pull request to fix this issue awaits acceptance.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Rare
niche open-source RAG framework, limited enterprise deployment footprint
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy