CVE-2026-57119
Published:July 20, 2026
Updated:July 21, 2026
Summary An unauthenticated attacker can read arbitrary files on the server by supplying an absolute filesystem path in the "agent_file" field of the Jobs API. The field has no path validation, no allowlist, and no authentication is required to submit jobs. Details The "agent_file" field in "JobSubmitRequest" accepts any filesystem path with no validation: src/praisonai/praisonai/jobs/models.py:29 agent_file: Optional[str] = Field(None, description="Path to agents.yaml file") NO path validator, NO allowlist The executor reads the file directly: src/praisonai/praisonai/jobs/executor.py:221 agent_file = job.agent_file or "agents.yaml" passed directly to yaml.safe_load(open(agent_file)) Proof of Concept curl -X POST http://:8005/api/v1/runs -H "Content-Type: application/json" -d '{"prompt": "run", "agent_file": "/etc/passwd"}' Server responds with contents of "/etc/passwd". Other exploitable paths: - "/proc/1/environ" — environment variables, API keys - "/home//.ssh/id_rsa" — SSH private keys - "/app/.env" — application secrets Impact Any unauthenticated attacker with network access to port 8005 can read any file accessible to the server process, including credentials, private keys, and environment variables.
Affected Packages
praisonai (PYTHON):
Affected version(s) >=0.0.1 <4.6.59Fix Suggestion:
Update to version 4.6.59Related Resources (2)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')