Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify public TinyAGI instance
-
DeliverySend unauthenticated HTTP request to agents route
-
ExploitInject malicious file path into buildSystemPrompt parameter
-
ExecutionServer reads attacker-specified file from disk
-
ImpactRetrieve sensitive file contents in response
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
|
| Exploitation Conditions | No special conditions are required for exploitation - the vulnerable endpoint is network-accessible and requires no authentication, no privileges, and no user interaction per the CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N). The code path lies in the buildSystemPrompt function within packages/server/src/routes/agents.ts of TinyAGI 0.0.20. The primary limiting factor is deployment exposure: only TinyAGI instances with the agents route reachable from an untrusted network are at risk. Instances placed behind an authentication proxy, VPN, or network firewall have a substantially reduced attack surface despite the zero-barrier CVSS profile. |
| Impact | The CVSS 4.0 score of 6.9 with vector AV:N/AC:L/AT:N/PR:N/UI:N reflects a zero-barrier access profile - remotely exploitable with no authentication, no attack prerequisites, and no user interaction required. However, impact is narrowly bounded: only confidentiality at low severity (VC:L), with no integrity or availability impact and no subsequent-system scope change. EPSS data is not provided in available intelligence; absence should not be interpreted as low risk given the public POC (E:P supplemental metric). No CISA KEV listing is present, indicating no confirmed active exploitation in tracked campaigns at time of analysis - though the public POC and unpatched status materially raise future exploitation likelihood. The real-world priority for any internet-exposed TinyAGI deployment is high despite the bounded impact: an attacker with zero barrier to entry can read server-side files including configuration files, environment variables, and API keys. For instances behind network controls or authentication proxies, risk is substantially reduced. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a crafted HTTP request to the TinyAGI agents endpoint with a manipulated file path parameter targeting sensitive server-side files such as .env or configuration files containing API keys. The buildSystemPrompt function reads the attacker-specified path and returns its contents in the server response. A public POC demonstrating this technique is available via GitHub issue #283, lowering the skill threshold for exploitation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 06, 2026
File inclusion in TinyAGI 0.0.20 exposes server-side files to remote unauthenticated attackers through the buildSystemPrompt function in packages/server/src/routes/agents.ts. Exploitation requires no privileges or user interaction, and a publicly available proof-of-concept exists via GitHub issue #283. No patch has been released - the vendor has not responded to the responsible disclosure despite being notified through the project's issue tracker.
RemediationAI
No vendor-released patch has been identified at time of analysis - the vendor has not responded to the disclosure reported via GitHub issue #283 at https://github.com/TinyAGI/tinyagi/issues/283. As an immediate compensating control, restrict network access to the TinyAGI server so the agents route is not reachable from untrusted networks; placing the service behind a VPN or firewall eliminates the remote attack vector with no application-level trade-offs. If public exposure is required, deploy a reverse proxy with mandatory authentication in front of the agents endpoint to require credentials before requests reach buildSystemPrompt - this converts the exploitation profile from PR:N to PR:L at minimum, significantly raising the bar. Avoid exposing sensitive files such as .env, configuration files, or API key stores in directories reachable by the server process. Monitor VulDB at https://vuldb.com/vuln/386404 and the GitHub repository https://github.com/TinyAGI/tinyagi/ for patch availability.
Affected VersionsENISA
Affected Packages
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
TinyAGI is a Node.js-based AI agent framework. The vulnerable function buildSystemPrompt in packages/server/src/routes/agents.ts constructs a system prompt by reading file content, but fails to properly validate or sanitize externally supplied file path input. CWE-73 (External Control of File Name or Path) describes this root cause class: user-supplied data directly controls which file the server reads, enabling path traversal-style arbitrary file inclusion. The CPE string cpe:2.3:a:n/a:tinyagi:*:*:*:*:*:*:*:* uses 'n/a' as the vendor field, indicating TinyAGI is an independent open-source project with no official vendor namespace in the NVD database, and the wildcard version range suggests NVD has not bounded the affected scope beyond version 0.0.20 cited in the disclosure.
Know when Tinyagi gets its next vulnerability
- 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P
Network-exploitable with no authentication or prerequisites; confidentiality impact is low (bounded file read), no integrity or availability impact, and scope is unchanged.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
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.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
File inclusion via unsanitized path input in TinyAGI 0.0.20's Message API Endpoint exposes server-side files to remote u
Missing authorization in TinyAGI 0.0.20's Message API Endpoint allows remote unauthenticated attackers to invoke the pro
EUVD-2026-53791
GHSA-2r4w-xxv7-6r74
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB