← All advisories

CVE-2026-136185highBroken access control2026-11-24

CVE-2026-136185: Prismor's local API had no auth and wildcard CORS, so any web page a developer visited could silently wipe the AI coding agent security policy (fixed 1.57.0)

Prismor is an open-source runtime security layer for AI coding agents that watches and blocks risky tool calls (secret leaks, prompt injection, supply-chain installs). Up to 1.56.0 its local dashboard API on 127.0.0.1:7070 accepted unauthenticated PUT requests to /api/policy/global and /api/policy/project and answered every request, including CORS preflights, with Access-Control-Allow-Origin: *. A malicious web page opened while Prismor was running could overwrite ~/.prismor/policy.yaml, turning off the guardrails it enforces on Claude Code, Codex and other agents, and read session and event data. Fixed in 1.57.0.

01.

What it is

GHSA-9xjv-g2ch-rfhc (CWE-942), published 1 October 2026; CVE-2026-136185 published by NVD on 24 November 2026. Verified in source at tag 1.55.1: prismor/runtime/server.py do_PUT handlers had no auth check, and is_policy_editable() is documented in the code as a usability guard, not a security control.

Secondary issue: /api/policy/project took the workspace path from the JSON body with no containment check, so the page could create <any directory>/.prismor/policy.yaml with attacker-controlled YAML.

Affected: prismor (PyPI) <= 1.56.0. Fixed: 1.57.0 (released 1 October 2026).

02.

How to check

  1. Run pip show prismor: 1.56.0 or earlier is affected.
  2. Compare ~/.prismor/policy.yaml and project .prismor/policy.yaml files with what you configured; an emptied or loosened policy is the sign of this attack.
03.

How to fix

  1. Upgrade Prismor to 1.57.0 or later and restart its runtime server.
  2. Restore your global and project policies from a known-good copy and review agent sessions that ran while the policy may have been off.
  3. Treat any localhost dashboard for agent tooling as reachable from your browser: it needs auth and a strict Origin check.
pip show prismor | grep Version
ls -la ~/.prismor/policy.yaml && cat ~/.prismor/policy.yaml
04.

Sources

The weekly email

One email a week. Only what changed.

Every new security hole in AI coding tools, MCP servers, app builders and the stacks they generate (Next.js, Supabase, Node, PHP), each with how to check your app and the fix. No roundups of things you already read.

Free, one email a week. Read the latest issue first if you like. One-click unsubscribe in every email. We never sell or share addresses.