Security Vulnerability Report
中文
CVE-2025-46291 CVSS 7.8 HIGH

CVE-2025-46291

Published: 2025-12-17 21:16:14
Last Modified: 2025-12-26 17:15:44

Description

A logic issue was addressed with improved validation. This issue is fixed in macOS Tahoe 26.2. An app may bypass Gatekeeper checks.

CVSS Details

CVSS Score
7.8
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:* - VULNERABLE
Apple macOS Tahoe 26.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-46291 PoC - macOS Gatekeeper Bypass // Note: This is a conceptual PoC for educational purposes only // Actual exploitation requires specific conditions and macOS Tahoe 26.2 #include <stdio.h> #include <stdlib.h> #include <string.h> // Simulated Gatekeeper bypass logic int validate_app_signature(char *app_bundle) { // Normal validation would check: // 1. Code signature validity // 2. Notarization ticket // 3. Entitlement flags // 4. Bundle structure integrity // Bypass condition: Logic flaw in validation // The validation checks signature but fails to verify // specific entitlement flags or notarization status properly if (check_code_signature(app_bundle) == 0) { // Logic bug: Returns success without full validation return 0; // Bypassed! } return -1; } int main(int argc, char *argv[]) { if (argc < 2) { printf("Usage: %s <malicious_app_bundle>\n", argv[0]); return 1; } char *malicious_app = argv[1]; printf("Attempting to bypass Gatekeeper for: %s\n", malicious_app); // Craft malicious app with specific structure // that triggers the logic validation flaw craft_malicious_bundle(malicious_app); // Attempt bypass if (validate_app_signature(malicious_app) == 0) { printf("[+] Gatekeeper bypass successful!\n"); printf("[+] Malicious app can now execute with full permissions\n"); execute_malicious_payload(malicious_app); } else { printf("[-] Bypass failed\n"); } return 0; } // Helper functions (simplified) int check_code_signature(char *bundle) { // Simulated signature check return 0; // Always returns valid for PoC } void craft_malicious_bundle(char *path) { // Create malicious app bundle with crafted signature } void execute_malicious_payload(char *app) { // Execute arbitrary code with user privileges }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-46291", "sourceIdentifier": "[email protected]", "published": "2025-12-17T21:16:14.287", "lastModified": "2025-12-26T17:15:43.640", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "A logic issue was addressed with improved validation. This issue is fixed in macOS Tahoe 26.2. An app may bypass Gatekeeper checks."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.9}, {"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N", "baseScore": 5.5, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "NVD-CWE-noinfo"}]}, {"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-693"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*", "versionEndExcluding": "26.2", "matchCriteriaId": "FBA92B6D-E36C-432B-A041-94D81427CD75"}]}]}], "references": [{"url": "https://support.apple.com/en-us/125886", "source": "[email protected]", "tags": ["Release Notes", "Vendor Advisory"]}]}}