{"items":[{"id":"NVI-00016175","kind":"vulnerability","title":"npm PraisonAI utility shell safe-command wrapper allowlist bypass via shell chaining","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected.","NVD lastModified does not establish freshness of every associated CPE record."],"lifecycle":"active","identifiers":["GHSA-5jv7-2mjm-h6qj","CVE-2026-57133"],"plain_summary":"GitHub lists this reviewed advisory for praisonai. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-472d153fe88d5842fb73ee9e51bf5196"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-07-20T21:28:11.000Z","value":"8.8 high","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-3af0530669a223e22debc3fb670e404d"},{"kind":"CVSS","as_of":"2026-09-16T18:17:09.980Z","value":"8.8 HIGH (3.1)","meaning":"security-advisories@github.com severity; no combined Null risk score.","source_id":"sr-472d153fe88d5842fb73ee9e51bf5196"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-3af0530669a223e22debc3fb670e404d","url":"https://github.com/advisories/GHSA-5jv7-2mjm-h6qj","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-5jv7-2mjm-h6qj","publisher":"GitHub Advisory Database","observed_at":"2026-11-03T22:35:18.117Z"},{"id":"sr-472d153fe88d5842fb73ee9e51bf5196","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57133","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-57133","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-08T08:02:57.782Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-3af0530669a223e22debc3fb670e404d"],"technology":"praisonai","known_exclusions":[],"conditions_summary":"## Summary\n\nThe published npm package `praisonai` ships `dist/tools/utility-tools.js`, which exports a `shell(command)` helper described in source as:\n\n```text\nExecute shell command (safe version - read-only commands)\n```\n\nThe helper attempts to enforce a safe read-only command allowlist by checking only the first whitespace-delimited token:\n\n```ts\nconst safeCommands = ['ls', 'cat', 'head', 'tail', 'wc', 'grep', 'find', 'echo', 'date', 'pwd', 'which'];\nconst firstWord = command.split(/\\s+/)[0];\n\nif (!safeCommands.includes(firstWord)) {\n    return { success: false, error: `Command not allowed: ${firstWord}` };\n}\n```\n\nIt then passes the entire original string to Node `child_process.exec()`:\n\n```ts\nconst { stdout, stderr } = await execAsync(command, { timeout: 5000 });\n```\n\nBecause `exec()` runs the command through a shell, a command string that starts with an allowed command can append a second non-allowlisted command with shell metacharacters. For example, direct `printf ` is rejected, but `echo ok; printf ` is accepted and executes `printf`.\n\nThis bypasses the helper's safe-command policy and allows arbitrary shell commands to run with the PraisonAI process privileg","public_affected_ranges":[">= 1.5.1, <= 1.7.1"]}],"null_published_at":"2026-11-08T19:53:44.054Z","source_updated_at":"2026-07-20T21:28:11.000Z","source_disclosed_at":"2026-06-18T14:26:54.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Source facts changed; compare the preserved prior revision.","null_first_observed_at":"2026-11-03T22:35:18.117Z"},{"id":"NVI-00016175","kind":"vulnerability","title":"npm PraisonAI utility shell safe-command wrapper allowlist bypass via shell chaining","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-5jv7-2mjm-h6qj","CVE-2026-57133"],"plain_summary":"GitHub lists this reviewed advisory for praisonai. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-3af0530669a223e22debc3fb670e404d"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-07-20T21:28:11.000Z","value":"8.8 high","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-3af0530669a223e22debc3fb670e404d"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-3af0530669a223e22debc3fb670e404d","url":"https://github.com/advisories/GHSA-5jv7-2mjm-h6qj","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-5jv7-2mjm-h6qj","publisher":"GitHub Advisory Database","observed_at":"2026-11-03T22:35:18.117Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-3af0530669a223e22debc3fb670e404d"],"technology":"praisonai","known_exclusions":[],"conditions_summary":"## Summary\n\nThe published npm package `praisonai` ships `dist/tools/utility-tools.js`, which exports a `shell(command)` helper described in source as:\n\n```text\nExecute shell command (safe version - read-only commands)\n```\n\nThe helper attempts to enforce a safe read-only command allowlist by checking only the first whitespace-delimited token:\n\n```ts\nconst safeCommands = ['ls', 'cat', 'head', 'tail', 'wc', 'grep', 'find', 'echo', 'date', 'pwd', 'which'];\nconst firstWord = command.split(/\\s+/)[0];\n\nif (!safeCommands.includes(firstWord)) {\n    return { success: false, error: `Command not allowed: ${firstWord}` };\n}\n```\n\nIt then passes the entire original string to Node `child_process.exec()`:\n\n```ts\nconst { stdout, stderr } = await execAsync(command, { timeout: 5000 });\n```\n\nBecause `exec()` runs the command through a shell, a command string that starts with an allowed command can append a second non-allowlisted command with shell metacharacters. For example, direct `printf ` is rejected, but `echo ok; printf ` is accepted and executes `printf`.\n\nThis bypasses the helper's safe-command policy and allows arbitrary shell commands to run with the PraisonAI process privileg","public_affected_ranges":[">= 1.5.1, <= 1.7.1"]}],"null_published_at":"2026-11-04T10:04:27.902Z","source_updated_at":"2026-07-20T21:28:11.000Z","source_disclosed_at":"2026-06-18T14:26:54.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-11-03T22:35:18.117Z"}],"next_cursor":null,"snapshot_revision":"42594"}