Exploit database

GH-eb93ae99d00a1006eea5c890de099cd2

horkimhab/cve-2026-85046

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-85046

3 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files8
horkimhab/cve-2026-85046Revision e54c9dfd86e4

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

CVE-2026-85046-fankh/run-tests.ps1

PowerShell · 2,084 bytes
# Test script for CVE-2026-85046
# Tests both vulnerable and patched applications

Write-Host "==========================================" -ForegroundColor Cyan
Write-Host "Testing CVE-2026-85046" -ForegroundColor Cyan
Write-Host "==========================================" -ForegroundColor Cyan

$VulnerableUrl = "http://localhost:8080"
$PatchedUrl = "http://localhost:8081"

# Wait for services to be ready
Write-Host "[*] Waiting for services to start..." -ForegroundColor Yellow
Start-Sleep -Seconds 5

# Health checks
Write-Host "[*] Checking service health..." -ForegroundColor Yellow
try {
    $null = Invoke-WebRequest -Uri "$VulnerableUrl/health" -UseBasicParsing -TimeoutSec 5
    Write-Host "[+] Vulnerable app is running" -ForegroundColor Green
} catch {
    Write-Host "[-] Vulnerable app not responding" -ForegroundColor Red
}

try {
    $null = Invoke-WebRequest -Uri "$PatchedUrl/health" -UseBasicParsing -TimeoutSec 5
    Write-Host "[+] Patched app is running" -ForegroundColor Green
} catch {
    Write-Host "[-] Patched app not responding" -ForegroundColor Red
}

Write-Host ""
Write-Host "==========================================" -ForegroundColor Cyan
Write-Host "Testing Vulnerable Application" -ForegroundColor Cyan
Write-Host "==========================================" -ForegroundColor Cyan

# Run PoC against vulnerable app
Write-Host "[*] Running PoC against vulnerable application..." -ForegroundColor Yellow
python poc.py --target $VulnerableUrl

Write-Host ""
Write-Host "==========================================" -ForegroundColor Cyan
Write-Host "Testing Patched Application" -ForegroundColor Cyan
Write-Host "==========================================" -ForegroundColor Cyan

# Run PoC against patched app
Write-Host "[*] Running PoC against patched application..." -ForegroundColor Yellow
python poc.py --target $PatchedUrl

Write-Host ""
Write-Host "==========================================" -ForegroundColor Cyan
Write-Host "Test Complete" -ForegroundColor Cyan
Write-Host "==========================================" -ForegroundColor Cyan