PT-2026-30767 · Praisonai · Praisonai

R1Zzg0D

·

Published

2026-04-06

·

Updated

2026-04-07

·

CVE-2026-39308

CVSS v3.1

7.1

High

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
Name of the Vulnerable Software and Affected Versions PraisonAI versions prior to 1.5.113
Description PraisonAI's recipe registry publish endpoint is susceptible to a path traversal issue. Prior to version 1.5.113, the endpoint writes uploaded recipe bundles to a filesystem path derived from the bundle's manifest.json file before validating the manifest's name and version against the HTTP route. A malicious publisher can exploit this by including ../ traversal sequences within the bundle manifest, potentially causing the registry server to create files outside the configured registry root. Although the request is ultimately rejected with an HTTP 400 error, the unauthorized file write persists on disk. This impacts deployments exposing the recipe registry publish flow, and is exploitable by any network client if the registry runs without a token, or by any user with publish access if a token is configured.
Recommendations Validate the manifest.json name and version before any filesystem operation. Reject path separators, .., absolute paths, and any value that fails the existing validate name() / validate version() checks. Resolve the final destination path and ensure it remains within the configured registry root before creating directories or copying files. Move the URL-to-manifest consistency check before calling the publish function, or refactor the publish function to receive already-validated route parameters.

Exploit

Fix

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-39308
GHSA-R9X3-WX45-2V7F

Affected Products

Praisonai