CVE-2026-19011 TinyAGI agents.ts buildSystemPrompt file inclusion

Medium 6.9 Published Updated

Remote attackers can exploit file inclusion in TinyAGI's buildSystemPrompt function to read arbitrary files from the server.

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

What is CVE-2026-19011?

CVE-2026-19011 is a medium-severity path traversal vulnerability in TinyAGI, published on 6 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability was detected in TinyAGI 0.0.20. The affected element is the function buildSystemPrompt of the file packages/server/src/routes/agents.ts. Performing a manipulation results in file inclusion. The attack may be initiated remotely. The exploit is now public and may be used. The project was informed of the problem early through an issue report but has not responded yet.

Weakness: CWE-73

Which versions are affected by CVE-2026-19011?

How do I fix CVE-2026-19011?

No fix has been published for CVE-2026-19011 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-19011 being exploited?

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

Sources

Also known as GHSA-2r4w-xxv7-6r74.

Is CVE-2026-19011 in your software?

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

Check your SBOMs for free