Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
Back to intelligence
ai-platform-securitywidely-deployed-product-advisoryproof-of-concept-release

AI Agent Framework Flaws Turn Prompt Injection Into Code Execution and Persistence

Updated 2mo agoFirst seen Apr 23, 20262 sources

Microsoft disclosed two critical vulnerabilities in its Semantic Kernel AI agent framework that could let prompt injection escalate into host compromise. CVE-2026-26030 affected the Python implementation before version 1.39.4, where unsafe eval()-based lambda construction in the Search Plugin’s default In-Memory Vector Store filter path enabled remote code execution, while CVE-2026-25592 affected the .NET SDK before version 1.71.0 and allowed arbitrary file write through SessionsPythonPlugin’s DownloadFileAsync, creating a path to sandbox escape and host takeover; a related arbitrary file read issue was also present in upload handling. Microsoft said it hardened AST validation, restricted callable functions and attributes, removed unintended tool exposure, added path validation, and urged customers to patch and review endpoint telemetry for signs of exploitation.

The disclosure lands amid broader warnings that AI agents can preserve and amplify malicious instructions through memory and context reuse. Cisco researchers recently showed that poisoned memory files in Anthropic’s Claude Code could persist across projects and sessions, steering the assistant to insert hard-coded secrets, choose insecure packages and configurations, and spread tainted changes to another developer. Researchers and defenders say the incidents reinforce that AI models are not security boundaries and that any model-influenced tool parameter, memory file, or context artifact should be treated as attacker-controlled input, with mitigations including patching vulnerable frameworks, scanning memory and dependency files, and purging stored agent memory after suspected compromise.

Share:
AI Agent Framework Flaws Turn Prompt Injection Into Code Execution and Persistence
Stay ahead

Get ahead of threats like this

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.

EVENT TIMELINE

How this story unfolded

2 events from the most recent confirmed update back to the earliest known activity.

2 EVENTS
May 7, 20262mo ago

Microsoft discloses and patches two Semantic Kernel RCE flaws

Microsoft disclosed two critical vulnerabilities in its Semantic Kernel AI agent framework: CVE-2026-26030 in the Python implementation before version 1.39.4 and CVE-2026-25592 in the .NET SDK before version 1.71.0. The flaws enabled remote code execution and arbitrary file write/read scenarios that could lead to sandbox escape and host compromise, and Microsoft released fixes including stricter validation, reduced tool exposure, and path checks.

Apr 23, 20262mo ago

Cisco researchers disclose Claude Code memory poisoning issue

Cisco researchers reported that poisoned memory files in Anthropic's Claude Code could persist malicious instructions across projects and sessions, enabling behavior manipulation such as inserting secrets into code, choosing insecure packages, and propagating changes to another developer. Anthropic mitigated the issue, and the disclosure highlighted AI memory/context files as a broader systemic weakness.

LINKED ENTITIES

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

16 LINKEDOpen in app
Malware
1 linked
Affected products
5 linked
Claude CodeChatgptOpenclawClaudeCodex
Organizations
10 linked
Cisco SystemsPalo Alto NetworksRadwareAnthropicDark ReadingMeta PlatformsOpenaiSnykSentinelOneSentient AI
The operational view lives in Mallory

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t — which of your assets are affected, which threat actors are using it right now, which detections to deploy, and what to do next.
Exposure mapping

Map indicators from this story to your assets and identify affected systems in minutes.

Threat actor evidence

Every observed campaign, victim, and pivot linked to actors named in this story.

Associated malware

Malware, exploits, and IOCs connected to the activity described here.

Detection signatures

YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.

Scheduled alerts

Get matching new stories delivered to your team as they break — not the next morning.

AI threads

Ask questions about this story and take action on the answers.