Skip to main content

ai-scanner CVE-2026-41512

| EUVDEUVD-2026-28599 CRITICAL
Code Injection (CWE-94)
2026-05-08 security-advisories@github.com
9.9
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain low-privilege credentials
  2. Delivery
    Send crafted API request to BrowserAutomation service
  3. Exploit
    Inject malicious JavaScript in Playwright parameters
  4. Install
    Trigger browser automation execution
  5. C2
    Execute arbitrary code in service context
  6. Execute
    Escape scope boundaries
  7. Impact
    Compromise host system

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Attacker must possess valid low-privilege authentication credentials to the ai-scanner service (PR:L indicates basic authenticated access sufficient). Exploitation targets ai-scanner deployments running versions 1.0.0 through 1.4.0 that expose the BrowserAutomation::PlaywrightService functionality via network-accessible interfaces (AV:N). No special configuration, non-default settings, or user interaction required beyond initial authentication - default installations are exploitable. Limiting factors: requires network reachability to ai-scanner service endpoints and valid authentication token or credentials, but once authenticated, exploitation is straightforward (AC:L) against any deployment using browser automation testing features.

Impact

Real-world risk is elevated despite requiring authentication (PR:L). The Critical CVSS 9.9 is justified by the combination of network accessibility (AV:N), low attack complexity (AC:L), no user interaction (UI:N), and scope change with full CIA impact. While authentication provides a partial barrier, low-privilege authenticated users or compromised service accounts could exploit this. EPSS data not provided - cannot assess current exploitation probability. No CISA KEV listing indicates no confirmed active exploitation at time of analysis. No public exploit code identified in available data. The severity is compounded by the product's role in AI safety scanning; compromise could subvert security testing infrastructure and mask malicious AI model behaviors. Priority should be HIGH for organizations using ai-scanner in production, especially if exposed to multiple authenticated users or integrated into CI/CD pipelines where service accounts might have access.

Exploit ScenarioDerived

An authenticated attacker with low-privilege credentials to the ai-scanner service crafts a malicious scanning request containing JavaScript injection payloads targeting the BrowserAutomation::PlaywrightService API. When the service processes the request and launches a Playwright browser instance, the injected code executes within the browser automation context with the privileges of the ai-scanner service. Due to scope change, the attacker escapes the browser sandbox or service container, gaining arbitrary code execution on the underlying host system, exfiltrating AI model testing data, or pivoting to adjacent infrastructure components in the AI development environment.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 08, 2026

Remote code execution in ai-scanner versions 1.0.0 through 1.4.0 allows authenticated attackers to inject and execute arbitrary JavaScript code via the BrowserAutomation::PlaywrightService component. The vulnerability has a Critical CVSS score of 9.9 with scope change, enabling cross-boundary compromise of confidentiality, integrity, and availability. Vendor-released patch available in version 1.4.1 as of April 13, 2026, with GitHub Security Advisory GHSA-r27j-xxgx-f5vr confirming the fix.

RemediationAI

Upgrade immediately to ai-scanner version 1.4.1 released April 13, 2026, which applies security hardening to the BrowserAutomation::PlaywrightService component per GitHub issue #16. Download from https://github.com/0din-ai/ai-scanner/releases/tag/v1.4.1 and verify release integrity before deployment. If immediate patching is not feasible, implement compensating controls: restrict network access to the ai-scanner service to trusted IP ranges only via firewall rules; enforce strong authentication with MFA for all service accounts; disable or restrict access to browser automation features if not required for current scanning operations (trade-off: reduced testing coverage for browser-based AI model interfaces); deploy the service in an isolated network segment with egress filtering to limit post-exploitation lateral movement; enable comprehensive audit logging for all BrowserAutomation service invocations to detect injection attempts. Review access logs for versions 1.0.0-1.4.0 for suspicious JavaScript patterns in automation parameters as potential IOCs.

Affected VersionsENISA

ai-scanner 1.0.0, < 1.4.1

Affected Packages

euvd ai_scanner_1_0_0 fix: 1.4.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in ai-scanner, an AI model safety scanning tool built on NVIDIA garak framework. The flaw is a CWE-94 code injection weakness in the BrowserAutomation::PlaywrightService module, which likely handles browser automation testing via Microsoft's Playwright framework. The service appears to improperly sanitize or validate JavaScript input before execution in browser contexts, allowing attackers to break out of intended execution boundaries. The CVSS scope change (S:C) indicates the vulnerable component can affect resources beyond its security scope, suggesting the Playwright service operates with elevated privileges or can access adjacent trust domains within the AI scanning infrastructure.

Know when 0Din Scanner gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 9.9 CRITICAL
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Primary rating from Vendor (github) · only source for this CVE.

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
May 08, 2026 - 15:02 EUVD
CVE Published
May 08, 2026 - 14:16 nvd
CRITICAL 9.9

DescriptionCVE.org

ai-scanner is an AI model safety scanner built on NVIDIA garak. From version 1.0.0 to before version 1.4.1, there is a remote code execution vulnerability via JavaScript injection in BrowserAutomation::PlaywrightService. This issue has been patched in version 1.4.1.

Executive ViewAI

Why It Matters

CVE-2026-41512 is a critical remote code execution vulnerability in ai-scanner versions 1.0.0-1.4.0 that allows authenticated users to execute arbitrary code, potentially compromising all systems running vulnerable versions. This affects any organization using ai-scanner for automated browser-based tasks, enabling attackers with valid credentials to gain complete control over affected systems and access sensitive data.

Business Impact: Severe
Compensating Controls

Vendor-released patch: version 1.4.1 (available as of April 13, 2026). Apply vendor patch immediately. Until patching is complete, restrict network access to ai-scanner instances to trusted internal networks only and enforce strict access controls on authenticated accounts with scanner permissions.

Threat Intelligence Overview

EPSS Score
0.2%
Top 54% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +50
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy