What happened
Prismor before 1.57.0 contains a wildcard CORS misconfiguration and missing authentication in its local HTTP API, allowing remote attackers to overwrite security policies via cross-origin requests. An attacker can lure a developer to a malicious page that PUTs to /api/policy/global or /api/policy/project, disabling AI-agent guardrails and reading session/event data (reported through vulncheck; published 2026-11-24; fixed in 1.57.0).
Why it matters
The affected component is precisely the security-control layer of an AI agent — the guardrails that gate prompt-injection and tool abuse. Cross-origin overwrite of those policies lets an attacker disable the agent's own defenses and then drive the agent, turning the security tool into an attack vector.
Attack vector
A wildcard CORS misconfiguration combined with missing authentication on the local HTTP API lets a remote attacker lure a developer to a malicious page that sends PUT requests to /api/policy/global or /api/policy/project, disabling AI-agent guardrails and reading session and event data (CWE-942; CVSS 4.0 7.1).
Affected systems
PrismorSec prismor < 1.57.0
Mitigation
Upgrade to Prismor 1.57.0 or later. Advisory: https://github.com/PrismorSec/prismor/security/advisories/GHSA-9xjv-g2ch-rfhc