Unauthenticated local file disclosure via prompt_file
Published Aug 6, 2026 · Updated Aug 6, 2026
External path control in TinyAGI 0.0.20 allows remote attackers to read local files through the unauthenticated agent API. The agent update route persists an unchecked prompt_file path, which buildSystemPrompt passes to fs.readFileSync and appends to an outbound provider prompt. Exposure requires network access to the HTTP API and filesystem read permission for the TinyAGI process; disclosed contents are sent to the configured model provider.
Summary
What happened
External path control in TinyAGI 0.0.20 allows remote attackers to read local files through the unauthenticated agent API. The agent update route persists an unchecked prompt_file path, which buildSystemPrompt passes to fs.readFileSync and appends to an outbound provider prompt. Exposure requires network access to the HTTP API and filesystem read permission for the TinyAGI process; disclosed contents are sent to the configured model provider.
The record
- CVE
- CVE-2026-19011
- Published
- Aug 6, 2026
- Updated
- Aug 6, 2026
- Vendor
- TinyAGI
- Product
- TinyAGI
- Classifications
- CWE-73, T1005
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Aug 6, 2026CVE publishedPublication date reported by the CVE source.
- Aug 6, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0.0.20
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- verification_test.py for TinyAGI prompt_file file readfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo