Skip to main content

TinyAGI CVE-2026-19011

| EUVDEUVD-2026-53791 MEDIUM
External Control of File Name or Path (CWE-73)
2026-08-06 VulDB GHSA-2r4w-xxv7-6r74
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Identify public TinyAGI instance
  2. Delivery
    Send unauthenticated HTTP request to agents route
  3. Exploit
    Inject malicious file path into buildSystemPrompt parameter
  4. Execution
    Server reads attacker-specified file from disk
  5. Impact
    Retrieve 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

TinyAGI 0.0.20

Affected Packages

euvd tinyagi 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

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

Vendor (VulDB) PRIMARY 5.5 MEDIUM
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
vuln.today AI 5.3 MEDIUM

Network-exploitable with no authentication or prerequisites; confidentiality impact is low (bounded file read), no integrity or availability impact, and scope is unchanged.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/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
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
Aug 06, 2026 - 08:22 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
CVE Published
Aug 06, 2026 - 07:15 cve.org
MEDIUM 6.9

DescriptionCVE.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

EPSS Score
0.4%
Top 66% exploitable
Prevalence
Rare
obscure open-source AI agent project, minimal enterprise footprint
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment 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 MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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