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.
Published: 2026-08-06
Score: 6.9 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is a file inclusion flaw in TinyAGI 0.0.20. The buildSystemPrompt function can be manipulated to include arbitrary files from the server's file system, allowing an attacker to read sensitive data or potentially execute code if the included content is processed. This weakness is classified as CWE-73 Relative Path Traversal, and the CVE description notes that the attack can be launched remotely. The public exploit indicates that malicious actors could successfully target deployments that have not applied mitigations.

Affected Systems

The flaw affects the TinyAGI project, specifically version 0.0.20. This includes the packages/server/src/routes/agents.ts module where the problematic buildSystemPrompt resides. Systems running this exact version are vulnerable until a patch or mitigation is applied. No other versions or vendors are listed as affected.

Risk and Exploitability

The CVSS score of 6.9 reflects moderate severity, and while the EPSS score is not provided, the public availability of an exploit lowers the likelihood of unpatched systems remaining safe. The vulnerability is not yet listed in the CISA KEV catalog. An attacker can exploit the flaw remotely without additional credentials, making the risk high for exposed TinyAGI services that have not been hardened against file inclusion.

Generated by OpenCVE AI on August 6, 2026 at 08:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a patched version of TinyAGI as soon as it becomes available from the official source.
  • If a patch is not yet released, limit the directories that the buildSystemPrompt function can access by configuring file system permissions or by sandboxing the TinyAGI process.
  • Sanitize and validate all inputs to buildSystemPrompt to reject relative or absolute paths that could lead to unintended file inclusion.

Generated by OpenCVE AI on August 6, 2026 at 08:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 06 Aug 2026 07:30:00 +0000

Type Values Removed Values Added
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.
Title TinyAGI agents.ts buildSystemPrompt file inclusion
First Time appeared Tinyagi
Tinyagi tinyagi
Weaknesses CWE-73
CPEs cpe:2.3:a:tinyagi:tinyagi:*:*:*:*:*:*:*:*
Vendors & Products Tinyagi
Tinyagi tinyagi
References
Metrics cvssV2_0

{'score': 5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:N/A:N/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 5.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 6.9, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-08-06T07:15:08.949Z

Reserved: 2026-08-05T20:20:00.644Z

Link: CVE-2026-19011

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-06T08:30:17Z

Weaknesses
  • CWE-73

    External Control of File Name or Path