CVE-2026-13509 RAGapp Knowledge File files.py FileHandler.remove_file path traversal

Medium 5.3 Published Updated

Remote attackers can exploit path traversal in RAGapp's file handler to read or modify arbitrary files on the server.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-13509?

CVE-2026-13509 is a medium-severity path traversal vulnerability in RAGapp, published on 28 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Weakness: CWE-22

Which versions are affected by CVE-2026-13509?

How do I fix CVE-2026-13509?

No fix has been published for CVE-2026-13509 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-13509 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-13509 exists.

Sources

Also known as GHSA-284m-435q-x4gm.

Is CVE-2026-13509 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free